Update target platform when creating jdk image

With this change, we are able to create jdk image with Jdk 21+ because
Jdk 21 introduces a format requirement for target platform and we cannot
use "android" anymore.

Note the value of target platform doesn't matter to us, we just choose a
closest one to replace "android".

Bug: 294137077
Test: existing for Jdk 17 + manually for Jdk 21
Change-Id: I7f9faedeaeea0ae802d9a33930df116152ff2748
2 files changed
tree: 4239a7913c30327eeef7dbcb0db94500d091f56a
  1. .idea/
  2. adb-proxy/
  3. adblib/
  4. adblib-ddmlibcompatibility/
  5. adblib-tools/
  6. annotations/
  7. apkparser/
  8. app-inspection/
  9. apps/
  10. aspects_agent/
  11. bazel/
  12. build-analyzer/
  13. build-system/
  14. chunkio/
  15. chunkio-processor/
  16. common/
  17. ddmlib/
  18. debugger-tests/
  19. debuggers/
  20. declarative-gradle/
  21. deploy/
  22. device-provisioner/
  23. device_validator/
  24. draw9patch/
  25. dynamic-layout-inspector/
  26. echo-sample/
  27. emulator/
  28. external-annotations/
  29. fakeadbserver/
  30. fakeandroid/
  31. firebase/
  32. flags/
  33. game-tools/
  34. gmaven/
  35. intellij-native/
  36. jaxb-inheritance-plugin/
  37. jdwp-packet/
  38. jdwp-scache/
  39. jdwp-tracer/
  40. jobb/
  41. kotlin-multiplatform-models/
  42. layoutlib-api/
  43. layoutlib-extensions/
  44. legacy/
  45. lint/
  46. manifest-parser/
  47. misc/
  48. mlkit-common/
  49. multipreview-asm/
  50. ninepatch/
  51. perf-logger/
  52. perflib/
  53. pixelprobe/
  54. previewlib/
  55. process-monitor/
  56. profgen/
  57. profiler/
  58. repository/
  59. resource-repository/
  60. sdk-common/
  61. sdklib/
  62. signflinger/
  63. studio-grpc-testutils/
  64. testing-infrastructure/
  65. testutils/
  66. third_party/
  67. threading-agent/
  68. threading-agent-callback/
  69. tracer/
  70. transport/
  71. usb-devices/
  72. utp/
  73. vector-drawable-tool/
  74. wizard/
  75. yourkit-controller/
  76. zipflinger/
  77. .editorconfig
  78. .gitignore
  79. adt.iml
  80. BUILD.bazel
  81. contributing.md
  82. navbar.md
  83. PREUPLOAD.cfg
  84. README.md
  85. source.md
  86. studio.md
README.md

tools/base

This project contains:

  • Common libraries that are shared between any of the IDE (Android Studio), the build system (The Android Gradle Plugin) and SDK components that will be released from studio-main (e.g. the standalone SDK manager). This includes:
    • Instant-run-libraries
    • SDK management libraries
    • The manifest merger
    • Common libraries
    • Common test utilites
  • The build system
  • The new profiler