platform_build_soong/java
Colin Cross 8b8bec3b3a Create a highmem pool and put metalava into it
Create a highmem pool based on the total RAM and the number of CPUs,
with an override via the NINJA_HIGHMEM_NUM_JOBS variable.  Put
metalava into the highmem pool.

Ninja does not support nested pools, and when goma or RBE is enabled
the maximum ninja parallelism is set very high with local jobs in a
local pool.  When both the local pool and highmem pool are enabled,
the total number of local jobs will be as high as the sum of the sizes
of the two pools.  Keep the highmem pool limited to 1/16th of the
local pool when remote builds are enabled to try to minimize the
effect while still limiting highmem jobs.

Fixes: 142644983
Test: m nothing, examine pools
Test: m USE_GOMA=true nothing, examine pools
Change-Id: Id79f11f44948992960ac34ecf831dacbe21bd332
2020-01-24 11:44:23 -08:00
..
config Add framework-sdkextensions to jars to instrument 2020-01-17 09:57:52 +00:00
aapt2.go Move sharding functions for reuse 2019-09-29 23:26:37 -07:00
aar.go jacoco correctly gathers info from APK-in-APEX 2020-01-08 14:49:31 +09:00
android_manifest.go
android_resources.go
androidmk.go Merge "Pass auto_gen_config setting in Android.bp to makefile" 2020-01-07 06:23:04 +00:00
androidmk_test.go AndroidMk for the hostdex library has separate AndroidMkEntries 2019-12-11 17:27:07 +09:00
app.go Overwrite test-file-name in test config. 2020-01-17 06:08:12 -08: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 Overwrite test-file-name in test config. 2020-01-17 06:08:12 -08:00
builder.go Save compilation units in protobuf format. 2020-01-15 12:40:03 -08: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 Remove passing -forceprocessing flag to R8 2019-11-27 12:40:07 +01:00
dexpreopt.go Merge "Use boot image extension in the JIT-zygote experiment." 2020-01-13 10:38:01 +00:00
dexpreopt_bootjars.go Use boot image extension in the JIT-zygote experiment. 2020-01-10 15:29:25 +00:00
dexpreopt_bootjars_test.go Revert^2 "Use boot image extension for framework libraries." 2020-01-08 15:56:52 +00:00
dexpreopt_config.go Merge "Use boot image extension in the JIT-zygote experiment." 2020-01-13 10:38:01 +00:00
dexpreopt_test.go Add a rule about platform_apis 2019-07-29 20:48:30 +09:00
droiddoc.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08: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
hiddenapi_singleton.go Revert submission 1194828-revert-1191937-art_apex_available-DWXQGTKMAR 2019-12-19 02:11:10 +00:00
jacoco.go
jacoco_test.go
java.go Merge "Reland^2 "m <apex_name>-deps-info prints the internal/external deps of the APEX"" 2020-01-15 06:12:45 +00:00
java_resources.go
java_test.go Add basic test for java_system_modules 2020-01-15 11:17:57 +00:00
jdeps.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
jdeps_test.go
kotlin.go Fix turbine classpath arguments 2019-11-07 02:05:06 +00:00
kotlin_test.go Java test code clean-up 2019-07-17 11:15:09 -07:00
OWNERS
platform_compat_config.go Define a make variable for merged compat config. 2020-01-08 11:24:58 +00:00
plugin.go
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 Delay invalid sdk_version error for AllowMissingDependencies 2020-01-07 20:14:14 +00:00
sdk_library.go Delay invalid sdk_version error for AllowMissingDependencies 2020-01-07 20:14:14 +00:00
sdk_test.go Move filesystem into Config 2019-12-18 08:19:10 -08: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 Added java_system_modules_import 2020-01-15 11:17:57 +00:00
testing.go Remove unused system_modules 2020-01-03 14:16:22 +09:00
tradefed.go Add tradefed_java_library_host 2019-10-18 15:14:15 -07:00