summaryrefslogtreecommitdiffstats
path: root/core/product_config.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: support lineage device treesSimon Shields2017-01-091-1/+5
| | | | Change-Id: I087a97e31cab2ccfba16b5378cef429785baf7d0
* Revert "Add PRODUCT_BOOTANIMATION"Luca Stefani2017-01-051-6/+0
| | | | | | | | | | | Replace this with TARGET_BOOTANIMATION as part of the rework of the boot animation generation process in vendor/cm change Iee32f18440ff955d13ed85b273e97cbd540721fc. This reverts commit b2483ae08c00c42bd97f3b9e2ba5e841ec243d62. Change-Id: Id6fc55ee1bc0149f25e6165a3e5f3209ad4424fc (cherry picked from commit 74b511974651cbbcffd6e472777d33b4bf9ae5bc)
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-111-1/+1
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/build into cm-13.0 Android 6.0.1 release 22 Change-Id: Icd3603c1efc5fa85f48c19d13d484f0371ddae37
| * Switch emulator to generate userdebug images by defaultVince Harron2015-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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)
* | minnow_max: search for cm.mk in additional directoriesHoward M. Harte2015-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | Intel's product configuration files are structured slightly differentily than others. Device-specific configuration is nested one additional level, as follows: device/intel/<family>/<product>/ Change-Id: I78b02978dc759b94024e5c5533d1108ac2634549
* | product_config: Set CM_BUILD priority above TARGET_BUILD_APPSBrint E. Kriebel2015-10-061-8/+9
| | | | | | | | | | | | | | Even if we are doing TARGET_BUILD_APPS, we may want to use a cm target for building. Change-Id: Ic8053bc679fa8b726be90e611aeaacdf1850cabc
* | build: Add support for PRODUCT_COPY_FILES_OVERRIDESSteve Kondik2015-10-061-0/+16
| | | | | | | | | | | | | | | | | | * We may have a case where prebuilts need to be built from source instead based on an externalized config. * New directive takes a list of destination files to remove from PRODUCT_COPY_FILES so that other instructions can be supplied. Change-Id: I7feff16440e54d1676ffddbbd96d5947efa43ede
* | Add PRODUCT_BOOTANIMATIONWilliam Roberts2015-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just add PRODUCT_BOOTANIMATION in your product makefiles and point it to the zip file you would like to have used as the boot animation. The coresponsing build system handles picking the last one, which is the last product to set this. Change-Id: I8c95a515a8fbb92d363141eb79e254712dccc162 Signed-off-by: William Roberts <wroberts@tresys.com> Fix for build break when PRODUCT_BOOTANIMATION is unset Change-Id: I236c2dd35ba0e632ed327ed6dc36324c9e59587a Restore original behavior when PRODUCT_BOOTANIMATION is undefined Change-Id: I3ee7141f7c26cee033b8a30824caf38fcacec5a8
* | build: Preliminary support for CM product buildsRicardo Cerqueira2015-10-061-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If building a cm_* product, skip crawling the filesystem for AndroidProduct makefiles (and, of course, parsing their contents) and aim directly for the device/cm/<product> device configuration Change-Id: I2a5e70dda973a6fcdbba0d5e26b35b99d3f1aea2 Change how we search for CM makefiles. build: Fix fastpath code for CM_BUILD * We need to adjust to the new validations Change-Id: I9066d4f437beb9597027ee6bbb52504b5e7e84c5
* | add support for overriding build.prop settings.Koushik Dutta2015-10-061-0/+3
|/ | | | Change-Id: Ie4224d608b7bcb0c2087bd77bc954f8f5f9b6495
* am ad6dd21e: Merge "Remove unused PRODUCT_TAGS"Brian Carlstrom2015-01-061-3/+0
|\ | | | | | | | | * commit 'ad6dd21e1ae27941b0c00629b095dd9a9ae2d7c2': Remove unused PRODUCT_TAGS
| * Remove unused PRODUCT_TAGSBrian Carlstrom2015-01-051-3/+0
| | | | | | | | | | Bug: 18895001 Change-Id: I2bbb1c04880218eaa06c1eff92280c636260f9ae
* | am 73a730ca: Merge "Remove libdvm support from the core build system."Ying Wang2014-12-161-30/+0
|\ \ | |/ | | | | | | * commit '73a730caf566fb778ad36f6d991666c482918d22': Remove libdvm support from the core build system.
| * Merge "Remove libdvm support from the core build system."Ying Wang2014-12-161-30/+0
| |\
| | * Remove libdvm support from the core build system.Ying Wang2014-12-161-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 8c5401c1: Merge "Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA"Brian Carlstrom2014-12-161-4/+0
|\ \ \ | |/ / | | | | | | | | | * commit '8c5401c1c6a5dfd87c4b0f0edc45810e35b93e40': Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA
| * | Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATABrian Carlstrom2014-12-151-4/+0
| |/ | | | | | | | | Bug: 18673991 Change-Id: I64261ef6a37df92eeef8552b8fd0a67157e4a034
| * resolved conflicts for merge of 3907c03e to lmp-dev-plus-aospYing Wang2014-10-091-0/+18
| |\ | | | | | | | | | Change-Id: I580ab0693609ff506da7346548a45322000114d1
| | * Introduce per-product per-module dex-preopt configYing Wang2014-10-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Add product variable PRODUCT_AAPT_PREBUILT_DPIYing Wang2014-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Remove uses of density in PRODUCT_AAP_CONFIGAdam Lesinski2014-12-031-14/+1
| | | | | | | | | | | | Change-Id: I98594165515c07fa2e6b847266f7d8fa3283b52e
* | | Introduce per-product per-module dex-preopt configYing Wang2014-10-311-0/+18
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Add anydpi to all product configsAdam Lesinski2014-08-261-2/+2
| | | | | | | | Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c
* | Remove services, wifi, ethernet from BOOTCLASSPATH.Narayan Kamath2014-08-121-0/+1
| | | | | | | | | | | | | | | | They belong to the system_server classpath. bug: 16555230 Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
* | am 7a6a9a55: am 4bdbd6d4: am e1b43254: Merge "Add --pseudo-localize aapt ↵Ying Wang2014-06-271-0/+7
|\ \ | |/ | | | | | | | | | | parameter for builds." * commit '7a6a9a558271ac959a2e441fe27aae3df77d4421': Add --pseudo-localize aapt parameter for builds.
| * Add --pseudo-localize aapt parameter for builds.Igor Viarheichyk2014-06-261-0/+7
| | | | | | | | | | | | | | | | | | | | 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
* | am 2d19cbd2: resolved conflicts for merge of 135e11df to ↵Ying Wang2014-06-111-2/+0
|\ \ | |/ | | | | | | | | | | klp-modular-dev-plus-aosp * commit '2d19cbd279ed69c7202f089be174c35c1585f709': Switch to 32-bit-by-default host multilib build.
| * Switch to 32-bit-by-default host multilib build.Ying Wang2014-06-091-2/+0
| | | | | | | | | | | | | | | | 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
| * Move to dalvik.vm.lib.2 to force default to libartBrian Carlstrom2014-05-281-1/+1
| | | | | | | | | | | | | | | | Bug: 14298175 (cherry picked from commit 7e127ebe0bf8753fcbeeac6140916d512322e308) Change-Id: I0a94e01f46fcc074d8c8fd1e5558fb764ab47361
* | Move to dalvik.vm.lib.2 to force default to libartBrian Carlstrom2014-05-281-1/+1
| | | | | | | | | | Bug: 14298175 Change-Id: Ie4a716dddddc4d339fd4f47033f2c546a1ca118a
* | am e50f2d9f: am 40b49d30: am a74ade94: Merge "Support host multilib build"Ying Wang2014-05-151-1/+1
|\ \ | |/ | | | | | | * commit 'e50f2d9f32a27d8290692dbf99ab8b247ef9d553': Support host multilib build
| * Support host multilib buildYing Wang2014-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Rename persist.sys.dalvik.vm.lib to allow new defaultBrian Carlstrom2014-01-301-1/+1
| | | | | | | | | | Bug: 12798969 Change-Id: Ie73a3f2b6655d0ae3e3a905a1c64747343c525a0
* | am 1fee45f1: am e854276d: Merge "Disable WITH_HOST_DALVIK on 64bit host builds."Ian Rogers2014-01-311-0/+2
|\ \ | |/ | | | | | | * commit '1fee45f1af82d9dbb2e709413f020b2291205640': Disable WITH_HOST_DALVIK on 64bit host builds.
| * Disable WITH_HOST_DALVIK on 64bit host builds.Ian Rogers2014-01-301-0/+2
| | | | | | | | Change-Id: I8cea32fe5541c3223e7f317245aab3061e8ad444
* | build: Rename persist.sys.dalvik.vm.lib to allow new defaultBrian Carlstrom2014-01-301-1/+1
| | | | | | | | | | | | | | | | Bug: 12798969 (cherry picked from commit 49f1fab8a5b82f6224ff1be601037270ecdb734b) Change-Id: I7f211fca2b9c99b607dd91590a3e4a82501e0c7f
* | resolved conflicts for merge of 1737b1ab to masterBrian Carlstrom2014-01-281-0/+4
|\ \ | |/ | | | | Change-Id: I5a5f2e83c5155c1c783711f736c60198a8f404ee
| * build: PRODUCT_DEX_PREOPT_IMAGE_IN_DATABrian Carlstrom2014-01-281-0/+4
| | | | | | | | | | | | (cherry-picked from commit cd337c71ee65b17529a67af34d4c0b2824a4f175) Change-Id: I6d8ab3b3cf52f6a6b15f1c8e8d00cdf59042436b
* | am a292b7b0: am 83709a21: am 95fc1a50: am f12d4810: Merge "PRODUCT_BOOT_JARS ↵Ying Wang2014-01-081-1/+1
|\ \ | |/ | | | | | | | | | | as a list of jar names separated by space" * commit 'a292b7b02bdf051df9eebbe4a51c6a55ce91a7a2': PRODUCT_BOOT_JARS as a list of jar names separated by space
| * PRODUCT_BOOT_JARS as a list of jar names separated by spaceYing Wang2014-01-071-1/+1
| | | | | | | | | | | | | | This makes it easier for OEMs to extend the PRODUCT_BOOT_JARS in their product configuration files. Change-Id: I5feca2f808b1914c275f28c7a4c38cca2ba6851f
* | am 03a06f41: am 9507a0fd: am 82c59aef: am 71e8a22e: Merge "Add DEXPREOPT ↵Ying Wang2013-12-181-0/+11
|\ \ | |/ | | | | | | | | | | support for ART" * commit '03a06f4158e9eea9152f25286fcf2c30044d4e06': Add DEXPREOPT support for ART
| * Add DEXPREOPT support for ARTBrian Carlstrom2013-12-171-0/+11
| | | | | | | | Change-Id: I24d0d7b2a23a769f5d69bd4dc14be22e1475b759
* | Keep a copy of the space-separated PRODUCT_AAPT_CONFIGYing Wang2013-11-221-1/+3
|/ | | | | | That can be used to select dpi-specific prebuilt apks. Change-Id: Ic68be8fc6fdb46f3ff8de490a35a042a31f1cb19
* Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATHYing Wang2013-07-241-0/+3
| | | | | | | | | - 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
* Bring in runtime-specific product variables in a more general way.Ying Wang2013-07-101-26/+27
| | | | Change-Id: Ibd0e0e8e3e0ca6afd125db8035ce08a7399b7547
* Move from WITH_ART to PRODUCT_RUNTIMESBrian Carlstrom2013-06-271-9/+26
| | | | Change-Id: I3a9217b4aafc1f59d095169deb9eaeae17320505
* Add WITH_ARTBrian Carlstrom2013-05-221-0/+4
| | | | | | (cherry picked from commit 6b7a0d2f1ff90d24e3ade9ccf82a084f5f999c1f) Change-Id: If6e208f9fc859f31da2cd71fdc1ddbe1fc1ed7aa
* am 2d17b1ab: resolved conflicts for merge of 01b2aaaa to jb-mr1-dev-plus-aospElliott Hughes2012-10-031-1/+1
|\ | | | | | | | | | | | | * 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
| * resolved conflicts for merge of 01b2aaaa to jb-mr1-dev-plus-aospElliott Hughes2012-10-031-1/+1
| |\ | | | | | | | | | Change-Id: I66481eb8b269775716f79e42e9d89c2ebbd45288
| | * Load only the current product config makefile.Ying Wang2012-10-031-17/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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