platform_build_soong/java
Jiyong Park 87788b5247 Don't assume host arch is always x86
This change fixes some places where host arch is assumed to be x86 to
form a path element like linux-x86. In preparation for non-x86 host
targets, the host arch part is derived from the context.

In addition, InstallForceOS() is refactored so that it can override not
only OsType, but also ArchType. Without this, the paths for the
robolectic modules will be changed from linux-x86 to linux-common, which
breaks several other places where the old paths are expected.

Bug: 134795810
Test: m
Change-Id: Ib38c715948ae546e55021ece82bac1d82e9e5da0
2020-09-08 15:12:10 +09:00
..
config Merge "Make the default exec strategy for javac/r8/d8 remote local fallback." 2020-08-18 00:54:03 +00:00
aapt2.go Add rules to handle asset resources. 2020-01-16 12:19:49 -08:00
aar.go Allow non-SDK Java libraries to masquerade as <uses-library>. 2020-09-01 17:45:39 +01:00
Android.bp Add data_native_bins property to java_test_host 2020-07-27 09:14:06 -07:00
android_manifest.go Iterate <uses-library> in deterministic order in manifest_fixer. 2020-09-03 15:52:01 +01:00
android_resources.go Separate device and product overlays 2019-03-21 11:25:46 +00:00
androidmk.go Revert "Remove create_stubs and checkapi from droiddoc" 2020-09-01 17:58:01 +00:00
androidmk_test.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
app.go Allow non-SDK Java libraries to masquerade as <uses-library>. 2020-09-01 17:45:39 +01:00
app_builder.go Add support for remote-execution / caching of jar/zip actions 2020-05-28 11:56:48 -07:00
app_test.go Merge "Propagate transitive SDK Java library dependencies to dexpreopt." 2020-08-28 09:36:13 +00:00
builder.go Output apkcerts file for android_app_set. 2020-07-01 10:03:09 -07:00
device_host_converter.go Collect paths to transitive SDK Java library dependencies. 2020-08-19 13:51:21 +01:00
device_host_converter_test.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
dex.go Capture list of unused methods when shrinking in R8 2020-08-19 11:19:14 -07:00
dexpreopt.go Only look for profiles when we have a profile dir 2020-06-24 16:33:31 -07:00
dexpreopt_bootjars.go Reland: Deduplicate APEX variants that would build identically 2020-08-19 10:21:17 -07:00
dexpreopt_bootjars_test.go Add structured representation for colon-separated jar lists. 2020-08-05 09:59:30 +01:00
dexpreopt_config.go Add structured representation for colon-separated jar lists. 2020-08-05 09:59:30 +01:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Revert "Remove create_stubs and checkapi from droiddoc" 2020-09-01 17:58:01 +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 Rename class2greylist 2020-08-13 17:33:14 +01:00
hiddenapi_singleton.go Rename hiddenapi csv artifact 2020-08-10 17:23:52 +01:00
jacoco.go Use a default exclude filter for JaCoCo in Soong. 2020-06-25 16:45:44 +00:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Merge "Allow non-SDK Java libraries to masquerade as <uses-library>." 2020-09-07 09:49:07 +00:00
java_resources.go Track sources for srcjars across modules 2019-05-06 14:22:26 -07:00
java_test.go Merge "Add compile_dex for java_import" 2020-09-02 01:23:54 +00:00
jdeps.go Add soong cc and java deps to general-tests dist 2020-07-06 16:19:56 -07:00
jdeps_test.go jarjar_rules: accept file-group 2019-01-23 18:05:18 +00:00
kotlin.go Support kotlin multiplatform sources 2020-07-06 17:58:09 -07:00
kotlin_test.go Repeat kapt processor argument for multiple processors 2020-04-22 20:43:37 -07:00
legacy_core_platform_api_usage.go Add SettingsRoboTests to the allow-list for legacy core/platform API. 2020-07-23 12:34:07 +01:00
lint.go Support ninja rsp files in soong_zip 2020-08-19 21:18:56 +00:00
lint_defaults.txt Add support for running Android lint on java and android modules. 2020-06-16 15:44:16 -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 Consolidate adding common java properties 2020-06-15 18:16:10 -07:00
plugin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
prebuilt_apis.go Add imports_compile_dex to prebuilt_apis 2020-09-02 09:27:35 -07:00
proto.go Default to compiling lite protos 2019-10-26 20:35:13 +00:00
robolectric.go Don't assume host arch is always x86 2020-09-08 15:12:10 +09:00
sdk.go Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES 2020-08-27 23:09:54 +09:00
sdk_library.go Merge "Change sdk_library child visibility semantics" 2020-09-02 14:13:49 +00:00
sdk_test.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00: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 Remove old SdkMemberType API for creating snapshot modules 2020-03-23 08:48:03 +00:00
testing.go Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES 2020-08-27 23:09:54 +09:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00