platform_build/core
Ying Wang 70d617aaf5 Introduce per-product per-module dex-preopt config
- 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 20ebd2ef08)

Change-Id: I2ee36892b40655c96837ee7a663dda1d25830878
2014-10-31 10:12:54 -07:00
..
clang Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_". 2014-09-30 02:37:20 -07:00
combo Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings 2014-10-27 14:26:35 -07:00
tasks Add abi to generated XML 2014-10-15 00:10:08 +00:00
Makefile Store symbols.zip in apps_only build. 2014-10-28 00:15:59 +00:00
android_manifest.mk Set up rules to merge AndroidManifest.xmls 2014-02-05 18:24:45 -08:00
apicheck_msg_current.txt Support to check System API. 2014-06-26 17:54:28 -07:00
apicheck_msg_last.txt
base_rules.mk Allow to add jar resource or manifest even without Java code. 2014-09-30 17:32:58 -07:00
binary.mk Add global option filtering for FDO builds. 2014-10-01 22:10:21 +00:00
build-system.html add new gen/ directory for generated sources 2014-01-27 14:45:44 -08:00
build_id.mk DO NOT MERGE: Change build id to LMP 2014-07-15 02:45:43 +00:00
checktree
cleanbuild.mk fs_mgr is now different on different build types 2014-10-08 15:05:21 -07:00
cleanspec.mk core: don't hardcode "out" during findleaves.py invocations. 2013-07-11 19:08:06 -07:00
clear_vars.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
config.mk Add two useful character constants. 2014-10-03 11:36:27 -07:00
configure_module_stem.mk Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build 2014-05-20 18:03:21 -07:00
copy_headers.mk avoid // in copy headers rule 2013-10-23 13:18:39 -07:00
definitions.mk PIE executables created with mingw use "mainCRTStartup" as their entry point. 2014-10-02 00:57:09 -07:00
device.mk
dex_preopt.mk Remove services, wifi, ethernet from BOOTCLASSPATH. 2014-08-12 10:25:19 +01:00
dex_preopt_libart.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
dex_preopt_libart_boot.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
dex_preopt_libdvm.mk Create the dest dir before copying over files. 2013-12-17 17:37:16 -08:00
dex_preopt_odex_install.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
distdir.mk Allow to call dist-for-goals multiple times for the same file 2013-03-01 16:51:26 -08:00
droiddoc.mk Remove framework2 2014-07-21 14:42:29 -07:00
dumpvar.mk Print all 2ND variables. 2014-05-14 19:16:25 -07:00
dynamic_binary.mk Allow to strip everything for only some build variants. 2014-08-10 16:19:04 -07:00
envsetup.mk Fix HOST_LIBRARY_PATH. 2014-08-14 11:03:56 -07:00
executable.mk Support host multilib build 2014-05-14 16:55:04 -07:00
executable_internal.mk Add compile time check for statically linked libc 2014-08-15 14:52:42 -07:00
executable_prefer_symlink.mk Fix broken comparison in executable_prefer_symlink.mk 2014-08-14 15:28:48 +01:00
filter_symbols.sh
find-jdk-tools-jar.sh
help.mk Don't bother going through the source tree 2013-08-09 10:08:30 -07:00
host_dalvik_java_library.mk resolved conflicts for merge of 8fd9944e to master 2014-06-18 19:25:30 -07:00
host_dalvik_static_java_library.mk Switch from core to core-libart 2014-06-18 17:42:32 -07:00
host_executable.mk Set default LOCAL_MULTILIB only if LOCAL_MODULE_HOST_ARCH isn't restricted 2014-06-10 16:24:31 -07:00
host_executable_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
host_java_library.mk Support more precise package exclusion from JAR files. 2014-05-23 18:41:19 -07:00
host_java_library_common.mk Rework the generation of host java libraries. 2013-11-25 10:17:53 +00:00
host_native_test.mk Add library test makefile solutions. 2014-02-05 16:36:42 -08:00
host_prebuilt.mk
host_shared_library.mk Revert "Don't rename host libraries if only one arch is build." 2014-06-11 01:12:18 +00:00
host_shared_library_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
host_shared_test_lib.mk Add library test makefile solutions. 2014-02-05 16:36:42 -08:00
host_static_library.mk Revert "Don't rename host libraries if only one arch is build." 2014-06-11 01:12:18 +00:00
host_static_library_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
host_static_test_lib.mk Add library test makefile solutions. 2014-02-05 16:36:42 -08:00
host_test_internal.mk Enable building of gtest for Windows 2014-10-20 16:06:44 -07:00
install_jni_libs.mk Fix missing rs_compatibility_jni_libs. 2014-06-30 11:20:41 -07:00
install_jni_libs_internal.mk New installation path for apks and their JNIs. 2014-07-18 16:26:24 -07:00
java.mk am 0ab5cc6b: am 99332f11: Allow for opt-in of proguard shrinking of tests with new flag 2014-09-10 07:01:07 +00:00
java_library.mk Multilib support for odex 2014-05-18 22:04:58 -07:00
legacy_prebuilts.mk Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH 2013-07-24 15:15:55 -07:00
main.mk Store symbols.zip in apps_only build. 2014-10-27 17:57:11 +00:00
module_arch_supported.mk build: delete 64-bit blacklist 2014-06-17 21:35:44 -07:00
multi_prebuilt.mk build: Fix failed to assign a module name different with it's file name to a prebuilt module 2013-12-06 10:01:05 -08:00
multilib.mk Real "LOCAL_MULTILIB := both" for prebuilts 2014-05-16 10:49:57 -07:00
native_test.mk Allow to opt out both multilib in native test. 2014-06-10 17:52:20 -07:00
node_fns.mk Load only the current product config makefile. 2012-10-03 10:27:08 -07:00
notice_files.mk Set up rules to build static libraries for TARGET_2ND_ARCH 2014-01-24 13:35:09 -08:00
package.mk Real "LOCAL_MULTILIB := both" for prebuilts 2014-05-16 10:49:57 -07:00
package_internal.mk Convert comma in split arguments to underscore. 2014-10-01 12:01:04 -07:00
pathmap.mk Add docs for Palette and CardView 2014-09-28 16:13:19 +00:00
pdk_config.mk Remove framework2 2014-07-21 14:42:29 -07:00
phony_package.mk Add LOCAL_ADDITIONAL_DEPENDENCIES support to BUILD_PHONY_PACKAGE 2013-07-15 16:44:26 -07:00
post_clean.mk Fix aidl post clean bug. 2014-08-23 09:45:31 -07:00
prebuilt.mk Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it. 2014-10-21 18:34:30 -07:00
prebuilt_internal.mk Conditionally skip dex-preopting prebuilts. 2014-10-02 10:14:59 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
product_config.mk Introduce per-product per-module dex-preopt config 2014-10-31 10:12:54 -07:00
proguard.emma.flags Keep the emma classes if emma is enabled. 2012-08-27 16:10:28 -07:00
proguard.flags Make it easier to enable obfuscation and optimization. 2013-08-22 17:12:38 -07:00
proguard_basic_keeps.flags Less spammy ProGuard. 2014-06-17 11:53:31 -07:00
proguard_tests.flags Allow for opt-in of proguard shrinking of tests with new flag 2014-09-09 20:42:48 -04:00
raw_executable.mk
raw_static_library.mk Support to build executables for TARGET_2ND_ARCH 2014-01-24 13:36:30 -08:00
root.mk
sdk_font.mk Fix sdk_font build warning. 2014-09-04 18:59:05 -07:00
setup_one_odex.mk Support to build apk odex for both arch. 2014-09-13 18:14:15 -07:00
shared_library.mk Clarify multiarch warnings 2014-05-21 16:40:35 -07:00
shared_library_internal.mk Update the FDO support: 2014-07-30 16:54:55 -07:00
shared_test_lib.mk Add library test makefile solutions. 2014-02-05 16:36:42 -08:00
static_java_library.mk Support "LOCAL_SDK_VERSION := system_current" 2014-07-19 17:00:50 -07:00
static_library.mk Support host multilib build 2014-05-14 16:55:04 -07:00
static_library_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
static_test_lib.mk Add library test makefile solutions. 2014-02-05 16:36:42 -08:00
target_test_internal.mk More consistent use of 64-bit build variable. 2014-07-08 18:04:17 -07:00
version_defaults.mk Move up to API 21, Lollipop MR1. 2014-10-17 10:05:33 -07:00