70d617aaf5
- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
arbitrary dex-preopt config/flags to modules in product
configuration:
$(call \
add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
How <config_or_flags> is interpreted is decided by
dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
disable dexpreopt for the given modules; otherwise pass it to dex2oat as
command line flags.
- If there are multiple configs for the same module in the product
inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.
Bug: 17791867
(cherry picked from commit
|
||
---|---|---|
.. | ||
clang | ||
combo | ||
tasks | ||
android_manifest.mk | ||
apicheck_msg_current.txt | ||
apicheck_msg_last.txt | ||
base_rules.mk | ||
binary.mk | ||
build-system.html | ||
build_id.mk | ||
checktree | ||
cleanbuild.mk | ||
cleanspec.mk | ||
clear_vars.mk | ||
config.mk | ||
configure_module_stem.mk | ||
copy_headers.mk | ||
definitions.mk | ||
device.mk | ||
dex_preopt.mk | ||
dex_preopt_libart.mk | ||
dex_preopt_libart_boot.mk | ||
dex_preopt_libdvm.mk | ||
dex_preopt_odex_install.mk | ||
distdir.mk | ||
droiddoc.mk | ||
dumpvar.mk | ||
dynamic_binary.mk | ||
envsetup.mk | ||
executable.mk | ||
executable_internal.mk | ||
executable_prefer_symlink.mk | ||
filter_symbols.sh | ||
find-jdk-tools-jar.sh | ||
help.mk | ||
host_dalvik_java_library.mk | ||
host_dalvik_static_java_library.mk | ||
host_executable.mk | ||
host_executable_internal.mk | ||
host_java_library.mk | ||
host_java_library_common.mk | ||
host_native_test.mk | ||
host_prebuilt.mk | ||
host_shared_library.mk | ||
host_shared_library_internal.mk | ||
host_shared_test_lib.mk | ||
host_static_library.mk | ||
host_static_library_internal.mk | ||
host_static_test_lib.mk | ||
host_test_internal.mk | ||
install_jni_libs.mk | ||
install_jni_libs_internal.mk | ||
java.mk | ||
java_library.mk | ||
legacy_prebuilts.mk | ||
main.mk | ||
Makefile | ||
module_arch_supported.mk | ||
multi_prebuilt.mk | ||
multilib.mk | ||
native_test.mk | ||
node_fns.mk | ||
notice_files.mk | ||
package.mk | ||
package_internal.mk | ||
pathmap.mk | ||
pdk_config.mk | ||
phony_package.mk | ||
post_clean.mk | ||
prebuilt.mk | ||
prebuilt_internal.mk | ||
process_wrapper.sh | ||
process_wrapper_gdb.cmds | ||
process_wrapper_gdb.sh | ||
product.mk | ||
product_config.mk | ||
proguard.emma.flags | ||
proguard.flags | ||
proguard_basic_keeps.flags | ||
proguard_tests.flags | ||
raw_executable.mk | ||
raw_static_library.mk | ||
root.mk | ||
sdk_font.mk | ||
setup_one_odex.mk | ||
shared_library.mk | ||
shared_library_internal.mk | ||
shared_test_lib.mk | ||
static_java_library.mk | ||
static_library.mk | ||
static_library_internal.mk | ||
static_test_lib.mk | ||
target_test_internal.mk | ||
version_defaults.mk |