platform_build_soong/java
Martin Stjernholm 6d415273c0 Do all dexpreoptDisabled checks before registering a dex2oat host dep.
Also disable dexpreopting for host. These are necessary to avoid adding
dependencies on dex2oat in various non-platform builds where they will
break.

Since we cannot assume at least one module enables dexpreopting now,
the two dexpreopt singletons are silently disabled if there has been no
call to dexpreopt.GetGlobalSoongConfig.

Bug: 145934348
Bug: 148312086
Bug: 148319588
Bug: 148690468
Test: m
Test: env OUT_DIR=out-tools prebuilts/build-tools/build-prebuilts.sh
  on the aosp-build-tools branch
Test: build/soong/soong_ui.bash --make-mode static_sdk_tools dist DIST_DIR=out-dist BUILD_HOST_static=1
  on internal (cf b/148312086#comment8)
Test: build/soong/soong_ui.bash --make-mode dist DIST_DIR=out-apps TARGET_BUILD_APPS=Launcher3 TARGET_BUILD_VARIANT=userdebug
  on internal without art/ and external/vixl/ (cf b/148319588)
Change-Id: I240dade7204b87fc2d12181534ab23439eca8b46
2020-02-13 17:46:48 +00:00
..
config Add support for experimentally enabling RBE support on specific rules. 2020-01-28 12:42:47 -05:00
aapt2.go Add rules to handle asset resources. 2020-01-16 12:19:49 -08:00
aar.go Merge "Add rules to handle asset resources." 2020-02-05 22:24:39 +00:00
android_manifest.go Abstract sdk_version string using sdkSpec type 2020-01-25 21:56:43 +09:00
android_resources.go Separate device and product overlays 2019-03-21 11:25:46 +00:00
androidmk.go Export the cert path for runtime_resource_overlay. 2020-01-31 10:39:40 -08:00
androidmk_test.go AndroidMk for the hostdex library has separate AndroidMkEntries 2019-12-11 17:27:07 +09:00
app.go Do all dexpreoptDisabled checks before registering a dex2oat host dep. 2020-02-13 17:46:48 +00:00
app_builder.go Reland "Also package recursive jni_libs deps of android_apps as well as direct deps." with bug fix. 2019-12-17 16:55:20 -08:00
app_test.go Merge "Add rules to handle asset resources." 2020-02-05 22:24:39 +00:00
builder.go Add support for experimentally enabling RBE support on specific rules. 2020-01-28 12:42:47 -05:00
device_host_converter.go jacoco correctly gathers info from APK-in-APEX 2020-01-08 14:49:31 +09:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Merge "Add support for experimentally enabling RBE support on specific rules." 2020-01-28 19:49:05 +00:00
dexpreopt.go Do all dexpreoptDisabled checks before registering a dex2oat host dep. 2020-02-13 17:46:48 +00:00
dexpreopt_bootjars.go Do all dexpreoptDisabled checks before registering a dex2oat host dep. 2020-02-13 17:46:48 +00:00
dexpreopt_bootjars_test.go Reland: Move the Once cache for dexpreopt.GlobalConfig into the 2020-02-13 17:46:48 +00:00
dexpreopt_config.go Reland: Move the Once cache for dexpreopt.GlobalConfig into the 2020-02-13 17:46:48 +00:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Fix sdk aidl include for droiddoc 2020-02-08 20:37:07 +00:00
gen.go Shard aidl compiles into srcjars 2019-10-04 14:00:36 -07:00
genrule.go Dedup java genrule module type registration 2019-12-19 19:19:40 +00:00
hiddenapi.go Improve hiddenapi processing so it does not require white list 2019-02-28 16:13:20 +00:00
hiddenapi_singleton.go Use merge_csv python_binary. 2020-01-20 17:59:02 +00:00
jacoco.go Tune JVM, print full diagnostics on crash. 2019-06-11 13:30:13 -07:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Do all dexpreoptDisabled checks before registering a dex2oat host dep. 2020-02-13 17:46:48 +00:00
java_resources.go Track sources for srcjars across modules 2019-05-06 14:22:26 -07:00
java_test.go Reland: Get the dex2oat host tool path from module dependency on the 2020-02-13 17:46:48 +00:00
jdeps.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Add support for experimentally enabling RBE support on specific rules. 2020-01-28 12:42:47 -05:00
kotlin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
OWNERS Add ART folks to owner of dexpreopt related file. 2019-04-30 15:33:49 +01:00
platform_compat_config.go Add support for compat config in APEX. 2020-02-05 13:33:50 +00:00
plugin.go Replace annotation_processors with plugins 2019-01-23 20:17:51 +00:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Dedup prebuilt apis module type/mutator registration 2019-12-19 19:19:40 +00:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
sdk.go sdk_version: "module_current" is supported 2020-01-31 23:01:34 +09:00
sdk_library.go java_sdk_library - replace .docs suffix with .stubs.source 2020-02-11 13:11:28 +00:00
sdk_test.go sdk_version: "module_current" is supported 2020-01-31 23:01:34 +09:00
support_libraries.go Allow other module types in androidx 2019-07-22 13:18:48 -07:00
sysprop.go Create public stub for platform's sysprop_library 2019-12-19 09:35:23 +09:00
system_modules.go Add java_system_modules to sdk/module_exports 2020-02-07 14:03:03 +00:00
testing.go Merge "sdk_version: "module_current" is supported" 2020-02-06 03:50:43 +00:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00