History log of /build/core/product_config.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2cec9ae20844cde11fb967733aec153d0d60a0e8 12-Jun-2017 Nicolas Geoffray <ngeoffray@google.com> Add a new PRODUCT variable for forcing 'speed' preopt.

bug: 35872915
Test: build

(cherry picked from commit 4a0ad4ac61081f56c4aab50a2aed3001e51f9126)

Change-Id: Idfea3c379a2b1dab30ee94a58ffe86d508f8522f
(cherry picked from commit c3ffeddc59b006518cf7a8c7d70081bf84030e98)
/build/make/core/product_config.mk
8756c0fedcfb97c3fafab20280954046537a6a10 19-May-2017 Julius D'souza <jdsouza@google.com> Add the option to reserve headroom for partition
images. This is useful for device with low disk
space with different build variants.

This is a manual cherry-pick from aosp/master.

Bug: 37469715
Test: regular image builds successfully, errors occur
when the headroom size is greater than available
partition space.

Merged-In: I526cdd0f84981bbd16e3afcfe1cd7fc43dce98ef

Change-Id: I840d212bb46612074c43b39e94546901f60e4b4c
/build/make/core/product_config.mk
74e7a2dbeb05df4e2047bc8bd5bdba49835d03aa 04-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Use product-based inclusive rule for enforcing RRO" into oc-dev
2a209997e8b4eee2b4571d569b1995f29b8e111d 30-Mar-2017 Jaekyun Seok <jaekyun@google.com> Use product-based inclusive rule for enforcing RRO

Board-based rule can cause unexpected regression because build-time overlays
are different among products. So each product should be tested with its own
product-based rule considering its build-time overlays before applying
enforcing RRO.

Additionally RRO conversion is mandatory only for overlays of which target is
included in AOSP system image and is critical for CTS/VTS tests with AOSP
system image. So inclusive rule is more suitable instead of exclusive rule
to avoid unexpected regression due to unnecessary RRO conversion.

Note that we still support conversion for all the overlays by specifying
PRODUCT_ENFORCE_RRO_TARGETS as "*".

Test: building succeeded and tested with auto-generated RROs.
Bug: 36231603
Change-Id: I8e1d701d4f78b818c89ef3e7638110105370c5bc
/build/make/core/product_config.mk
eaa9d88cf4ab060990063c75418667c80fcba0c3 24-Mar-2017 Nicolas Geoffray <ngeoffray@google.com> Don't preopt system server apps in system_other.

bug:36532541
bug:33799337

Test: m -j32 && find out/target -name \*.odex

Change-Id: Id5a153efd303d47612b238833f6205949bf2812f
(cherry picked from commit a2c6c0b11e49d94afbde3ab34c1521ad91befb8a)
/build/make/core/product_config.mk
e90295014f5f02bc3ade524a7f3446e027517860 04-Mar-2017 Alex Deymo <deymo@google.com> Merge "Add PRODUCT_IOT to the list of product vars."
8fe63c3899cbdad9de50a7f1ec8802388c26a82a 03-Mar-2017 Alex Deymo <deymo@google.com> Add PRODUCT_IOT to the list of product vars.

This variable tells whether the product is an Android Things variant of
Android.

Bug: 32549448
Test: `make dist` on an iot product.
Change-Id: I0875951ae57867bc8bf47885e77e494d6284acdb
/build/make/core/product_config.mk
594c3fc3d795b1ef776c352314d26a079c118f4e 25-Feb-2017 Dan Willemsen <dwillemsen@google.com> Fix all_named_products, remove kati_all_products

all_named_products was giving the file path instead of product name for
the name:path format of PRODUCT_MAKEFILES.

kati_all_products has been replaced with multiproduct_kati

Test: get_build_var all_named_products
Test: multiproduct_kati
Change-Id: I24015ef0778ac7cd45201aa55c1737b0553f09fe
/build/make/core/product_config.mk
7ace0d60ef59bb5d5ff0b22d51d3a85b626eaa0c 20-Jan-2017 Jaekyun Seok <jaekyun@google.com> Prevent abuse of property overrides

To prevent abuse of PRODUCT_*PROPERTY_OVERRIDES and
ADDITIONAL*PROPERTIES, the following rules should be applied.

- Mark PRODUCT_*PROPERTY_OVERRIDES readonly after reading product
specs.
- Disallow any changes on ADDITIONAL*PROPERTIES from product specs
and BoardConfig.mk.
- Mark ADDITIONAL*PROPERTIES readonly before reading Android.mk
files.

Test: building succeeded on marlin-userdebug.
Bug: 34116668
Change-Id: I93d8de086ec85ba787165a156bdcc7df04310be1
(cherry picked from commit 294286d95c7647c1c20c3537f065c21e85371695)
/build/make/core/product_config.mk
64594c4f53357a5037cf026387f8b5ab2e24bafe 16-Dec-2016 Hiroshi Yamauchi <yamauchi@google.com> Add ART_USE_READ_BARRIER to product variables.

Bug: 33492005
Test: top-level build for angler.
Change-Id: I12aa2e18487c16423223f110b6dfb0d6dff1e7e8
/build/make/core/product_config.mk
c9c6284660734d2d37f38d6261330e4f597e4f40 06-Oct-2016 Dan Willemsen <dwillemsen@google.com> Merge "Add tool to run kati for all products" am: 480678e220 am: 652c4b4001
am: 8c0a4f49a2

Change-Id: I086f181ffcd8291fa950c084f0471686d845eaf7
4c364620ac81a01dc2c9d6aac7cad3e4dbc6b52b 16-May-2016 Dan Willemsen <dwillemsen@google.com> Add tool to run kati for all products

Test: get_build_var all_named_products
Test: build/tools/kati_all_products.sh
Change-Id: I3496cb4c59a1edb11c9149b95ecabd3a828b8972
/build/make/core/product_config.mk
f23e6bfda08cc629cded7c1ef4b24eb8a0365403 29-Jul-2016 Dan Willemsen <dwillemsen@google.com> Limit find-copy-subdir-files to just files

This is used to add entries to PRODUCT_COPY_FILES -- those should always
be files, not directories or anything else special.

Bug: 30482029
Change-Id: I2691ae81c344c22e518c6b10cd485c73d654a03b
/build/make/core/product_config.mk
ae492fd5f2468ac128b65ec4ae0f4d513c68ee60 01-Jul-2016 Andreas Gampe <agampe@google.com> resolve merge conflicts of 9d73af0 to stage-aosp-master

Change-Id: I984c48310e72cb509b859501cfb07258214038fa
6b30d770f025de95cb9f3f3df70d56d4d3291470 28-Jun-2016 Andreas Gampe <agampe@google.com> Build: Add module-level product configuration of sanitization

To allow special sanitizer settings for modules shared between
products, add product-specific module settings.

This was copied from the product-specific dexopt settings.

Bug: 29498013
Change-Id: I17a96b975bb6ac7f4ffb3d5b08e2f00b21bd97a1
(cherry picked from commit bb5454b6db5770f0b0275424148b2d7d3c52a56d)
/build/make/core/product_config.mk
bb5454b6db5770f0b0275424148b2d7d3c52a56d 28-Jun-2016 Andreas Gampe <agampe@google.com> Build: Add module-level product configuration of sanitization

To allow special sanitizer settings for modules shared between
products, add product-specific module settings.

This was copied from the product-specific dexopt settings.

Bug: 29498013
Change-Id: I17a96b975bb6ac7f4ffb3d5b08e2f00b21bd97a1
/build/make/core/product_config.mk
404ccc83c4ad9dd6cd151d8cc4299c4d3f02b2b7 04-Jun-2016 Vikas Marwaha <vikasmarwaha@google.com> Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the
new read only product property ro.product.first_api_level.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with. We use this variable to set a read-only property that
can be used in CTS/GTS tests.

Change-Id: If54202075d3b92ed380655cde8b3fc50c5ba73b3
/build/make/core/product_config.mk
81ee18670d9c0745aabc2453e049142269504e2d 27-May-2016 Gustav Sennton <gsennton@google.com> Add variable PRODUCT_SHIPPING_API_LEVEL.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with.

We use this variable to set a read-only property that can be used in
CTS/GTS tests.

Bug: 26381401
Change-Id: I9dfeaf423146c35f57e69ac26c27e8a9e205bc4f
/build/make/core/product_config.mk
e295c3df68c4011cfda4696e4e02c12feba868c0 24-Feb-2016 Ying Wang <wangying@google.com> AAPT2: library resource compilation

- Switch to static library's package-res.apk as the link artifact.
- For prebuilt AAR file, build package-res.apk using aapt2's "--dir"
option.
- New LOCAL variables:
LOCAL_USE_AAPT2: a module can opt-in with "LOCAL_USE_AAPT2 := true".
LOCAL_STATIC_ANDROID_LIBRARIES: static Java libraries with compiled
resources.
LOCAL_SHARED_ANDROID_LIBRARIES: shared Java libraries with compiled
resources.

Bug: 25958912
Change-Id: I4be2d1e8137555986338c2583cb39b0c97391751
/build/make/core/product_config.mk
497888de8c798463c076645e4b6bff81aab4bfc7 26-Jan-2016 Adam Lesinski <adamlesinski@google.com> Use --pseudo-localize only with compile phase in AAPT2

AAPT2 does pseudo-localization in compile phase. Passing --pseudo-localize
to the link phase causes an error.
Bug:25958912

Change-Id: I6ced0979884cb0d718018f995f9b2f6476d401cb
/build/make/core/product_config.mk
e5ad0cf486dc7f025147b17c48e92cf0dc26fd14 11-Nov-2015 Vince Harron <vharron@google.com> Switch emulator to generate userdebug images by default am: ba740ff57f am: 796f000346
am: 6d8399ee83

* commit '6d8399ee8351e403da49ccbbf3c3546dde0e52d6':
Switch emulator to generate userdebug images by default
6d8399ee8351e403da49ccbbf3c3546dde0e52d6 11-Nov-2015 Vince Harron <vharron@google.com> Switch emulator to generate userdebug images by default am: ba740ff57f
am: 796f000346

* commit '796f0003464da70f42346a0240fe8d4142706ff1':
Switch emulator to generate userdebug images by default
ba740ff57fd314d0ad649c252841ab834e96fdaa 28-Oct-2015 Vince Harron <vharron@google.com> Switch emulator to generate userdebug images by default

This is primarily to avoid using the unsupported JIT on Android-M

It will increase app install times significantly because the app will
be compiled at install time. OTOH, It should improve application
performance dramatically.

Change-Id: Id1d637ec561db177fd52e4c111f4def2a1b45543
(cherry picked from commit 08787d747d71d7ff3f13d2275d937faefc6d7777)
/build/make/core/product_config.mk
8ef7a895daf7106417386675de61f63bc8475bf8 02-Nov-2015 Ying Wang <wangying@android.com> Merge "Fix "make product-graph" and "make dump-products"." am: 888f30aa44 am: 603e4ed594
am: 6a019f1d2e

* commit '6a019f1d2ec88baeaa5c95c76ea966e562bdfa3a':
Fix "make product-graph" and "make dump-products".
67132baa4d11917030c5156f507a50110c4cd935 29-Oct-2015 Ying Wang <wangying@google.com> Fix "make product-graph" and "make dump-products".

- For unmodified "make product-graph" and "make dump-products",
load only the current product configuration makefiles. This is much
faster than loading all product makefiles.
- For "make product-graph ANDROID_PRODUCT_GRAPH=--all",
"make dump-products ANDROID_DUMP_PRODUCTS=all", load all product
makefiles.
- Move product-graph.mk out of build tasks, so we can skip loading all
the Android.mks, which takes long and we don't really need them.
More importantly, with all product makefiles loaded, modules in
Android.mks are prone to clash (if they are conditionally included
by variables set up in product makefiles) and lead to parse-time
error.

Change-Id: Idc1d6b0c23eb2c8bb34fdd7a1fa4d56171768d21
/build/make/core/product_config.mk
1d97b9013c24e93442416d77426561ede54fb692 28-May-2015 Shinichiro Hamaji <hamaji@google.com> Remove an unmatched rightparen

Change-Id: I34faa15f2dd1fca80bde5708f40714efec04a743
/build/make/core/product_config.mk
00cee5889c0061cfd70dd64166dccca529832025 07-Jan-2015 Brian Carlstrom <bdc@google.com> am ad6dd21e: Merge "Remove unused PRODUCT_TAGS"

* commit 'ad6dd21e1ae27941b0c00629b095dd9a9ae2d7c2':
Remove unused PRODUCT_TAGS
25b8bb378f7fb5a41e82d6282409d45ef4cf46be 05-Jan-2015 Brian Carlstrom <bdc@google.com> Remove unused PRODUCT_TAGS

Bug: 18895001
Change-Id: I2bbb1c04880218eaa06c1eff92280c636260f9ae
/build/make/core/product_config.mk
912da64598a5175d6e5868c22977eda95f2a9df1 16-Dec-2014 Ying Wang <wangying@google.com> am 73a730ca: Merge "Remove libdvm support from the core build system."

* commit '73a730caf566fb778ad36f6d991666c482918d22':
Remove libdvm support from the core build system.
73a730caf566fb778ad36f6d991666c482918d22 16-Dec-2014 Ying Wang <wangying@google.com> Merge "Remove libdvm support from the core build system."
c38439a5fff55322900948cb36c2cf6f38b50bb3 16-Dec-2014 Brian Carlstrom <bdc@google.com> am 8c5401c1: Merge "Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA"

* commit '8c5401c1c6a5dfd87c4b0f0edc45810e35b93e40':
Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA
d54520a667e3bd5c9f2abe98573a5de83bcf4872 08-Dec-2014 Ying Wang <wangying@google.com> Remove libdvm support from the core build system.

Now libart is the only supported runtime and
we don't need the build variables PRODUCT_RUNTIMES and
DALVIK_VM_LIB.

Bug: 18465297
Change-Id: Ibfda931cde0649163d79b584fb5ccad927a9bc2b
/build/make/core/product_config.mk
2bc19019e5e4801fe7743e30745c9b183ff3d839 16-Dec-2014 Brian Carlstrom <bdc@google.com> Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA

Bug: 18673991
Change-Id: I64261ef6a37df92eeef8552b8fd0a67157e4a034
/build/make/core/product_config.mk
60686586a5f9c8f78b9ad16e19782da85e89a760 10-Dec-2014 Ying Wang <wangying@google.com> Add product variable PRODUCT_AAPT_PREBUILT_DPI

We use search LOCAL_DPI_VARIANTS in the list of
"$(PRODUCT_AAPT_PREF_CONFIG) $(PRODUCT_AAPT_PREBUILT_DPI)"
and the first takes precedence.
That way if we don't have a best match, we fall back to the second best,
the way how it worked with PRODUCT_AAPT_CONFIG previously.

Bug: 18388705
Change-Id: I8bd646c52215c65cc6e38c728857af9b64d13469
/build/make/core/product_config.mk
83ee6d790f007beaefcc5f997b15952ed6d7d840 03-Dec-2014 Adam Lesinski <adamlesinski@google.com> Remove uses of density in PRODUCT_AAP_CONFIG

Change-Id: I98594165515c07fa2e6b847266f7d8fa3283b52e
/build/make/core/product_config.mk
70d617aaf57c636ca7b6aedee5b009a7c46bdd3a 08-Oct-2014 Ying Wang <wangying@google.com> 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 20ebd2ef081f2a3e85a4adcf8837e6f5b68bdeea)

Change-Id: I2ee36892b40655c96837ee7a663dda1d25830878
/build/make/core/product_config.mk
8755756f26a1eaf384ecae64fd00c1873abcf26f 10-Oct-2014 Ying Wang <wangying@google.com> resolved conflicts for merge of 3907c03e to lmp-dev-plus-aosp

Change-Id: I580ab0693609ff506da7346548a45322000114d1
20ebd2ef081f2a3e85a4adcf8837e6f5b68bdeea 08-Oct-2014 Ying Wang <wangying@google.com> 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
Change-Id: I1b2955e8e51039e94d1ff43a3265a8d03598632c
/build/make/core/product_config.mk
d31552fa6690c687b3201c587a14738b6b22012d 27-Aug-2014 Adam Lesinski <adamlesinski@google.com> Add anydpi to all product configs

Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c
/build/make/core/product_config.mk
89ec496f989c44315b25ec08915d847edd322739 05-Aug-2014 Narayan Kamath <narayan@google.com> Remove services, wifi, ethernet from BOOTCLASSPATH.

They belong to the system_server classpath.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
/build/make/core/product_config.mk
a26a2123b80ad3b4aa3ab8d2d1648dc03ae230b2 27-Jun-2014 Ying Wang <wangying@android.com> am 7a6a9a55: am 4bdbd6d4: am e1b43254: Merge "Add --pseudo-localize aapt parameter for builds."

* commit '7a6a9a558271ac959a2e441fe27aae3df77d4421':
Add --pseudo-localize aapt parameter for builds.
c4dfe6ef30d785219f965e42cd675f99d5d9e0be 26-Jun-2014 Igor Viarheichyk <viarheichyk@google.com> Add --pseudo-localize aapt parameter for builds.

Some packages can override list of locales with
LOCAL_AAPT_INCLUDE_ALL_RESOURCES parameter, disabling
pseudolocalization. Adding new --pseudo-localize flag to
aapt if pseudo-locales are specified in product locales
list solves this issue.

Change-Id: Iae705d4fe99453650339fd1ca65d1005671b3e4f
/build/make/core/product_config.mk
f7988507f48576d1455696693281b63d8ba7f478 11-Jun-2014 Ying Wang <wangying@google.com> am 2d19cbd2: resolved conflicts for merge of 135e11df to klp-modular-dev-plus-aosp

* commit '2d19cbd279ed69c7202f089be174c35c1585f709':
Switch to 32-bit-by-default host multilib build.
2713fcebbae97c6132c9fa61b8db795d29813dc6 09-Jun-2014 Ying Wang <wangying@google.com> Switch to 32-bit-by-default host multilib build.

Also we don't need to force LLVM built from source, for we already force
LLVM to be built as 32-bit.

Bug: 13751317
Change-Id: Ifadf1988d28b60cb06316de50f5bdc1834f1acc0
/build/make/core/product_config.mk
31f5db27c6a55d930cdb970ad705a1e43153cb98 28-May-2014 Brian Carlstrom <bdc@google.com> Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175

(cherry picked from commit 7e127ebe0bf8753fcbeeac6140916d512322e308)

Change-Id: I0a94e01f46fcc074d8c8fd1e5558fb764ab47361
/build/make/core/product_config.mk
7e127ebe0bf8753fcbeeac6140916d512322e308 28-May-2014 Brian Carlstrom <bdc@google.com> Move to dalvik.vm.lib.2 to force default to libart

Bug: 14298175
Change-Id: Ie4a716dddddc4d339fd4f47033f2c546a1ca118a
/build/make/core/product_config.mk
8200231ae1891fdb3bba8ff4cefbaea88dbbe61b 15-May-2014 Ying Wang <wangying@google.com> am e50f2d9f: am 40b49d30: am a74ade94: Merge "Support host multilib build"

* commit 'e50f2d9f32a27d8290692dbf99ab8b247ef9d553':
Support host multilib build
6feb6d5607ce86a446645564212043964628f540 17-Apr-2014 Ying Wang <wangying@google.com> Support host multilib build

This change basically ported our target multilib to the host side.
It supports 2 host build modes: x86 and x86_64 multilib build.
For now you need to set "BUILD_HOST_64bit=true" to switch to x86_64
multilib build. Later we'll default to x86_64 build and have a flag
to force 32-bit only build, which may be needed by SDK build.

In host module definition, like in target ones, you can use the
following
LOCAL variables to set up multilib configuration:
LOCAL_MULTILIB: can be "both", "first", "32" or "64".
It also supports the same set of arch or 32-vs-64 specific LOCAL
variables.
By default, it builds only for the first arch.

To keep path compatibility, in x86_64 build files are still output to
out/host/linux-x86; Both 32-bit and 64-bit executables are in
out/host/linux-86/bin;
In x86_64 build 32-bit shared libraries are installed to
out/host/linux-x86/lib32
and 64-bit shared libraries are installed to out/host/linux-x86/lib;
32-bit object files are output to out/host/linux-x86/obj32 and 64-bit
object files
are output to out/host/linux-x86/obj.

Bug: 13751317
Change-Id: I6044f83b7db369a33e05209e8c588eb6dc83409f
/build/make/core/product_config.mk
69968b8c5762a8c7f6127f4aa667b8e8498c5102 31-Jan-2014 Ian Rogers <irogers@google.com> am 1fee45f1: am e854276d: Merge "Disable WITH_HOST_DALVIK on 64bit host builds."

* commit '1fee45f1af82d9dbb2e709413f020b2291205640':
Disable WITH_HOST_DALVIK on 64bit host builds.
dbf975507b3d5882f279b6f870dc3e0c3770d008 30-Jan-2014 Brian Carlstrom <bdc@google.com> build: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969

(cherry picked from commit 49f1fab8a5b82f6224ff1be601037270ecdb734b)

Change-Id: I7f211fca2b9c99b607dd91590a3e4a82501e0c7f
/build/make/core/product_config.mk
49f1fab8a5b82f6224ff1be601037270ecdb734b 30-Jan-2014 Brian Carlstrom <bdc@google.com> build: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969
Change-Id: Ie73a3f2b6655d0ae3e3a905a1c64747343c525a0
/build/make/core/product_config.mk
d206afecb87d43bf216edd41bec308a6861e0711 30-Jan-2014 Ian Rogers <irogers@google.com> Disable WITH_HOST_DALVIK on 64bit host builds.

Change-Id: I8cea32fe5541c3223e7f317245aab3061e8ad444
/build/make/core/product_config.mk
c5151cf0ece28aa754cb29d807ee26f32f7dc576 28-Jan-2014 Brian Carlstrom <bdc@google.com> resolved conflicts for merge of 1737b1ab to master

Change-Id: I5a5f2e83c5155c1c783711f736c60198a8f404ee
8fb5dfc5c716f823b48617fa35a486b2bc696731 17-Jan-2014 Brian Carlstrom <bdc@google.com> build: PRODUCT_DEX_PREOPT_IMAGE_IN_DATA

(cherry-picked from commit cd337c71ee65b17529a67af34d4c0b2824a4f175)

Change-Id: I6d8ab3b3cf52f6a6b15f1c8e8d00cdf59042436b
/build/make/core/product_config.mk
a21b8ea724ca043cb4e95d0e9a8eef223ff8561e 08-Jan-2014 Ying Wang <wangying@google.com> am a292b7b0: am 83709a21: am 95fc1a50: am f12d4810: Merge "PRODUCT_BOOT_JARS as a list of jar names separated by space"

* commit 'a292b7b02bdf051df9eebbe4a51c6a55ce91a7a2':
PRODUCT_BOOT_JARS as a list of jar names separated by space
ad6674cd6003b78ef8ba101eb8a6b3c889ae4b0d 07-Jan-2014 Ying Wang <wangying@google.com> PRODUCT_BOOT_JARS as a list of jar names separated by space

This makes it easier for OEMs to extend the PRODUCT_BOOT_JARS in their
product configuration files.

Change-Id: I5feca2f808b1914c275f28c7a4c38cca2ba6851f
/build/make/core/product_config.mk
057375d783a26d300f4b4c2863481d368f4ade8b 18-Dec-2013 Ying Wang <wangying@android.com> am 03a06f41: am 9507a0fd: am 82c59aef: am 71e8a22e: Merge "Add DEXPREOPT support for ART"

* commit '03a06f4158e9eea9152f25286fcf2c30044d4e06':
Add DEXPREOPT support for ART
ced4bff58e76a16ebce3a35ed24aadc8490ca39b 15-Nov-2013 Brian Carlstrom <bdc@google.com> Add DEXPREOPT support for ART

Change-Id: I24d0d7b2a23a769f5d69bd4dc14be22e1475b759
/build/make/core/product_config.mk
91341e5283661befaf029caec9383e2dba7941ba 22-Nov-2013 Ying Wang <wangying@google.com> Keep a copy of the space-separated PRODUCT_AAPT_CONFIG

That can be used to select dpi-specific prebuilt apks.

Change-Id: Ic68be8fc6fdb46f3ff8de490a35a042a31f1cb19
/build/make/core/product_config.mk
0650d1503d89f1563978f6006a2f904da7140027 24-Jul-2013 Ying Wang <wangying@google.com> Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH

- BOOTCLASSPATH now is product-configurable;
- No need to maintain the duplicate values in core/dex_preopt.mk.
- clean up some legacy ALL_PREBUILTs.
Bug: 9990214

Change-Id: Ie3953e66d282e335bb7782b0ebd56102c35ec10e
/build/make/core/product_config.mk
22ef79850e92ae3fd7dc039014446f60de43850a 11-Jul-2013 Ying Wang <wangying@google.com> Bring in runtime-specific product variables in a more general way.

Change-Id: Ibd0e0e8e3e0ca6afd125db8035ce08a7399b7547
/build/make/core/product_config.mk
1aeee8bb660cb91d1611ad0ba1b9eaf318cf2779 27-Jun-2013 Brian Carlstrom <bdc@google.com> Move from WITH_ART to PRODUCT_RUNTIMES

Change-Id: I3a9217b4aafc1f59d095169deb9eaeae17320505
/build/make/core/product_config.mk
6901768e3622049047e272f53a55263f238d9063 08-May-2013 Brian Carlstrom <bdc@google.com> Add WITH_ART

(cherry picked from commit 6b7a0d2f1ff90d24e3ade9ccf82a084f5f999c1f)

Change-Id: If6e208f9fc859f31da2cd71fdc1ddbe1fc1ed7aa
/build/make/core/product_config.mk
0b89c64fc49290f833434d42c38c127210f3a0e0 03-Oct-2012 Elliott Hughes <enh@google.com> am 2d17b1ab: resolved conflicts for merge of 01b2aaaa to jb-mr1-dev-plus-aosp

* commit '2d17b1aba6ea529dc618d50c784f69fb7f1a8141':
Build only modules required by the current product.
Load only the current product config makefile.
Run clean steps in only given paths when using mm/mmm
2d17b1aba6ea529dc618d50c784f69fb7f1a8141 03-Oct-2012 Elliott Hughes <enh@google.com> resolved conflicts for merge of 01b2aaaa to jb-mr1-dev-plus-aosp

Change-Id: I66481eb8b269775716f79e42e9d89c2ebbd45288
0c4eb4188553fc06049834111416067da53ac605 27-Sep-2012 Ying Wang <wangying@google.com> Load only the current product config makefile.

To reduce the start time.
With the change and previous change of doing clean step in only given paths,
start time of mm/mmm is reduced from ~5s to about 1s;
lunch time is reduced from ~40s to 3.5s.

(cherry-pick of 157a5e1695593f935c3223430f4530e21f990378.)

Bug: 7186768,7169854
Change-Id: I0be5e2721efa66a80f112acf8f95e177ebc2f65b
/build/make/core/product_config.mk
e88d5af2ab7081339799f64374f0ad0cec905748 02-Oct-2012 Ian Rogers <irogers@google.com> am 318330dd: am 9acbbf12: am 76a6dc3a: Fix common typo in comments, warning and error messages.

* commit '318330dd920977733f20eeda338d3c36892373f6':
Fix common typo in comments, warning and error messages.
76a6dc3a191e8800211eb49398d37deae731094e 02-Oct-2012 Ian Rogers <irogers@google.com> Fix common typo in comments, warning and error messages.

s/can not/cannot/g

Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
/build/make/core/product_config.mk
d0244b395a583804137cd1fe2bff4f86d66b396b 17-Nov-2011 Ying Wang <wangying@google.com> Remove build variant "tests"

Bug: 5368571
Now we have a phony target "tests" instead.
The target can be built in any other build variant (eg userdebug).
For example, "make PRODUCT-full-userdebug tests dist" will build and
put the *-test-* zip file in the dist dir.
The "tests" target will include all modules tagged as "tests" in
addition to other modules in specific target out directories.

Change-Id: I8383097380d8e6846c3e2107d6dd5f68788cfc39
/build/make/core/product_config.mk
54fa8c3ff9b1f0f1b0b9c551be864f1b7378c7fc 27-Sep-2012 Ying Wang <wangying@google.com> Load only the current product config makefile.

To reduce the start time.
With the change and previous change of doing clean step in only given paths,
start time of mm/mmm is reduced from ~5s to about 1s;
lunch time is reduced from ~40s to 3.5s.

Bug: 7186768,7169854
Change-Id: Ifd72ba1c6362a5e1125a23c505fd47947ab56675
/build/make/core/product_config.mk
157a5e1695593f935c3223430f4530e21f990378 27-Sep-2012 Ying Wang <wangying@google.com> Load only the current product config makefile.

To reduce the start time.
With the change and previous change of doing clean step in only given paths,
start time of mm/mmm is reduced from ~5s to about 1s;
lunch time is reduced from ~40s to 3.5s.

Bug: 7186768,7169854
Change-Id: Ifd72ba1c6362a5e1125a23c505fd47947ab56675
/build/make/core/product_config.mk
4b0486b4a6108ea863da6232cc376cd1edc55640 21-Sep-2012 Ying Wang <wangying@google.com> Allow to tag owner to PRODUCT_COPY_FILES

PRODUCT_COPY_FILES now is a list of words like <source
path>:<destination path>[:<owner>].
The optional :<owner> is used to indicate the owner of a vendor file.

Bug: 7048854
Change-Id: I435d1e18b7a091fb62513062cfc2e420e51557ec
/build/make/core/product_config.mk
d23c3235fa183b8c4c78551c5947158d2db8d01f 21-May-2012 Joe Onorato <joeo@google.com> Dump the user tagged modules.

Change-Id: I623821df3e48b358a6b898ccb13750f7dc54ddcf
/build/make/core/product_config.mk
f926990ba3f04c03037b838cd5fe8f33c21e8013 16-Mar-2012 Dima Zavin <dima@android.com> core: allow product to provide kernel headers as well

This is useful when a device inherits from an architecture
product, such as omap4.mk. The architecture specific product
can provide kernel headers to all the devices that use
that architecture.

Change-Id: I0c9d3120a6089fb535a3fa8eccf10775a271cd21
Signed-off-by: Dima Zavin <dima@android.com>
/build/make/core/product_config.mk
9baabf8d7e017e4f34fef2f4766671804063df28 17-Oct-2011 Dianne Hackborn <hackbod@google.com> am a0f464a8: New PRODUCT_AAPT_PREF_CONFIG.

* commit 'a0f464a8e7f006177db084df7e925bbb8e5ffed3':
New PRODUCT_AAPT_PREF_CONFIG.
a0f464a8e7f006177db084df7e925bbb8e5ffed3 15-Oct-2011 Dianne Hackborn <hackbod@google.com> New PRODUCT_AAPT_PREF_CONFIG.

To use the new aapt --preferred-configurations option. For use with Prime
to be able to strip everything but xhdpi density bitmaps selectively,
not stripping when this would result in no data for the resource.

Change-Id: I4e1012929b8f9b0b1e79c06496647f69661ba1f2
/build/make/core/product_config.mk
32ef58e2c13b9692f9b16a14434978200573d26c 10-Oct-2011 Ying Wang <wangying@google.com> Remove PRODUCT_CONTRIBUTORS_FILE which is no longer in use.

Bug: 5433204
Change-Id: Id88c21f8d1991d8cbcc5bb7dae784aa72dc4becf
/build/make/core/product_config.mk
3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1 04-Oct-2011 Ying Wang <wangying@google.com> Support for product-specific dev keys.

Change-Id: Id577a72ee9f7cd70e8ca77efcbf10a37885c7d6f
/build/make/core/product_config.mk
e33ba4c49ed461d608c65eb4e09d31ca81d167ff 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Ie814f4c8d3aa1e7cc7f5735822ab25542f36cf62
/build/make/core/product_config.mk
cf5da40e5295f28f84e760dccfb02278c55dfc10 18-Jun-2011 Ying Wang <wangying@google.com> Fix tab.

The tab broke unbundled targets.

Change-Id: Ia97d4bdd69f7bb48eb3c51a01f0ab7085b5949a0
/build/make/core/product_config.mk
cbb3266b4712fe0aa82d80d9d6db0974be9eea3f 17-Jun-2011 Ryo Fujii <royfujii@google.com> fix broken build rules for host VM.
/build/make/core/product_config.mk
0d23fec792d2bc92417d2b2e716be73704efc240 09-Jun-2011 Mike Lockwood <lockwood@android.com> Add support for products overriding properties in /default.prop

We need this to allow products to specify the default USB configuration,
and allow the build system to add adb to this configuration
for eng and userdebug builds.

For example:

PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp

Change-Id: I83d7d918e57a8117eb96919e17d8ad52afdc0388
Signed-off-by: Mike Lockwood <lockwood@android.com>
/build/make/core/product_config.mk
f7ad63ae65f75e5aa0d0a8234feddacdace95df0 31-May-2011 Dan Bornstein <danfuzz@android.com> Clean up how dex preoptimization gets configured.

Change-Id: I505ac438f1b963060b4be36d94bb5fbee6112dc5
/build/make/core/product_config.mk
d37720cdf66d2fc5c074cf198bc70566e02afc12 16-Mar-2011 Doug Zongker <dougz@android.com> am 095dbffd: am 5d4808db: put extra recovery keys in the product definition

* commit '095dbffd605eb1bb602b028000aab4494288c6f6':
put extra recovery keys in the product definition
5d4808db1630048f6eb0610b75af01c9fc877412 16-Mar-2011 Doug Zongker <dougz@android.com> put extra recovery keys in the product definition

Change-Id: I71637cd578b24891c10171aa59406848649be703
/build/make/core/product_config.mk
4f1ab92aac00a73276793ed25af669d112618a32 15-Mar-2011 Ying Wang <wangying@google.com> Move screen density config from PRODUCT_LOCALES to PRODUCT_AAPT_CONFIG

With this change, PRODUCT_LOCALES will contain only locales.
Other aapt config flags, such as *dpi, small/normal/large/xlarge,
should go to PRODUCT_AAPT_CONFIGS.
Bug: 4086309

Change-Id: I922f153d79777a9522c542a3907111193b40e7b7
/build/make/core/product_config.mk
cae4d12fd114babec4249123c56110b8e247fda1 03-Nov-2010 Ying Wang <wangying@google.com> 'make dump-products' to dump products.

Change-Id: I6a1e7ce5d54f47898199bfc9d29245c2598f733c
/build/make/core/product_config.mk
700b88e1451f216d137d8a356496bf51712512c6 05-Oct-2010 Joe Onorato <joeo@google.com> Pass device characteristic information through to aapt.

A build configuration can define PRODUCT_CHARACTERISTICS, which is
a comma-separated list of device characteristics, for example
"nosdcard,grayscale". This will be passed through to aapt with
the --product flag.

Change-Id: I902c034b2f2824dbd2d33449308ee08beeb09551
/build/make/core/product_config.mk
db2cb63612af2bc9e8bd7ea6d33da2218a33de2d 15-Sep-2010 Ying Wang <wangying@google.com> Change "make PRODUCT-XXX-tests" to build only tests-build-target

Change-Id: Ib1a1a7b09ea6f1c3eea84394dcd6e3ebcda81e1a
/build/make/core/product_config.mk
f13bdd94dc4d4f261d7a4850d7f4cd34b88e2cab 08-Sep-2010 Dan Bornstein <danfuzz@android.com> Enable WITH_HOST_DALVIK for "user" builds on Linux.

Bug: 2497274
Change-Id: I636895b52c82f301f8c288ae670b34e1dbf32cc5
/build/make/core/product_config.mk
c01cf7b9e6bda3f7e15aeda9cff03b6b41c5cba6 16-Jun-2010 Ying Wang <wangying@google.com> resolved conflicts for merge of 2b8d2383 to gingerbread

Change-Id: I9174f843f0fde139a7d582f45b027f3face5c981
16fa4b290e8ce76652c9ba0ba16b80578456ab95 10-Jun-2010 Joe Onorato <joeo@android.com> Rename is_unbundled_app_build and UNBUNDLED_APP_BUILD to TARGET_BUILD_APPS.

Change-Id: I79e6f60e009dad3a48709962347441e4ca0c337a
/build/make/core/product_config.mk
f33c3ef9332c2d3e4a04b14819aa3dbb9f0d4d21 02-Jun-2010 Ying Wang <wangying@google.com> am b93e03cb: am 52911309: Cherry-pick unbundled build changes from master

Merge commit 'b93e03cbc9d47a9d9a385c780ed64639e2a23ae5' into kraken

* commit 'b93e03cbc9d47a9d9a385c780ed64639e2a23ae5':
Cherry-pick unbundled build changes from master
529113098350c026ec521258d4c6fba51f285a48 26-May-2010 Ying Wang <wangying@google.com> Cherry-pick unbundled build changes from master

Change-Id: I82cab32f00b7b729d9b01c8e1532c8bf0ad2fb92
/build/make/core/product_config.mk
e0a18a75a930fd83ceee55a8ac0270625476d8c1 07-Apr-2010 Joe Onorato <joeo@android.com> Finish moving the policies out of frameworks/policies/base and into frameworks/base.

Change-Id: I6b3991de3276258318cab2aff9651f18b3d07f85
/build/make/core/product_config.mk
580cdbe0fe0dd794c7035d8a406353f88aad827e 17-Nov-2009 Adam Bliss <abliss@google.com> Enables nodpi drawables in the framework.
/build/make/core/product_config.mk
c6646c9ac41122ecc022102efdcceb890a0ca529 28-Aug-2009 Daniel Sandler <dsandler@google.com> Introduce a default density ('mdpi') for all device builds.

This is done by appending "mdpi" (medium density or 160 dpi, which is what
we've been using so far on dream etc.) to PRODUCT_LOCALES if no other dpi is
found there. (PRODUCT_LOCALES is then sent as a configuration parameter to
aapt to determine which resources should be included in the build.)

With this change, each build will now include only one density of any given
asset. For example, if there exists

drawable-hdpi/foo.png
drawable-mdpi/foo.png

...then the build will include *only* drawable-mdpi/foo.png, unless the
density is overridden in the build's own device spec:

PRODUCT_LOCALES += hdpi

...in which case the build will include only drawable-hdpi/foo.png.
/build/make/core/product_config.mk
fbd10d940d9dca8aba940f91fceade4098c6cb92 20-May-2009 Robert Greenwalt <robdroid@android.com> Add PRODUCT_DEFAULT_WIFI_CHANNELS build var.

Allows the build to specify the default number of allowed
WIFI channels. Part of the fix for 1625953.
/build/make/core/product_config.mk
952824843b868560713f668887e1961de534a250 24-Apr-2009 Dave Bort <dbort@android.com> core: Don't debug native modules when TARGET_BUILD_TYPE==debug

Don't make the simulator default to debug mode.

Remove all global "debug" {C,CPP}FLAGS, which are no longer used.
/build/make/core/product_config.mk
8539929a12f135f45de9cd99f9502431f7d2de85 10-Apr-2009 Mike Lockwood <> AI 145704: Manually integrate change 145576 to donutburger to fix "lunch"

Automated import of CL 145704
/build/make/core/product_config.mk
64d85d0d827489c514f6aec075482563c80cda73 10-Apr-2009 Joe Onorato <> AI 145618: am: CL 145333 Cloned from CL 144759 by 'g4 patch'.
Original change by joeo@abreu on 2009/04/06 19:54:13.
Implement SDK add-ons in the build system.
- Add an option to use the standard javadoc doclet instead
of droiddoc, since droiddocs non-sdk templates aren't
ready for prime time.
- Add the notion of a stubs for a library. It's only
implemented for java libraries, but when we do native
libraries in the NDK or sdk-addons, it will work there too.
Original author: joeo
Merged from: //branches/cupcake/...

Automated import of CL 145618
/build/make/core/product_config.mk
17c83cf22c426c628b4b21bc65128a0d80866d31 02-Apr-2009 Doug Zongker <> AI 144130: Don't build OTA package keys into the recovery binary; read
them from an external file in the recovery image. Use the
test-keys for all builds.

Automated import of CL 144130
/build/make/core/product_config.mk
d14f6d92d4284ea54520bb29f21411e892ba43ed 25-Mar-2009 Dave Bort <> Automated import from //branches/donutburger/...@141759,141759
/build/make/core/product_config.mk
2f31293ba78695cb48ac5a1cab835197ace58d47 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
/build/make/core/product_config.mk
88b607994a148f4af5bffee163e39ce8296750c6 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/core/product_config.mk
05806d7af62e07c6225b2e7103a1b115ecf6c9ad 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/core/product_config.mk
4d23ccc023c8b98eb97a7cce820aa80bff2f3522 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
/build/make/core/product_config.mk
475fa12adef8fc2b08290555a33dc8a9fef05be4 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/build/make/core/product_config.mk
66339ad5cebeae8f4cbf7e335c67368abbb91223 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/build/make/core/product_config.mk
dcc08f073b6873c69ab891d4f69f7c568e282df7 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/build/make/core/product_config.mk
b6c1cf6de79035f58b512f4400db458c8401379a 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/build/make/core/product_config.mk