summaryrefslogtreecommitdiffstats
path: root/core/product.mk
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-devNarayan Kamath2014-08-151-0/+2
|\
| * Remove services, wifi, ethernet from BOOTCLASSPATH.Narayan Kamath2014-08-121-0/+2
| | | | | | | | | | | | | | | | They belong to the system_server classpath. bug: 16555230 Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
* | Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.Alex Light2014-08-111-1/+2
|/ | | | | | | | | | | | | | If WITH_DEXOPT_BOOT_IMG_ONLY=true and WITH_DEXPREOPT=true then we will only preopt the boot.art and boot.oat files, leaving everything else to be compiled at first boot. This has fast startup times of WITH_DEXPREOPT but has a smaller space usage and allows one to update the non-image parts of /system without reflashing. Bug: 16938924 (cherry picked from commit 440cc769a3617bf99546bdc7599c949e1e858943) Change-Id: Ib366b6b5ad80f7078f01bf51f9fbc29ea7e5d777
* Added support for building verified vendor partitionDaniel Rosenberg2014-07-141-2/+2
| | | | | Change-Id: I762724800ccab3a365e6d2efdf86cd9c394818eb Signed-off-by: Daniel Rosenberg <drosen@google.com>
* core+tools: support specifying F2FS as the fstype for userdataJP Abgrall2014-06-171-0/+1
| | | | | | | | | | - Support TARGET_USERIMAGES_USE_F2FS. - Support BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE. - Support "userdata_fs_type" in the prop dict. - Update build_image to recognize f2fs and call the correct command. Change-Id: If31cc8bd235f93a4c7814fab36e6e2d13d3037ad Signed-off-by: JP Abgrall <jpa@google.com>
* Added variables to support seperate vendor patition.Daniel Rosenberg2014-05-291-1/+2
| | | | | Change-Id: I73cc76697e138aa8ce1273d410391d55c8d7f34f Signed-off-by: Daniel Rosenberg <drosen@google.com>
* Add verity support to `make dist`.Geremy Condra2014-05-101-1/+2
| | | | | | | Without this, system images will be built that do not contain the necessary bits for verification. Change-Id: I87c15282b26377d7a2a1540e3d0e30b0299622e3
* am 372df5a4: am 887a52d0: am a6b8025a: Merge "Add WITH_DEXPREOPT to the list ↵Ying Wang2014-05-021-1/+2
|\ | | | | | | | | | | | | of protected global variables." * commit '372df5a49ebae4ce04df4633be195afb224c5d86': Add WITH_DEXPREOPT to the list of protected global variables.
| * am 887a52d0: am a6b8025a: Merge "Add WITH_DEXPREOPT to the list of protected ↵Ying Wang2014-05-021-1/+2
| |\ | | | | | | | | | | | | | | | | | | global variables." * commit '887a52d02251a1a94f8e17ecbfe26ba15ece6af5': Add WITH_DEXPREOPT to the list of protected global variables.
| | * Add WITH_DEXPREOPT to the list of protected global variables.Ying Wang2014-05-011-1/+2
| | | | | | | | | | | | | | | Bug: 14380196 Change-Id: I02cff39eeaf2deddf434c0c310063e4b341edd43
* | | Import OEM build properties, if defined.Jeff Sharkey2014-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain products can define a list of system properties that should be delegated to the OEM. Since these properties may be ro.*, we give them first shot at defining. Also support blacklist of properties that should never be defined by build.prop, used to delegate to runtime fingerprint generation. Bug: 13367676 Change-Id: I3f00db732f485818205a7b76b31edbdc3a89aac0
* | | am 4170e2be: am fd841351: Merge "Support custom sdk.atree files." into ↵Ying Wang2014-02-121-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-modular-dev * commit '4170e2be8e7493f2ad1abd33ba74638d9d421b3b': Support custom sdk.atree files.
| * | Support custom sdk.atree files.Ying Wang2014-01-291-0/+1
| |/ | | | | | | | | Bug: 12683047 Change-Id: I79ca1eff81e947d03c50759d47426487e48435d0
* | resolved conflicts for merge of 1737b1ab to masterBrian Carlstrom2014-01-281-2/+2
|\ \ | |/ | | | | Change-Id: I5a5f2e83c5155c1c783711f736c60198a8f404ee
| * build: PRODUCT_DEX_PREOPT_IMAGE_IN_DATABrian Carlstrom2014-01-281-3/+3
| | | | | | | | | | | | (cherry-picked from commit cd337c71ee65b17529a67af34d4c0b2824a4f175) Change-Id: I6d8ab3b3cf52f6a6b15f1c8e8d00cdf59042436b
* | Add support for verity builds to the build system.Geremy Condra2013-11-171-1/+4
|/ | | | Change-Id: I3ef908d8d52ec88de453b161bbc3f198517a72f1
* Remove the vendor-specific vars from the protected list.Ying Wang2013-08-261-5/+0
| | | | Change-Id: I915a61034c9c3e2b886f609c4b8f4043e97bda61
* Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATHYing Wang2013-07-241-1/+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
* Move from WITH_ART to PRODUCT_RUNTIMESBrian Carlstrom2013-06-271-1/+2
| | | | Change-Id: I3a9217b4aafc1f59d095169deb9eaeae17320505
* Stash TARGET_CPU_VARIANT and print it in dumpvar.Ben Cheng2013-01-161-0/+1
| | | | | Bug:7961327 Change-Id: I8a3637a87b5a0f791568fe74e44a4a173541deb7
* Load only the current product config makefile.Ying Wang2012-09-271-1/+6
| | | | | | | | | | 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
* Allow to tag owner to PRODUCT_COPY_FILESYing Wang2012-09-201-1/+1
| | | | | | | | | 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: register BOARD_HAVE_BLUETOOTH_QCOMIliyan Malchev2012-08-151-0/+1
| | | | | Change-Id: I594abd6d3b152a4e5bc48b6ac447e155c85b2fe0 Signed-off-by: Iliyan Malchev <malchev@google.com>
* am d7d0afca: Add the ability in a product spec file to have modules ↵Joe Onorato2012-06-051-0/+3
|\ | | | | | | | | | | | | installed for specific variants. * commit 'd7d0afcaea24b0fb0cb37dca921a5ff52fd2485b': Add the ability in a product spec file to have modules installed for specific variants.
| * Add the ability in a product spec file to have modules installed for ↵Joe Onorato2012-06-051-0/+3
| | | | | | | | | | | | specific variants. Change-Id: Ifa5eb2e15b3d3e5007378ec00efc4aec3e9a3b99
* | am dd8fe390: am 36e4e050: Merge "add add-to-product-copy-files-if-exists for ↵Keun young Park2012-05-301-0/+4
|\ \ | | | | | | | | | | | | | | | | | | pdk" into jb-dev * commit 'dd8fe390ae9244398b41d23adfb42dbaa9804599': add add-to-product-copy-files-if-exists for pdk
| * | add add-to-product-copy-files-if-exists for pdkKeun young Park2012-05-301-0/+4
| | | | | | | | | | | | Change-Id: Ib35006824de81be31652bfff220bbe4e814869ce
* | | Merge commit '54973dbc' into workJoe Onorato2012-05-171-1/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | Conflicts: core/product.mk Change-Id: Ib5eb6be09b34bdc04602e2a35a4bf7df0ba82aad
| * Add rules to build the factory bundle.Joe Onorato2012-05-171-0/+1
| | | | | | | | Change-Id: I66bda914a5bd41bda7c8a4314f658924087e2bfb
| * Support to build factory ramdisk image.Ying Wang2011-12-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5769921 With this change, to build factory_ramdisk.img, set PRODUCT_FACTORY_RAMDISK_MODULES in your product config. PRODUCT_FACTORY_RAMDISK_MODULES consists of "<module_name>:<install_path>" pairs. <install_path> is relative to the root of the factory ramdisk output. For example: PRODUCT_FACTORY_RAMDISK_MODULES := \ toolbox:bin/toolbox adbd:sbin/adbd adb:bin/adb On the other hand you can use PRODUCT_COPY_FILES to copy prebuilt files to the factory ramdisk. Or you can define modules that are specific for the factory ramdisk (with LOCAL_MODULE_PATH pointing to TARGET_FACTORY_RAMDISK_OUT) and add the module names to PRODUCT_PACKAGES. Change-Id: I3778e3d091979261cb476628da1365f931e11f49
* | core: allow product to provide kernel headers as wellDima Zavin2012-03-191-0/+4
| | | | | | | | | | | | | | | | | | | | 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>
* | Support to build factory ramdisk image.Ying Wang2011-12-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5769921 With this change, to build factory_ramdisk.img, set PRODUCT_FACTORY_RAMDISK_MODULES in your product config. PRODUCT_FACTORY_RAMDISK_MODULES consists of "<module_name>:<install_path>" pairs. <install_path> is relative to the root of the factory ramdisk output. For example: PRODUCT_FACTORY_RAMDISK_MODULES := \ toolbox:bin/toolbox adbd:sbin/adbd adb:bin/adb On the other hand you can use PRODUCT_COPY_FILES to copy prebuilt files to the factory ramdisk. Or you can define modules that are specific for the factory ramdisk (with LOCAL_MODULE_PATH pointing to TARGET_FACTORY_RAMDISK_OUT) and add the module names to PRODUCT_PACKAGES. Change-Id: I80ff72606415cd74fe6f3bc93020a05d84e45b70
* | Restrict vendor modules to help AOSP product distribution.Ying Wang2011-12-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5692177 If you set "PRODUCT_RESTRICT_VENDOR_FILES := true" in a product configuration, this changes restricts that: - No overlays in the vendor tree. - No PRODUCT_COPY_FILES coming from the vendor tree. - Any referenced package with Android.mk in the vendor tree must have LOCAL_MODULE_OWNER set to a value that's compared against a whitelist stored in the core build system. Change-Id: I172b84c7c853e9a04bf9879ea8dec90bd5054230
* | am bb5ada52: am a032d3d0: Support for multiple PRODUCT_SDK_ADDON_DOC_MODULESYing Wang2011-11-111-1/+1
|\ \ | |/ | | | | | | * commit 'bb5ada524c3c15132c832e076104d44ca7dde5ad': Support for multiple PRODUCT_SDK_ADDON_DOC_MODULES
| * Support for multiple PRODUCT_SDK_ADDON_DOC_MODULESYing Wang2011-11-111-1/+1
| | | | | | | | | | Bug: 5429077 Change-Id: I8d962c803496479ba5b5e7316538aced65ee4df1
* | Build cache.img on demandYing Wang2011-11-101-0/+2
|/ | | | | | | | | Bug: 5153694 To build cache.img, set BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE (required, ext4 only for now), BOARD_CACHEIMAGE_PARTITION_SIZE (optional) in BoardConfig.mk. Change-Id: I1d8b91646aa1dba88285e008ad3335768bcbddd2
* am a0f464a8: New PRODUCT_AAPT_PREF_CONFIG.Dianne Hackborn2011-10-171-0/+1
|\ | | | | | | | | * commit 'a0f464a8e7f006177db084df7e925bbb8e5ffed3': New PRODUCT_AAPT_PREF_CONFIG.
| * New PRODUCT_AAPT_PREF_CONFIG.Dianne Hackborn2011-10-141-0/+1
| | | | | | | | | | | | | | | | 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
* | Remove PRODUCT_CONTRIBUTORS_FILE which is no longer in use.Ying Wang2011-10-101-1/+0
|/ | | | | Bug: 5433204 Change-Id: Id88c21f8d1991d8cbcc5bb7dae784aa72dc4becf
* Support for product-specific dev keys.Ying Wang2011-10-041-1/+6
| | | | Change-Id: Id577a72ee9f7cd70e8ca77efcbf10a37885c7d6f
* Add support for products overriding properties in /default.propMike Lockwood2011-06-091-0/+1
| | | | | | | | | | | | | | 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>
* am 095dbffd: am 5d4808db: put extra recovery keys in the product definitionDoug Zongker2011-03-161-0/+1
|\ | | | | | | | | * commit '095dbffd605eb1bb602b028000aab4494288c6f6': put extra recovery keys in the product definition
| * put extra recovery keys in the product definitionDoug Zongker2011-03-161-0/+1
| | | | | | | | Change-Id: I71637cd578b24891c10171aa59406848649be703
* | Move screen density config from PRODUCT_LOCALES to PRODUCT_AAPT_CONFIGYing Wang2011-03-151-0/+1
| | | | | | | | | | | | | | | | | | 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: remove prelinker build build systemIliyan Malchev2011-03-121-1/+0
|/ | | | | | | | | | | | | | | | | | | | This patch removes support for prelinking from the build system. By now, the prelinker has outlived its usefulness for several reasons. Firstly, the speedup that it afforded in the early days of Android is now nullified by the speed of hardware, as well as by the presence of Zygote. Secondly, the space savings that come with prelinking (measued at 17MB on a recent honeycomb stingray build) are no longer important either. Thirdly, prelinking reduces the effectiveness of Address-Space-Layout Randomization. Finally, since it is not part of the gcc suite, the prelinker needs to be maintained separately. The patch deletes apriori, soslim, lsd, isprelinked, and iself from the source tree. It also removes the prelink map. LOCAL_PRELINK_MODULE becomes a no-op. Individual Android.mk will get cleaned separately. Support for prelinking will have to be removed from the recovery code and from the dynamic loader as well. Change-Id: I5839c9c25f7772d5183eedfe20ab924f2a7cd411
* Enhance product vars examining.Ying Wang2010-12-291-3/+44
| | | | Change-Id: I348629aa6e63ad24d457e91af8f75712dcf91b27
* Verify PRODUCT_* are not modified by Android.mks, but allow them to be read ↵Ying Wang2010-10-111-18/+3
| | | | | | | only. Bug: 3076955 Change-Id: I7ddcc5b9d6325d3a3c63f952f97034ddf223630a
* am 5c41c178: am 700b88e1: Pass device characteristic information through to ↵Joe Onorato2010-10-081-0/+1
|\ | | | | | | | | | | | | | | | | aapt. Merge commit '5c41c17868865d1f2e9e2ff4680b528da61d16af' * commit '5c41c17868865d1f2e9e2ff4680b528da61d16af': Pass device characteristic information through to aapt.
| * Pass device characteristic information through to aapt.Joe Onorato2010-10-061-0/+1
| | | | | | | | | | | | | | | | | | 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
| * am b93e03cb: am 52911309: Cherry-pick unbundled build changes from masterYing Wang2010-06-021-5/+14
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'b93e03cbc9d47a9d9a385c780ed64639e2a23ae5' into kraken * commit 'b93e03cbc9d47a9d9a385c780ed64639e2a23ae5': Cherry-pick unbundled build changes from master