Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement kotlinx-datetime for the Android native targets #344

Merged
merged 3 commits into from
Mar 1, 2024

Commits on Mar 1, 2024

  1. Implement kotlinx-datetime for the Android native targets

    To test, run an Android emulator, and then, in the command line,
    ./gradlew androidNativeArm64TestBinaries && adb push core/build/bin/androidNativeArm64/debugTest/test.kexe /data/local/tmp/ && adb shell /data/local/tmp/test.kexe
    
    Change `Arm64` to another platfom (`X86`, `X64`, or `Arm32`)
    as needed.
    dkhalanskyjb committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    46b9c59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94bbfb4 View commit details
    Browse the repository at this point in the history
  3. Fix compilation of metadata

    For some reason, even though the code itself compiles and works,
    metadata couldn't compile. This is fixed by more carefully
    separating which code is compiled for each target, so unneeded
    code doesn't get included in the Native Android implementation.
    dkhalanskyjb committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    972ee00 View commit details
    Browse the repository at this point in the history