diff options
author | Orion Hodson <oth@google.com> | 2019-10-11 11:30:01 +0100 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2019-10-14 07:49:45 +0000 |
commit | c78860b91ae07eed92f86876e7a03132adea6fcd (patch) | |
tree | 820f338333010f4d6e4b543ffea47e9ff7d2dd3f /libnativebridge | |
parent | b9a8541380c2bdb9685e16d8d4b2ba034ddbf870 (diff) |
Remove temporary soong visibility workarounds
Removes temporary unrestricted visibility for libnativeloader and
libnativebridge.
Bug: 137364733
Test: m nothing
Change-Id: I32d871b639deddd664c42e9962f6826ab798862f
Diffstat (limited to 'libnativebridge')
-rw-r--r-- | libnativebridge/Android.bp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp index c97845d16a..2dd92d117e 100644 --- a/libnativebridge/Android.bp +++ b/libnativebridge/Android.bp @@ -21,8 +21,12 @@ cc_library_headers { cc_library { name: "libnativebridge", defaults: ["libnativebridge-defaults"], - // TODO(oth): remove after moving under art/ (b/137364733) - visibility: ["//visibility:public"], + visibility: [ + "//art:__subpackages__", + // TODO(b/133140750): Clean this up. + "//frameworks/base/cmds/app_process", + "//frameworks/base/native/webview/loader/libwebviewchromium_loader", + ], host_supported: true, srcs: ["native_bridge.cc"], @@ -54,8 +58,12 @@ cc_library { cc_library { name: "libnativebridge_lazy", defaults: ["libnativebridge-defaults"], - // TODO(oth): remove after moving under art/ (b/137364733) - visibility: ["//visibility:public"], + visibility: [ + "//art/libnativebridge/tests", + "//frameworks/base/core/jni", + "//frameworks/native/opengl/libs", + "//frameworks/native/vulkan/libvulkan", + ], host_supported: false, srcs: ["native_bridge_lazy.cc"], |