- Mar 01, 2019
-
-
Colin Cross authored
Pass -XX:+TieredCompilation -XX:TieredStopAtLevel=1 to the JVM to reduce the time spent JITing, which in local experiments reduced the CPU time of R8 while increasing the wall time, and reduced the total number of runnable threads. Without the new flags: $ time out/soong/host/linux-x86/bin/r8-compat-proguard -injars out/target/common/obj/APPS/Dialer_intermediates/classes.jar ... real 0m30.090s user 4m35.337s sys 0m12.853s With the new flags: $ time out/soong/host/linux-x86/bin/r8-compat-proguard -JXX:+TieredCompilation -JXX:TieredStopAtLevel=1 -injars out/target/common/obj/APPS/Dialer_intermediates/classes.jar ... real 0m35.674s user 2m45.135s sys 0m9.531s The increase in wall time should be offset by the better parallelism from the reduced CPU time. Bug: 119270658 Test: m checkbuild Change-Id: I8fc78b5ef1f8c6f51fd97a29461b96ae2b35cada
-
Colin Cross authored
-
Paul Duffin authored
* changes: Fix hiddenapi issue when REMOVE_ATB_FROM_BCP=true Improve hiddenapi processing so it does not require white list
-
Colin Cross authored
The boot image oatdump rules depend on the details of dexpreopting the boot image. Instead of exporting all of the necessary values to make, move the rules into Soong instead. Also removes the ART_DUMP_OAT_PATH variable, and moves the output to out/soong/boot.*.oatdump.txt. Test: m dump-oat-boot Change-Id: I055b1c39918ba3425c8393b3e1b5359df055472a
-
Treehugger Robot authored
-
Jaewoong Jung authored
-
Treehugger Robot authored
-
Alex Light authored
These additional binary types are useful for some apexs. Add the ability to include them. Due to the nature of the resulting artifacts only py binaries with embedded launchers and host go binaries are supported. Test: m com.android.support.apexer Bug: 119332365 Bug: 119332362 Change-Id: I27c253d3647cf7bbe15896610d7a74a5f93e8bec
-
- Feb 28, 2019
-
-
Jaewoong Jung authored
This change adds an aapt2 flag, rename-instrumentation-target-package, when an android test's instrumention target module's manifest package name is overridden. Bug: 122957760 Test: app_test.go, atest DocumentsUITests Change-Id: I7116a51ec5ec9d61a20cd28509b3af0e383730d7
-
Treehugger Robot authored
-
Alex Light authored
-
Jaewoong Jung authored
This reverts commit aa65e170. Reason for revert: Not compatible with PRODUCT_PACKAGES, and so has very limited use. Change-Id: Ib141d3984a6f12bb50989e66037494c466b066f1
-
Paul Duffin authored
If the android.test.base is not on the bootclasspath then its stubs should not be used as input to the hiddenapi processor. Bug: 73711752 Test: make REMOVE_ATB_FROM_BCP=true droid && atest -p cts/tests/signature Change-Id: Ib03899001e4350c9ad9e757e9e6d7d41bb0a3896
-
Paul Duffin authored
Rather than have a special white list to contain the names of modules that provide additional hiddenapi for modules on the bootclasspath this defines a convention that such modules must have a name which is of the format <x>-hiddenapi, where <x> is the name of the module on the bootclasspath. Bug: 73711752 Test: make droid && flashall -w && atest -p cts/tests/signature Change-Id: Ib2d69dea9541b60a9bb81496f00edb65036d1ebb
-
Paul Duffin authored
-
Roland Levillain authored
-
Sundong Ahn authored
The path valid check is added for avoiding panic message Bug: 126612123 Test: tapas tradefed-all && make -j40 Change-Id: I76b79d5040db7168d8a8879f64349846005333b5
-
Treehugger Robot authored
-
- Feb 27, 2019
-
-
Alex Light authored
Some libraries rely on the java.util.ServiceLoader system to access classes. Allow java_* targets to specify the services that should be exposed there. Test: m jdi-support Bug: 124507633 Change-Id: I253a87033563e3aebc50250fe2252d80d2883815
-
Jaewoong Jung authored
-
Jaewoong Jung authored
This new module type replaces the inherit-package function in make by allowing developers to override the name, the certificate, and the manifest package name of an android_app module. Bug: 122957760 Fixes: 123640028 Test: app_test.go + BrowserGoogle Change-Id: Iefe447e7078b25039233221361ef95c83a29973a
-
Patrice Arruda authored
-
Colin Cross authored
Copying p.rel doesn't work, as rel needs to match the end of the value in path. Apply the same transformation to p.rel as p.path. Test: paths_test.go Change-Id: I42d676c6c4fc18d9852c1a73f25e5a791d7553d0
-
Jaewoong Jung authored
The href base added by I8a8ac0f9ba6c0d57ed83db2155955a95e070a265 doesn't really play nice with anchor links. This fixes the issue. Fixes: 126550408 Test: m soong_docs Change-Id: If62411a6391fd8151fa40cb2ecf32c5006797d6c
-
Roland Levillain authored
Test: n/a Change-Id: I96158244feaaaa25ada02275e20418ac30218004
-
Paul Duffin authored
This reverts commit e5b5657f. The reverted change was added in order to gather the information about the hiddenapi that is needed for the runtime to enforce the hiddenapi accessibility rules. Without it the build broke with the following error when the android.test.base library was not in the PRODUCT_BOOT_JARS list: AssertionError: Error processing: frameworks/base/config/hiddenapi-greylist.txt The following entries were unexpected: Ljunit/framework/TestSuite;->isPublicTestMethod(Ljava/lang/reflect/Method;)Z Landroid/test/AndroidTestCase;->setTestContext(Landroid/content/Context;)V Landroid/test/InstrumentationTestCase;->runMethod(Ljava/lang/reflect/Method;I)V Landroid/test/AndroidTestCase;->getTestContext()Landroid/content/Context; Ljunit/framework/TestCase;->fName:Ljava/lang/String; Ljunit/framework/TestSuite;->isTestMethod(Ljava/lang/reflect/Method;)Z Please visit go/hiddenapi for more information. However, it turns out that the runtime does not currently enforce access to the hiddenapi of libraries that are not on the PRODUCT_BOOT_JARS list. Gathering hiddenapi information for a library not on the PRODUCT_BOOT_JARS list breaks the CtsHiddenApiBlacklistApi27TestCases and CtsHiddenApiBlacklistApi28TestCases test modules which use that information to ensure that correct runtime behavior. This change is being reverted simply because it does not work. Bug: 126519737 Bug: 73711752 Test: make REMOVE_ATB_FROM_BCP=true droid and make droid Change-Id: I1b4a7786b1061effa0e2d37832afa8570953a06e
-
- Feb 26, 2019
-
-
Treehugger Robot authored
-
Nicolas Geoffray authored
-
Patrice Arruda authored
This is almost the same as prebuild_etc except the base path. Bug: 122616578 Test: prebuilt_etc_test.go Change-Id: I512b17a88062403225ae6ec248f857c88fccf47a
-
Treehugger Robot authored
-
Nicolas Geoffray authored
Bug: 119800099 Test: m Change-Id: If4b49b1bed33564b9237f8ae2ac35ef0d631703c
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jiyong Park authored
This is required for a sysprop module to be used by a module like the init which is available both in core and recovery variants. Test: m Change-Id: I075428289f5bdce26e931ccf3262793ca6e4a0fd
-
Jiyong Park authored
When a sysprop module is listed in whole_static_libs, it is renamed to "lib" + <module> to actually refer to the generated C++ library for the sysprop module. Test: m (sysprop_test amended) Change-Id: I05eddb24433d444376787be567830929ef078159
-
Allen Hair authored
Test: atest -v -it CtsSystemUiTestCases -- --abi x86 --test-arg com.android.tradefed.testtype.AndroidJUnitTest:coverage:true Bug: 122330976 Change-Id: Ieb4a8808de6a3e062297c6a0b9e83a3872247eee
-
- Feb 25, 2019
-
-
Sasha Smundak authored
The variables LOCAL_ADDITIONAL_CERTIFICATES. LOCAL_ASSET_DIR, LOCAL_CERTIFICATE, LOCAL_JARJAR_RULES, LOCAL_PROGUARD_FLAG_FILES, LOCAL_RESOURCE_DIR specify the paths relative to the top of the source tree using $(LOCAL_PATH)/. Remove it when converting to blueprint files and diagnose the cases when these paths do not start with $(LOCAL_PATH). Fixes: 122728056 Test: Internal tests Change-Id: Id3fcacdd5445a97365c03e00656291bfe829c035
-
Jaewoong Jung authored
-
Treehugger Robot authored
-
Jaewoong Jung authored
This adds a script to copy the current page's base url to hrefs in the doc. Fixes: 123473548 Test: m soong_docs Change-Id: I8a8ac0f9ba6c0d57ed83db2155955a95e070a265
-