Merge "Prepare for libnative{bridge,loader} moving to art/"

am: 2a46301b48

Change-Id: Iafc1d91efdc1fa12ac6b4ffb16cba1cfc346e6fa
This commit is contained in:
Orion Hodson 2019-10-09 00:56:52 -07:00 committed by android-build-merger
commit 20cc17ba74
2 changed files with 14 additions and 1 deletions

View file

@ -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"],

View file

@ -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"],
}