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

Commit ffe87169 authored by Chiachang Wang's avatar Chiachang Wang Committed by Lorenzo Colitti
Browse files

Build API 31 shims against module_current.

This is needed to ensure the shims (and everything that uses
them, which soon will include other modules and CTS tests) can
access module_lib APIs.

This requires explicitly depending on framework-connectivity,
because module_current does not include the API stubs.

Bug: 167645754
Test: m NetworkStack NetworkStackNext
Change-Id: Ifbcbde5a49b18a40890b887544d72972d7f42857
parent 01cd6430
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -121,8 +121,9 @@ java_library {
        "NetworkStackShimsCommon",
        "NetworkStackApi29Shims",
        "NetworkStackApi30Shims",
        "framework-connectivity",
    ],
    sdk_version: "system_current",
    sdk_version: "module_current",
    visibility: ["//visibility:private"],
}

@@ -138,7 +139,7 @@ java_library {
        "NetworkStackApi30Shims",
        "NetworkStackApi31Shims",
    ],
    sdk_version: "system_current",
    sdk_version: "module_current",
    visibility: ["//visibility:private"],
}