aboutsummaryrefslogtreecommitdiffstats
path: root/dexpreopt
Commit message (Collapse)AuthorAgeFilesLines
* Rename preferCodeIntegrity to useEmbeddedDexVictor Hsieh2019-01-292-9/+9
| | | | | | Test: build and run testing app Bug: 112037137 Change-Id: Ia82c2c3ba7eb32117a4be078ac31ee2ba510f9eb
* Preopt: Do not strip non-image boot class path jars.Vladimir Marko2019-01-111-0/+1
| | | | | | Test: Pixel 2 XL boots. Bug: 119868597 Change-Id: I7bd3b7655aecf1a8c26dd8d4d18d3eec685ece88
* Allow modules to disable stripping when dexpreoptingColin Cross2019-01-103-40/+59
| | | | | | | | | Add a no_stripping property and pass it to dexpreopt to disable stripping for a module. Bug: 122610462 Test: dexpreopt_test.go Change-Id: I5a4b005633bb8b1ea373e9eeb420aa0999de17ab
* Don't strip when dexpreopt is disabledColin Cross2019-01-091-25/+34
| | | | | | | | | If dexpreopt is disabled for a module then classes.dex must not be stripped. Bug: 121377197 Test: m WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY=true Change-Id: Icfa48804cf02291874ac6623c9b9297821ac8ce6
* Preopt: Pass -Xbootclasspath: arg to dex2oat.Vladimir Marko2019-01-093-1/+15
| | | | | | Test: Pixel 2 XL boots. Bug: 119868597 Change-Id: Ibbff11d13a6d67034e783de2f7d8c930251bd899
* Merge "Save invocation info of dex2oat runs."android-o-mr1-iot-release-1.0.8Treehugger Robot2019-01-071-3/+6
|\
| * Save invocation info of dex2oat runs.Alex Light2019-01-021-3/+6
| | | | | | | | | | | | | | | | | | | | It is useful to have the exact dex2oat invocation used to generate artifacts for some tests. This adds the --write-invocation-to= flag to the build to save this information. Test: m droid Bug: 119332327 Change-Id: Id7664cf6d05bbb1c580f94584cdeb96084d5799c
* | manifest_fixer: rename to --prefer-code-integrityVictor Hsieh2019-01-032-9/+9
|/ | | | | | | | During code review, the name change was suggested. Test: local CTS passed Bug: 112037137 Change-Id: I7eb25210afb45c7477b0d606574048a15c9c721d
* Create dexpreopt install dirColin Cross2018-12-191-0/+1
| | | | | | | If dexpreopt is disabled inside dexpreopt_gen there won't be any installed files and the install directory won't be created, causing soong_zip to fail. Create the directory ahead of time. Test: treehugger Change-Id: Icf17d0bcd617eeeafdcd50ab56359fa8d6612822
* Merge "Fix build time preopt with shared library uses."Nicolas Geoffray2018-12-191-9/+27
|\
| * Fix build time preopt with shared library uses.Nicolas Geoffray2018-12-181-9/+27
| | | | | | | | | | | | | | | | | | | | - Handle hidl libraries. - Handle new shared library encoding. Test: no mismatch preopt during boot. bug: 117845483 bug: 111174995 Change-Id: If93dee4a208f365a9ccbbb1f73899d245282bd5b
* | Add an owners file for dexpreopt files.Nicolas Geoffray2018-12-181-0/+1
|/ | | | | Test: N/A Change-Id: I3d14a3cb6f0f5f8f5c0a7266285d4b8917922240
* Dexpreopt soong modules inside soongColin Cross2018-12-157-0/+1279
| | | | | | | | | | | | | | | | | | | | | | | Port the dexpreopt logic from Make to the dexpreopt package in Soong, and use it to dexpreopt Soong modules. The same package is also compiled into the dexpreopt_gen binary to generate dexpreopt scripts for Make modules. This relands Ib67e2febf9ed921f06e8a86b9ec945c80dff35eb and I462182638bd57b1367b5bfb0718e975c11ae66f7, along with multiple fixes to depsfile generation in dexpreopt_gen that caused .odex files for modules in defined make to be missing dependencies on boot.art, and a fix to not dexpreopt and strip tests. Bug: 119412419 Bug: 120273280 Test: no differences to dexpreopt outputs on aosp_sailfish system/, only expected changes to dexpreopt outputs on system_other (.vdex files for privileged Soong modules no longer incorrectly contain .dex contents). Test: OUT_DIR=$PWD/out m Test: NINJA_ARGS="-t deps out/target/product/sailfish/obj/APPS/Contacts_intermediates/dexpreopt.zip" m Change-Id: I6bb2c971cee65d2338839753aa0d84939f335b1b
* Revert "Dexpreopt soong modules inside soong"Colin Cross2018-12-147-1261/+0
| | | | | | | This reverts commit 29ff88741e710b05743dcf347484c31311e81cda. Test: none Bug: 119412419
* Dexpreopt soong modules inside soongColin Cross2018-12-137-0/+1261
Port the dexpreopt logic from Make to the dexpreopt package in Soong, and use it to dexpreopt Soong modules. The same package is also compiled into the dexpreopt_gen binary to generate dexpreopt scripts for Make modules. Bug: 119412419 Bug: 120273280 Test: no differences to dexpreopt outputs on aosp_sailfish system/, only expected changes to dexpreopt outputs on system_other (.vdex files for privileged Soong modules no longer incorrectly contain .dex contents). Change-Id: Ib67e2febf9ed921f06e8a86b9ec945c80dff35eb