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

Commit 21366e6a authored by Treehugger Robot's avatar Treehugger Robot Committed by Luke Huang
Browse files

Set apex_available property

The marked library(ies) were available to the APEXes via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.

Bug: 150999716
Test: m
Merged-In: I3cb9f457c132f2553b002004837b55a3068c93a9
Change-Id: I4d09a5cb47fd2942d4d4409736099e8c495bfc5f
(cherry picked from commit fc1259ac)
parent 05922e38
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@ aidl_interface {
        },
        ndk: {
            gen_log: true,
            apex_available: [
                "com.android.resolv",
            ],
        },
    },
    versions: [
@@ -163,6 +166,7 @@ cc_library {
    sanitize: {
        cfi: true,
    },
    apex_available: ["com.android.resolv"],
}

cc_library_static {
@@ -175,6 +179,7 @@ cc_library_static {
    srcs: [
        "stats.proto",
    ],
    apex_available: ["com.android.resolv"],
}

genrule {
@@ -206,6 +211,7 @@ cc_library_static {
        "libgtest_prod", // Used by libstatspush_compat
        "libstatspush_compat",
    ],
    apex_available: ["com.android.resolv"],
}

filegroup {