platform_build_soong/scripts
Martin Stjernholm c1ecc43aec Add script for building all target arch's needed in AML (Android Mainline)
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
2019-12-20 11:53:21 +00:00
..
Android.bp Optionally overwrite package value in test config. 2019-12-05 11:17:09 -08:00
OWNERS Move system-clang-format to a central location. 2019-01-22 13:27:45 -08:00
TEST_MAPPING Add manifest_check tool 2019-05-24 13:43:27 -07:00
archive_repack.sh Repack libgcc.a to only include required objects 2019-10-24 16:34:54 -07:00
build-aml-prebuilts.sh Add script for building all target arch's needed in AML (Android Mainline) 2019-12-20 11:53:21 +00:00
build-ndk-prebuilts.sh Fix some typos in Soong. 2019-11-13 10:46:49 +00:00
build_broken_logs.go Remove BUILD_BROKEN_ANDROIDMK_EXPORTS 2019-05-25 17:13:55 -07:00
diff_build_graphs.sh Have diff_build_graphs.sh print the number of lines in the diff 2017-11-29 12:54:43 -08:00
freeze-sysprop-api-files.sh Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
gen-java-current-api-files.sh Refine error messages in case of missing api files 2019-03-20 15:33:06 +09:00
gen-kotlin-build-file.sh Don't hide *.kotlin_module in turbine dependencies 2019-05-08 14:30:12 -07:00
gen-sysprop-api-files.sh Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
gen_sorted_bss_symbols.sh Add sort_bss_symbols_by_size property for shared libs 2019-07-29 13:25:55 -07:00
jar-args.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
jar-wrapper.sh Allow jar wrapper to take quoted arguments 2019-07-16 11:12:04 -07:00
jars-to-module-info-java.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
jsonmodify.py Add jsonmodify tool 2019-08-02 00:08:05 +09:00
manifest.py Optionally overwrite package value in test config. 2019-12-05 11:17:09 -08:00
manifest_check.py Add manifest_check tool 2019-05-24 13:43:27 -07:00
manifest_check_test.py Add manifest_check tool 2019-05-24 13:43:27 -07:00
manifest_fixer.py Touch up manifest if there's no source code. 2019-06-03 10:51:42 -07:00
manifest_fixer_test.py Touch up manifest if there's no source code. 2019-06-03 10:51:42 -07:00
mergenotice.py Notice support for APEX 2019-03-21 08:05:50 +09:00
microfactory.bash Add a unified status reporting UI 2018-07-12 14:15:31 -07:00
package-check.sh Check package restrictions for Java libs. 2019-04-08 14:02:14 +01:00
setup_go_workspace_for_soong.sh Add robolectric-shadows to setup_go_workspace_for_soong.sh 2019-04-08 05:46:07 +00:00
strip.sh Revert "Create libgcc_stripped with llvm-objcopy" 2019-10-15 16:43:12 -07:00
system-clang-format system-clang-format: Add Standard: Cpp11 2019-07-10 15:04:04 -07:00
system-clang-format-2 system-clang-format: Add Standard: Cpp11 2019-07-10 15:04:04 -07:00
test_config_fixer.py Optionally overwrite package value in test config. 2019-12-05 11:17:09 -08:00
test_config_fixer_test.py Optionally overwrite package value in test config. 2019-12-05 11:17:09 -08:00
toc.sh Enable toc support for Darwin and Windows 2018-09-10 23:12:11 -07:00