c1ecc43aec
prebuilts. This runs Soong in skip-make mode, using normal in-make mode only to query platform versions. The same ${OUT_DIR} cannot be used for both skip-make and in-make builds, because Soong generates a smaller build.ninja file in in-make builds where many build targets are expected to be provided by the mk files. Thus this script avoids using ${OUT_DIR} if it's an in-make build, defaulting instead to out-aml/. The script is based on build-ndk-prebuilts.sh, but uses a separate Soong variable Aml_abis to enable the appropriate target architectures for Mainline modules. Aml_abis is very similar to Ndk_abis, except "armeabi-v7a" is used instead of "armeabi", which is necessary to match prebuilt dependencies, e.g. for LLVM. Test: build/soong/scripts/build-aml-prebuilts.sh libart libdexfile_external (verify that libraries for arm, arm64, x86, x86_64 are built) Test: build/soong/scripts/build-aml-prebuilts.sh \ out-aml/soong/.intermediates/external/conscrypt/conscrypt-module-sdk/android_common/conscrypt-module-sdk-current.zip (verify that the zip file contains libconscrypt_jni.so's for all four arches) Test: build/soong/scripts/build-aml-prebuilts.sh com.android.art.{release,debug,testing,host} (verify that the build completes) Test: Two identical build/soong/scripts/build-aml-prebuilts.sh runs after each other (verify that the 2nd run completes both Soong and ninja steps quickly without any building) Change-Id: I35712f9f8f0b1cbb77107314c5927c6720e6c3bf |
||
---|---|---|
.. | ||
Android.bp | ||
archive_repack.sh | ||
build-aml-prebuilts.sh | ||
build-ndk-prebuilts.sh | ||
build_broken_logs.go | ||
diff_build_graphs.sh | ||
freeze-sysprop-api-files.sh | ||
gen-java-current-api-files.sh | ||
gen-kotlin-build-file.sh | ||
gen-sysprop-api-files.sh | ||
gen_sorted_bss_symbols.sh | ||
jar-args.sh | ||
jar-wrapper.sh | ||
jars-to-module-info-java.sh | ||
jsonmodify.py | ||
manifest.py | ||
manifest_check.py | ||
manifest_check_test.py | ||
manifest_fixer.py | ||
manifest_fixer_test.py | ||
mergenotice.py | ||
microfactory.bash | ||
OWNERS | ||
package-check.sh | ||
setup_go_workspace_for_soong.sh | ||
strip.sh | ||
system-clang-format | ||
system-clang-format-2 | ||
test_config_fixer.py | ||
test_config_fixer_test.py | ||
TEST_MAPPING | ||
toc.sh |