RFR: 8255240: Mobile builds need to exclude some modules [v4]

Johan Vos jvos at openjdk.org
Sun Apr 14 07:09:17 UTC 2024


> This PR enables to build the static libs for ios/android for the native code in most of the modules. 
> It also adds GA scripts to build those libs on Android and iOS.
> Note that building hotspot is disabled by this PR.

Johan Vos has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains ten commits:

 - Merge branch 'master' into staticlibs
 - re-enable gensrc for X11 on Android
   fix whitespace issue
 - Process reviewer comments
 - Merge branch 'master' into staticlibs
 - When building for ios, deal with non-supported @objectfilenames (similar to macos and aix)
 - Merge branch 'master' into minimal-android-23
   Fix conflict related to major changes in NativeCompilation.gmk
 - Add android workflow (#2)
   
   * Add android build
   
   * fix env variable use
   
   * fix condition
   
   * update conf and build for android
   
   * add config name
   
   * remove build jdk
   
   * update id
   
   * fix command
   
   * add ls to debug
   
   * fix build command
   
   * update conf name
   
   * update directory name
   
   * remove ${{ }} to fix condition
   
   * do not remove bundle for android
   
   * add debug
   
   * add debug
   
   * do not build debug
   
   * s/x64/aarch64
   
   * add debug logs
   
   * fix condition
   
   * create only release
   
   * build on push
   
   * add ios build
   
   * fix platform name
   
   * download cups from source
   
   * fix command
   
   * skip running make for product-bundles and test-bundles
   
   * update upload to support ios static
 - Add required ios changes for building static libs.
   Add sample configure script for ios
 - Changes required to build static libs for Android with JDK 23-ea

-------------

Changes: https://git.openjdk.org/mobile/pull/20/files
  Webrev: https://webrevs.openjdk.org/?repo=mobile&pr=20&range=03
  Stats: 426 lines in 17 files changed: 347 ins; 2 del; 77 mod
  Patch: https://git.openjdk.org/mobile/pull/20.diff
  Fetch: git fetch https://git.openjdk.org/mobile.git pull/20/head:pull/20

PR: https://git.openjdk.org/mobile/pull/20


More information about the mobile-dev mailing list