Prohibit dependencies outside of uses_sdks

When an APEX is built with uses_sdks, any depedndency from the APEX to
the outside of the APEX should be from the SDKs that the APEX is built
against.

Bug: 138182343
Test: m

Change-Id: I1c2ffe8d28ccf648d928ea59652c2d0070bf10eb
This commit is contained in:
Jiyong Park
2019-10-15 15:20:07 +09:00
parent d7d5e5a1ac
commit a7bc8ad0b9
8 changed files with 148 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ func GatherRequiredDepsForTest(os android.OsType) string {
name: "crtbegin_so",
recovery_available: true,
vendor_available: true,
stl: "none",
}
cc_object {
@@ -208,6 +209,7 @@ func GatherRequiredDepsForTest(os android.OsType) string {
name: "crtend_so",
recovery_available: true,
vendor_available: true,
stl: "none",
}
cc_object {