Update PGO configuration
Bug: http://b/63768402
- Remove the 'enable_profile_use' property. This is a no-op change with
https://android-review.googlesource.com/c/591562 - PGO profile use is
only enabled if the profile file exists. We don't have one yet.
- Move the profile file location to an art/ subdirectory so it doesn't
conflict with profiles for other projects
Test: Build AOSP
Change-Id: Ifb7cded58a786dc5b1024a4c2c770873fcf4413c
diff --git a/compiler/Android.bp b/compiler/Android.bp
index d4d72f3..01f761b 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -252,9 +252,8 @@
pgo: {
instrumentation: true,
- profile_file: "dex2oat.profdata",
+ profile_file: "art/dex2oat.profdata",
benchmarks: ["dex2oat"],
- enable_profile_use: false,
}
}
diff --git a/dex2oat/Android.bp b/dex2oat/Android.bp
index dc71b9b..3a6c86d 100644
--- a/dex2oat/Android.bp
+++ b/dex2oat/Android.bp
@@ -132,9 +132,8 @@
pgo: {
instrumentation: true,
- profile_file: "dex2oat.profdata",
+ profile_file: "art/dex2oat.profdata",
benchmarks: ["dex2oat"],
- enable_profile_use: false,
cflags: [
// Ignore frame-size increase resulting from instrumentation.
"-Wno-frame-larger-than=",
diff --git a/dexlayout/Android.bp b/dexlayout/Android.bp
index 4f5d810..23ad5fd 100644
--- a/dexlayout/Android.bp
+++ b/dexlayout/Android.bp
@@ -37,9 +37,8 @@
pgo: {
instrumentation: true,
- profile_file: "dex2oat.profdata",
+ profile_file: "art/dex2oat.profdata",
benchmarks: ["dex2oat"],
- enable_profile_use: false,
}
}