| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The two flags have been merged and renamed in ART.
(cherry picked from commit d8fae9a6a64dfa910d68d57fc820c1b1e4150f88)
Bug: 21924613
Change-Id: Iffc1dcc6764367239d6f45a3598cdb2c5d5d5013
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously odex files were stored alongside the dex location as:
dex location: /foo/bar/base.apk
odex location: /foo/bar/<isa>/base.odex
This changes where odex files are stored, adding an "oat" directory:
dex location: /foo/bar/base.apk
odex location: /foo/bar/oat/<isa>/base.odex
See also the corresponding change in platform/art and
platform/frameworks/native.
Bug: 19550105
Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265
|
|
|
|
|
|
|
|
| |
Expectation is that classes in pre-compiled apps should be structurally
sound and not cause a hard failure.
Bug: 19606409
Change-Id: Idc9da4d4c6bd259555671c657d3414a97940717f
|
|
|
|
|
|
| |
Set ART base address for mips64 to the same value as for mips32.
Change-Id: Idd3a05c87867bce9eb769cfec412102944703a43
|
|
|
|
|
|
|
|
|
|
| |
Allow a compiled-classes file for pre-opting.
Bug: 18410571
(cherry picked from commit 4fec0bb265ac8cdbe883b8868abfcb56713db170)
Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.
Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21
|
|
|
|
|
|
|
|
| |
Also, add it to the ANDROID_BUILD_PROPERTIES.
Remove non-default instruction set features.
Bug: 18056890
Change-Id: I9169cdfecbb176f62b941852948222edc3f511fd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I738ad878a2961d118b5a89bf7d434606df2fad92
|
|
|
| |
Change-Id: Ic13cf6f9dfb117193a5101781945c501d138955c
|
|
|
|
|
|
|
|
| |
Bug: 16938924
(cherry picked from commit 91b9d01b6ba2d3ea37928febce67d13c005a2336)
Change-Id: I0b744e0aaacc11fe8983f22f56ffc546a07ae764
|
|
|
|
|
|
|
|
|
| |
Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.
Bug: 15358152
Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
|
|
|
|
|
|
| |
The image Xmx is already fixed at 64m. The issue is in the non boot image case.
Change-Id: Idd508187ce8ac3d3c8dbe357c74bc33a5c8185dd
|
|
|
|
|
|
|
| |
Use an override for the dex2oat Xmx value when cross-compiling.
Bug: 16221224
Change-Id: Iaeac95cd50a0bae7817ee7da23b3cf25246f1d6d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 15919420
Change-Id: If92318a6e3d5b9c8c6a2d08a3371386fa5ad8f45
|
|
|
|
|
|
|
|
|
|
| |
We already support pure 32-bit and 64-bit-by-default multilib build.
With HOST_PREFER_32_BIT we can build 32-bit-by-default multilib build.
This will be lest disruptive during the period we transition to
64-bit-by-default.
Bug: 13751317
Change-Id: I0d56ce4abbe4afeaacfd70d709f6a349791c0722
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Depends upon:
https://android-review.googlesource.com/#/c/94096/2
Change-Id: I79bec60a17ea7cf9214e56f8035d4a1b80b0eeb6
|
|
|
|
| |
Change-Id: Ia95d74517f8182031d6044ae55559010a98ec5ca
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ie7c238908a5739af752a08fec1a04914026a8f96
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Required for getting ART with valgrind on device working since
valgrind maps things in the 0x60000000 address range.
Bug: 13323732
Change-Id: I05efdbf3fe5acd1418e1d4ced5844154fb4c5d37
|
|/
|
|
|
|
|
|
|
| |
1) Disable dexpreopt if DALVIK_VM_LIB isn't set up by the product.
2) DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES is moved to config.mk,
for it's only decided by target arch.
3) Move Java module input from embedded.mk to base.mk.
Change-Id: Ife70b0cd8cee2e5c92f356c808affa56f494b49a
|
|
|
|
| |
Change-Id: If4a962976d1e8a283d6b682112a1b12d328d8dbb
|
|
|
|
|
|
| |
(cherry-picked from commit cd337c71ee65b17529a67af34d4c0b2824a4f175)
Change-Id: I6d8ab3b3cf52f6a6b15f1c8e8d00cdf59042436b
|
|
Change-Id: I24d0d7b2a23a769f5d69bd4dc14be22e1475b759
|