summaryrefslogtreecommitdiffstats
path: root/core/dex_preopt_libart_boot.mk
Commit message (Collapse)AuthorAgeFilesLines
* Pass --no-generate-debug-info to dex2oat.David Srbecky2015-06-191-1/+1
| | | | | | | | | The two flags have been merged and renamed in ART. (cherry picked from commit d8fae9a6a64dfa910d68d57fc820c1b1e4150f88) Bug: 21924613 Change-Id: Iffc1dcc6764367239d6f45a3598cdb2c5d5d5013
* Add --include-cfi compiler option.David Srbecky2015-04-131-1/+1
| | | | | | | | | | | | Decouple generation of CFI from the rest of debug symbols. This makes it possible to generate oat with CFI but without the rest of debug symbols. This is in line with intention of the .eh_frame section. The section does not have the .debug_ prefix because it is considered somewhat different to the rest of debug symbols. Change-Id: I32816ecd4f30ac4e0dc69d69a4993e349c737f96
* Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATABrian Carlstrom2014-12-151-3/+0
| | | | | Bug: 18673991 Change-Id: I64261ef6a37df92eeef8552b8fd0a67157e4a034
* Build: Support for compiled-classes fileAndreas Gampe2014-11-181-1/+7
| | | | | | | | | | Allow a compiled-classes file for pre-opting. Bug: 18410571 (cherry picked from commit 4fec0bb265ac8cdbe883b8868abfcb56713db170) Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
* core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat filesIgor Murashkin2014-11-181-0/+5
| | | | | | | | | | | | | | | When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true then the build will generate position-independent OAT images. This means that all the system applications no longer need to be relocated into /data/dalvik-cache and this can achieve saving disk space at the cost of slightly slower running code. Bug: 18035729 (cherry picked from commit da9f1a7e82b7e6d0677553f211835625078347f2) Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0
* Pass instruction set variant to dex2oat.Ian Rogers2014-11-081-0/+1
| | | | | | | | Also, add it to the ANDROID_BUILD_PROPERTIES. Remove non-default instruction set features. Bug: 18056890 Change-Id: I9169cdfecbb176f62b941852948222edc3f511fd
* Introduce per-product per-module dex-preopt configYing Wang2014-10-081-1/+2
| | | | | | | | | | | | | | | | | | | | | - 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
* Make which dex2oat version to use configurable.Nicolas Geoffray2014-10-071-2/+2
| | | Change-Id: Ic13cf6f9dfb117193a5101781945c501d138955c
* Add --no-include-debug-symbols to avoid bloat in user buildsBrian Carlstrom2014-08-281-1/+1
| | | | | | | | Bug: 16938924 (cherry picked from commit 91b9d01b6ba2d3ea37928febce67d13c005a2336) Change-Id: I0b744e0aaacc11fe8983f22f56ffc546a07ae764
* Make system use patchoat to relocate during runtime.Alex Light2014-08-051-1/+1
| | | | | | | | | Change DexPreOpt to include patch information of all compiled files so we can relocate at runtime. Bug: 15358152 Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
* build: fix host dex2oat runtime argsColin Cross2014-07-091-1/+1
| | | | | | | | | | | | | The dalvik.vm.* properties are in PRODUCT_DEFAULT_PROPERTY_OVERRIDES, not PRODUCT_PROPERTY_OVERRIDES. Use $(call func,args) for user defined functions Prepend the property contents with -Xms or -Xmx when passing to dex2oat. This only worked before because DEX2OAT_XMS, etc. were blank due to the first two bugs, which resulted in --runtime-arg --runtime-arg and anything starting with -- as the argument to --runtime-arg is silently ignored. Change-Id: Ifa30038b397355171fefcc5248eea033bb634036
* Make dex2oat heap size product configurable [build]Brian Carlstrom2014-07-081-1/+2
| | | | | Bug: 15919420 Change-Id: If92318a6e3d5b9c8c6a2d08a3371386fa5ad8f45
* Multilib support for odexYing Wang2014-05-181-0/+55
If the VM is libart and DEXPREOPT is enabled, - For a Java library and the boot image, we build for both 1st arch and 2nd arch. - For an app, we build for the multilib arch the module is targeted for. The odex file will be in <arch_name>/<module_name>.odex inside the same dir where the jar/apk file gets installed. Nothing changed if it's built for libdvm. Bug: 14694978 Change-Id: I45118a83758b41d52d6c9e38f93f0ba2775a6c74