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