Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a65f314e authored by Orion Hodson's avatar Orion Hodson
Browse files

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

Add temporary public visibility for libraries.

Update bpfmt for ART's repohooks.

Bug: 137364733
Test: m nothing
Test: copy libs to art/, create a CL, run repohooks, m nothing.

Change-Id: Ib9a280136e4b992fe17b8943cf404c9c803efb8d
parent f1933c91
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"],
+10 −1
Original line number Diff line number Diff line
@@ -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"],
}