Add Kotlin/Native Tizen target support#5765
Open
rookiejava wants to merge 9 commits intoJetBrains:masterfrom
Open
Add Kotlin/Native Tizen target support#5765rookiejava wants to merge 9 commits intoJetBrains:masterfrom
rookiejava wants to merge 9 commits intoJetBrains:masterfrom
Conversation
Code Owners
|
e9f8c87 to
2bd648f
Compare
2bd648f to
90db383
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds initial Kotlin/Native Tizen target support across the Native target model, Kotlin Gradle Plugin APIs, and related target wiring.
Added targets:
tizen_arm32tizen_arm64tizen_x64Related Issue
https://youtrack.jetbrains.com/issue/KT-85249/Add-Kotlin-Native-Tizen-target-support
What Was Added
Native target model and configuration
KonanTargetkonan.propertiesHostManagerGradle plugin and public API wiring
Verification-related updates
Commit Breakdown
tizen_arm32,tizen_arm64, andtizen_x64in the Kotlin/Native target model.konan.propertiesconfiguration for Tizen toolchains, sysroots, and linker settings.tizenMainandtizenTestsource set conventions for shared code across Tizen targets.Modified Areas
Primary files and why they changed:
native/utils/src/org/jetbrains/kotlin/konan/target/KonanTarget.ktnative/utils/src/org/jetbrains/kotlin/konan/target/HostManager.ktkotlin-native/konan/konan.propertiestizenMainandtizenTestcommon source set conventions.Local Verification
The following verifications were performed locally:
./gradlew compileKotlin— ✅ BUILD SUCCESSFULwhen()branches for Tizen targets detectedKnown Limitation
End-to-end verification is currently constrained by bootstrap artifact usage in local development.
During local verification, Kotlin/Native build logic still resolved
HostManagerfrom the bootstrap artifact:org.jetbrains.kotlin:kotlin-native-utils:2.4.0-dev-5318Because of that bootstrap jar constraint, full end-to-end validation of Tizen target task registration and sample linking requires JetBrains CI or bootstrap-aligned internal infrastructure.
TODO
https://download.jetbrains.com/kotlin/native/~/tizen-studio/tools/~/.tizen-extension-platform/server/sdktools/data/tools/arm-linux-gnueabi-gcc-14.2/arm-tizen-linux-gnueabi(fortizen_arm32)aarch64-linux-gnu-gcc-14.2/aarch64-tizen-linux-gnu(fortizen_arm64)x86_64-linux-gnu-gcc-14.2/x86_64-tizen-linux-gnu(fortizen_x64)in
konan.propertieswith the actual artifact nameskonan.propertieslocal candidate pattern for contributors using a local Tizen SDK