platform_build_soong/scripts
Martin Stjernholm 7e148881d0 Remove use of fake soong.variables.
Use the --soong-only flag instead to create it the proper way with the
config make step. This fixes build problems arising from the incomplete
soong.variables settings.

This partially relands https://r.android.com/1535202 so that we'll use
TARGET_PRODUCT=mainline_sdk in module SDK builds everywhere.
build-aml-prebuilts.sh isn't removed completely because we still need
the special case to create build_number.txt.

Cherry-picked from https://r.android.com/1729335.

Test: art/build/build-art-module.sh --skip-apex && \
      packages/modules/ArtPrebuilt/update-art-module-prebuilts.py \
        --local-dist out/dist
  then check that the created prebuilt dex2oatd64 runs with the repro
  in b/190194345
Test: build/soong/scripts/build-mainline-modules.sh
  then
      prebuilts/runtime/mainline/update.py --local-dist .../out/dist
  in a master-art tree and check that art/build/build-art-module.sh
  works there
Bug: 190194345
Bug: 174315599
Change-Id: I86327b082b61c292f18c0a6b315d9add08002832
Merged-In: I86327b082b61c292f18c0a6b315d9add08002832
2021-06-08 16:33:06 +01:00
..
check_boot_jars Switch boot jars package check to use dexdump xml output 2020-11-16 17:46:16 +00:00
hiddenapi Validate monolithic and modular hidden API flags are consistent 2021-05-14 01:49:19 +01:00
Android.bp Move conv_classpaths.proto to packages/modules/common. 2021-05-10 13:14:23 +01:00
archive_repack.sh Repack libgcc.a to only include required objects 2019-10-24 16:34:54 -07:00
build-aml-prebuilts.sh Remove use of fake soong.variables. 2021-06-08 16:33:06 +01:00
build-mainline-modules.sh Remove use of fake soong.variables. 2021-06-08 16:33:06 +01:00
build-ndk-prebuilts.sh Remove draft API support. 2021-04-13 15:55:47 -07:00
build_broken_logs.go Update build_broken_logs script 2020-01-29 10:50:41 -08:00
check_do_not_merge.sh Disallow using error-prone merge strategies 2021-02-19 13:05:54 +00:00
construct_context.py Allow modules that don't run verify_uses_libraries to have nonempty CLC. 2021-03-22 10:49:31 +00:00
construct_context_test.py Move part of logic from construct_context.py to Soong. 2020-10-27 17:05:30 +00:00
conv_linker_config.py Add 'merge' command to conv_linker_config 2021-04-15 10:58:21 +09: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 java_sdk_library: Allow api dir to be specified 2020-01-02 15:38:42 +00:00
gen-kotlin-build-file.py Move gen-kotlin-build-file.sh to python 2020-06-26 22:41:34 -07:00
gen-sysprop-api-files.sh Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
gen_ndk_backedby_apex.sh Pass list of module libraries to gen_ndk_backed_by_apex.sh 2021-02-08 16:52:07 -08:00
gen_ndk_usedby_apex.sh NDK API coverage 2021-03-25 22:12:04 +00:00
gen_sorted_bss_symbols.sh Move gen_sorted_bss_symbols.sh to use LLVM binutils 2021-03-31 17:13:43 +08:00
generate-notice-files.py Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08: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 Output json without trailing whitespaces but with trailing newlines. 2020-02-24 22:20:49 +00:00
lint_project_xml.py Fix minor issues in updatability lint CLs. 2021-04-22 13:40:41 -07:00
lint_project_xml_test.py Add lint_project_xml_test.py 2021-04-20 11:04:51 -07:00
manifest.py Optionally overwrite package value in test config. 2019-12-05 11:17:09 -08:00
manifest_check.py Emit a better error message in manifest_check.py. 2021-03-31 14:31:49 +01:00
manifest_check_test.py Emit a better error message in manifest_check.py. 2021-03-31 14:31:49 +01:00
manifest_fixer.py manifest_fixer: Set targetSdkVersion to '16' for libraries 2021-01-14 14:11:39 -06:00
manifest_fixer_test.py manifest_fixer: Set targetSdkVersion to '16' for libraries 2021-01-14 14:11:39 -06:00
mergenotice.py Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08:00
microfactory.bash Add a unified status reporting UI 2018-07-12 14:15:31 -07:00
ninja_rsp.py Move gen-kotlin-build-file.sh to python 2020-06-26 22:41:34 -07:00
OWNERS NDK API coverage 2021-03-29 20:29:35 +00:00
package-check.sh Ensure package check is run for java_library in APEX 2020-05-28 15:06:35 +01:00
reverse-deps.sh Scripts to evaluate dependency transitive closures. 2020-03-10 21:53:39 +00:00
rustfmt.toml Add standard rustfmt.toml 2020-06-22 13:34:59 +02:00
setup-android-build.sh Script to set up android build directory 2020-01-30 19:18:54 -08: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 Use create_minidebuginfo tool instead of bash script. 2021-05-01 00:06:07 +01: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 Overwrite test-file-name in test config. 2020-01-17 06:08:12 -08:00
test_config_fixer_test.py Overwrite test-file-name in test config. 2020-01-17 06:08:12 -08:00
toc.sh Fix toc.sh, llvm-nm does not recognise '-f P' option 2021-04-03 03:21:24 +08:00
transitive-deps.sh Minor tweaks to usage message. 2020-06-24 08:18:15 -07:00
unpack-prebuilt-apex.sh Export dex implementation jars from prebuilt_apex 2021-01-15 18:14:10 +00:00