diff options
author | 2019-10-17 21:29:01 +0100 | |
---|---|---|
committer | 2019-10-21 14:34:02 +0000 | |
commit | 3bb009ac148d6e1978d9233b0131a027585752f7 (patch) | |
tree | f5177cffa33c1e6479a04d438cce937306ad8dfe /libnativebridge/Android.bp | |
parent | e41eec3b193d594577cbe8afc7c3dc6608c2f201 (diff) |
Use art_defaults in libnative*, for consistency.
Also change to //art:__submodules__ for consistent internal visibility, and
some TODO comment corrections.
Test: m WITH_TIDY=1
Test: build & boot
Test: atest art/libnativeloader/test (no new errors, but existing ones on arm64 - b/142896688)
Test: (atest art/libnativebridge/tests doesn't work at all, but that's not new - b/142897320)
Bug: 137364733
Bug: 133140750
Change-Id: If9ddb5a597eea3606342c3625dcdb3bcf5d19041
Diffstat (limited to 'libnativebridge/Android.bp')
-rw-r--r-- | libnativebridge/Android.bp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp index 2dd92d117e..f2db117b50 100644 --- a/libnativebridge/Android.bp +++ b/libnativebridge/Android.bp @@ -1,9 +1,6 @@ cc_defaults { name: "libnativebridge-defaults", - cflags: [ - "-Werror", - "-Wall", - ], + defaults: ["art_defaults"], cppflags: [ "-fvisibility=protected", ], @@ -22,9 +19,8 @@ cc_library { name: "libnativebridge", defaults: ["libnativebridge-defaults"], visibility: [ - "//art:__subpackages__", - // TODO(b/133140750): Clean this up. "//frameworks/base/cmds/app_process", + // TODO(b/133140750): Clean this up. "//frameworks/base/native/webview/loader/libwebviewchromium_loader", ], |