summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-10-09 07:43:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-10-09 07:43:46 +0000
commit2a46301b488e69541c4b0f759fd4c3b1cfe88311 (patch)
tree9d6a43768961297342416b2c77de11eb3da258d7
parent5d7969b58a8e1d34af28f32829164f3571fb9378 (diff)
parenta65f314e176dd5386e67cf9fb655dae7d7e84bf1 (diff)
downloadcore-2a46301b488e69541c4b0f759fd4c3b1cfe88311.tar.gz
Merge "Prepare for libnative{bridge,loader} moving to art/"
-rw-r--r--libnativebridge/Android.bp4
-rw-r--r--libnativeloader/Android.bp11
2 files changed, 14 insertions, 1 deletions
diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp
index 10d42e41f..c97845d16 100644
--- a/libnativebridge/Android.bp
+++ b/libnativebridge/Android.bp
@@ -21,6 +21,8 @@ cc_library_headers {
cc_library {
name: "libnativebridge",
defaults: ["libnativebridge-defaults"],
+ // TODO(oth): remove after moving under art/ (b/137364733)
+ visibility: ["//visibility:public"],
host_supported: true,
srcs: ["native_bridge.cc"],
@@ -52,6 +54,8 @@ cc_library {
cc_library {
name: "libnativebridge_lazy",
defaults: ["libnativebridge-defaults"],
+ // TODO(oth): remove after moving under art/ (b/137364733)
+ visibility: ["//visibility:public"],
host_supported: false,
srcs: ["native_bridge_lazy.cc"],
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index 939bdd7a7..2ee9d2827 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -16,6 +16,8 @@ cc_defaults {
cc_library {
name: "libnativeloader",
defaults: ["libnativeloader-defaults"],
+ // TODO(oth): remove after moving under art/ (b/137364733)
+ visibility: ["//visibility:public"],
host_supported: true,
srcs: [
"native_loader.cpp",
@@ -52,6 +54,8 @@ cc_library {
cc_library {
name: "libnativeloader_lazy",
defaults: ["libnativeloader-defaults"],
+ // TODO(oth): remove after moving under art/ (b/137364733)
+ visibility: ["//visibility:public"],
host_supported: false,
srcs: ["native_loader_lazy.cpp"],
required: ["libnativeloader"],
@@ -59,6 +63,8 @@ cc_library {
cc_library_headers {
name: "libnativeloader-headers",
+ // TODO(oth): remove after moving under art/ (b/137364733)
+ visibility: ["//visibility:public"],
host_supported: true,
export_include_dirs: ["include"],
}
@@ -83,6 +89,9 @@ cc_test {
"libnativebridge-headers",
"libnativeloader-headers",
],
- system_shared_libs: ["libc", "libm"],
+ system_shared_libs: [
+ "libc",
+ "libm",
+ ],
test_suites: ["device-tests"],
}