From 2be434ab12406ca0480ac72bdf94751ddcb85dd6 Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Wed, 24 Feb 2021 10:51:11 +0900 Subject: [PATCH] Make the CTS tests explicitly depend on modules-utils-build. In AOSP master and downstream branches, this likely works via a transitive dependency. In mainline-prod, this doesn't work. Add the dependency explicitly, since it makes things build everywhere and in general it's also good practice to "include what you use". Bug: 167645754 Test: m CtsNetTestCasesLatestSdk in mainline-prod has fewer errors Change-Id: Ie575372415a806deee9996aab7f920d2c15bff80 --- tests/cts/net/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cts/net/Android.bp b/tests/cts/net/Android.bp index 229633e9f8..13b5e9a94f 100644 --- a/tests/cts/net/Android.bp +++ b/tests/cts/net/Android.bp @@ -48,6 +48,7 @@ java_defaults { "ctstestrunner-axt", "junit", "junit-params", + "modules-utils-build", "net-utils-framework-common", "truth-prebuilt", ],