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: Iad3a657411676952de5ed446db4dd4e754ea9e11
diff --git a/compiler/Android.bp b/compiler/Android.bp
index cde64b0..ec9fef7 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -210,7 +210,10 @@
 
 art_cc_library {
     name: "libart-compiler",
-    defaults: ["libart-compiler-defaults"],
+    defaults: [
+        "libart-compiler-defaults",
+        "dex2oat-pgo-defaults",
+    ],
     codegen: {
         arm: {
             // VIXL assembly support for ARM targets.
@@ -244,11 +247,6 @@
         "libdexfile",
     ],
 
-    pgo: {
-        instrumentation: true,
-        profile_file: "art/dex2oat.profdata",
-        benchmarks: ["dex2oat"],
-    },
     target: {
         android: {
             lto: {