Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
tools/ | 25-Apr-2025 | - | 464 | 329 | ||
README.dex_preopt_check.md | D | 25-Apr-2025 | 1.6 KiB | 44 | 31 | |
art-host-tests.mk | D | 25-Apr-2025 | 4.4 KiB | 75 | 47 | |
art.mk | D | 25-Apr-2025 | 1,001 | 27 | 7 | |
automotive-general-tests.mk | D | 25-Apr-2025 | 6.1 KiB | 90 | 61 | |
automotive-sdv-tests.mk | D | 25-Apr-2025 | 3.9 KiB | 62 | 39 | |
automotive-tests.mk | D | 25-Apr-2025 | 3.7 KiB | 62 | 39 | |
autorepro.mk | D | 25-Apr-2025 | 1.6 KiB | 40 | 20 | |
berberis_test.mk | D | 25-Apr-2025 | 880 | 26 | 4 | |
build_custom_images.mk | D | 25-Apr-2025 | 3.5 KiB | 80 | 21 | |
catbox.mk | D | 25-Apr-2025 | 948 | 24 | 8 | |
check-abi-dump-list.mk | D | 25-Apr-2025 | 5.3 KiB | 124 | 62 | |
csuite.mk | D | 25-Apr-2025 | 872 | 24 | 7 | |
cts.mk | D | 25-Apr-2025 | 16 KiB | 334 | 247 | |
cts_root.mk | D | 25-Apr-2025 | 924 | 26 | 9 | |
device-platinum-tests.mk | D | 25-Apr-2025 | 4.4 KiB | 72 | 47 | |
device-tests.mk | D | 25-Apr-2025 | 4.1 KiB | 71 | 46 | |
dex_preopt_check.mk | D | 25-Apr-2025 | 979 | 20 | 9 | |
dts.mk | D | 25-Apr-2025 | 1.1 KiB | 29 | 11 | |
find-shareduid-violation.mk | D | 25-Apr-2025 | 1.6 KiB | 40 | 20 | |
fontchain_lint.mk | D | 25-Apr-2025 | 1.6 KiB | 44 | 23 | |
general-tests-shared-libs.mk | D | 25-Apr-2025 | 2.7 KiB | 53 | 28 | |
general-tests.mk | D | 25-Apr-2025 | 4.2 KiB | 72 | 47 | |
host-unit-tests.mk | D | 25-Apr-2025 | 3.2 KiB | 67 | 36 | |
host_init_verifier.mk | D | 25-Apr-2025 | 3 KiB | 57 | 36 | |
mcts.mk | D | 25-Apr-2025 | 1.5 KiB | 44 | 24 | |
meta-lic.mk | D | 25-Apr-2025 | 22.7 KiB | 231 | 161 | |
mke2fs-dist.mk | D | 25-Apr-2025 | 1 KiB | 23 | 5 | |
module-info.mk | D | 25-Apr-2025 | 4.2 KiB | 70 | 54 | |
mts.mk | D | 25-Apr-2025 | 1.1 KiB | 33 | 14 | |
multitree.mk | D | 25-Apr-2025 | 662 | 17 | 2 | |
oem_image.mk | D | 25-Apr-2025 | 2 KiB | 50 | 25 | |
offline-sdk-docs.mk | D | 25-Apr-2025 | 1.1 KiB | 27 | 6 | |
owners.mk | D | 25-Apr-2025 | 1.2 KiB | 36 | 15 | |
performance-tests.mk | D | 25-Apr-2025 | 3.1 KiB | 57 | 32 | |
platform_availability_check.mk | D | 25-Apr-2025 | 2.4 KiB | 62 | 30 | |
prebuilt_tradefed.mk | D | 25-Apr-2025 | 844 | 23 | 7 | |
sdk-addon.mk | D | 25-Apr-2025 | 6.3 KiB | 152 | 100 | |
sts.mk | D | 25-Apr-2025 | 889 | 26 | 9 | |
test_mapping.mk | D | 25-Apr-2025 | 1.9 KiB | 41 | 17 | |
tradefed-tests-list.mk | D | 25-Apr-2025 | 2 KiB | 46 | 24 | |
vendor_module_check.mk | D | 25-Apr-2025 | 4.6 KiB | 141 | 103 | |
vts-core-tests.mk | D | 25-Apr-2025 | 940 | 26 | 8 | |
with-license.mk | D | 25-Apr-2025 | 2.4 KiB | 61 | 34 | |
wvts.mk | D | 25-Apr-2025 | 1.2 KiB | 31 | 12 |
README.dex_preopt_check.md
1# `dex_preopt_check` 2 3`dex_preopt_check` is a build-time check to make sure that all system server 4jars are dexpreopted. When the check fails, you will see the following error 5message: 6 7``` 8FAILED: 9build/make/core/tasks/dex_preopt_check.mk:13: warning: Missing compilation artifacts. Dexpreopting is not working for some system server jars 10Offending entries: 11``` 12 13Possible causes are: 14 151. There is an APEX/SDK mismatch. (E.g., the APEX is built from source while 16 the SDK is built from prebuilt.) 17 181. The `systemserverclasspath_fragment` is not added as 19 `systemserverclasspath_fragments` of the corresponding `apex` module, or not 20 added as `exported_systemserverclasspath_fragments` of the corresponding 21 `prebuilt_apex`/`apex_set` module when building from prebuilt. 22 231. The expected version of the system server java library is not preferred. 24 (E.g., the `java_import` module has `prefer: false` when building from 25 prebuilt.) 26 271. Dexpreopting is disabled for the system server java library. This can be due 28 to various reasons including but not limited to: 29 30 - The java library has `dex_preopt: { enabled: false }` in the Android.bp 31 file. 32 33 - The java library is listed in `DEXPREOPT_DISABLED_MODULES` in a Makefile. 34 35 - The java library is missing `installable: true` in the Android.bp 36 file when building from source. 37 38 - Sanitizer is enabled. 39 401. `PRODUCT_SYSTEM_SERVER_JARS`, `PRODUCT_APEX_SYSTEM_SERVER_JARS`, 41 `PRODUCT_STANDALONE_SYSTEM_SERVER_JARS`, or 42 `PRODUCT_APEX_STANDALONE_SYSTEM_SERVER_JARS` has an extra entry that is not 43 needed by the product. 44