aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-04-28 18:22:05 +0900
committerJiyong Park <jiyong@google.com>2020-05-08 06:52:02 +0000
commit306a907bb6e1eb164b6598e32adbb0ce05427916 (patch)
tree8c1eacabe1802a7153d6321cc90904c60d80b775
parentc10c9545a76ffa7763d3e7c73f74ba2fb0a290b9 (diff)
downloadv8-306a907bb6e1eb164b6598e32adbb0ce05427916.tar.gz
Set apex_available property
The marked library(ies) were available to the APEXes via the hand-written whitelist in build/soong/apex/apex.go. Trying to remove the whitelist by adding apex_available property to the Android.bp of the libraries. Bug: 150999716 Test: m Merged-In: I9e03b5c4d7d7259661921aec8b727245db1ab7e3 Change-Id: I085f350a604e54a692cf70408a05472cbf06069a
-rw-r--r--Android.base.bp5
-rw-r--r--Android.bp12
-rw-r--r--Android.platform.bp5
-rw-r--r--Android.sampler.bp5
-rw-r--r--Android.v8.bp5
5 files changed, 31 insertions, 1 deletions
diff --git a/Android.base.bp b/Android.base.bp
index e4a18a14..df62d0a1 100644
--- a/Android.base.bp
+++ b/Android.base.bp
@@ -40,4 +40,9 @@ cc_library_static {
srcs: ["src/base/platform/platform-macos.cc"],
},
},
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}
diff --git a/Android.bp b/Android.bp
index a5859f2e..c1244234 100644
--- a/Android.bp
+++ b/Android.bp
@@ -101,6 +101,11 @@ cc_library_static {
"libicui18n_headers",
],
generated_headers: ["v8_torque_file"],
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}
cc_binary_host {
@@ -230,6 +235,11 @@ cc_library_static {
"libv8gen",
],
export_include_dirs: ["include"],
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}
// The bare 'd8' name conflicts with d8 from prebuilts/r8
@@ -276,4 +286,4 @@ genrule {
],
out: ["d8-js.cc"],
}
-*/ \ No newline at end of file
+*/
diff --git a/Android.platform.bp b/Android.platform.bp
index 3a228b19..826ef438 100644
--- a/Android.platform.bp
+++ b/Android.platform.bp
@@ -19,4 +19,9 @@ cc_library_static {
"src",
"include",
],
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}
diff --git a/Android.sampler.bp b/Android.sampler.bp
index 081744e4..b6a3f35b 100644
--- a/Android.sampler.bp
+++ b/Android.sampler.bp
@@ -8,4 +8,9 @@ cc_library_static {
"src",
"include",
],
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}
diff --git a/Android.v8.bp b/Android.v8.bp
index 539d342e..09f14dad 100644
--- a/Android.v8.bp
+++ b/Android.v8.bp
@@ -657,4 +657,9 @@ cc_library_static {
cfi: true,
blacklist: "./tools/cfi/blacklist.txt",
},
+
+ apex_available: [
+ "com.android.art.debug",
+ "com.android.art.release",
+ ],
}