aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2018-04-18 23:03:04 -0700
committerPirama Arumuga Nainar <pirama@google.com>2018-04-23 18:27:05 +0000
commitff087857dfab01b4a5e17ca2408e3cfb60f02b1c (patch)
tree2463165a38fa0e5a9d9e63b1b0b949f76e20fae0
parent930fb356b83d5f507b3320572079335b9838a658 (diff)
downloadvixl-ff087857dfab01b4a5e17ca2408e3cfb60f02b1c.tar.gz
Separate out PGO profile files per arch
Bug: http://b/78259283 Specify separate PGO profiles for AArch64/ARM and x86_64/x86. This allows per-arch profile collection that exercises ART's code generation for the corresponding 32-bit and 64-bit ABIs. Test: Build Sailfish and x86_64 targets and verify that corresponding profile files are read. Change-Id: I20a04b2d61ce4f33970f1715a62f4b7c28732fa8 Merged-In: I20a04b2d61ce4f33970f1715a62f4b7c28732fa8 (cherry picked from commit 67fa1c7e11686dbcd1b7446f94f1f605cf8793e2)
-rw-r--r--Android.bp24
1 files changed, 10 insertions, 14 deletions
diff --git a/Android.bp b/Android.bp
index 8f1c4ae4..3b2900bf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -123,17 +123,15 @@ cc_defaults {
cc_library {
name: "libvixl-arm64",
- defaults: ["vixl-release", "vixl-arm64"],
+ defaults: [
+ "vixl-release",
+ "vixl-arm64",
+ "dex2oat-pgo-defaults",
+ ],
vendor_available: true,
vndk: {
enabled: true,
},
-
- pgo: {
- instrumentation: true,
- profile_file: "art/dex2oat.profdata",
- benchmarks: ["dex2oat"],
- }
}
cc_library {
@@ -143,17 +141,15 @@ cc_library {
cc_library {
name: "libvixl-arm",
- defaults: ["vixl-release", "vixl-arm"],
+ defaults: [
+ "vixl-release",
+ "vixl-arm",
+ "dex2oat-pgo-defaults",
+ ],
vendor_available: true,
vndk: {
enabled: true,
},
-
- pgo: {
- instrumentation: true,
- profile_file: "art/dex2oat.profdata",
- benchmarks: ["dex2oat"],
- }
}
cc_library {