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

Commit d11e67d8 authored by Josh Gao's avatar Josh Gao Committed by Jiyong Park
Browse files

adbd: add apex_available and visibility for internal libs.

abb links against libadbd_core for the shell protocol, and must be
on the system image because it links against cmd, so let's just
expose it to abb for now.

Exempt-From-Owner-Approval: cherry-pick from AOSP

Bug: http://b/151398197
Test: treehugger
Merged-In: Id926bc4324d3259def21ea19d3bd72320311a6e3
(cherry picked from commit b5673033)
Change-Id: Id926bc4324d3259def21ea19d3bd72320311a6e3
parent a6bcd481
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -425,6 +425,15 @@ cc_library_static {
            ],
        }
    },

    apex_available: [
        "//apex_available:platform",
        "com.android.adbd",
    ],
    visibility: [
        "//bootable/recovery/minadbd",
        "//system/core/adb",
    ],
}

cc_library {
@@ -492,6 +501,15 @@ cc_library {
            ],
        },
    },

    apex_available: [
        "//apex_available:platform",
        "com.android.adbd",
    ],
    visibility: [
        "//system/core/adb",
    ],

}

cc_library {