diff --git a/tests/cts/hostside/app/Android.bp b/tests/cts/hostside/app/Android.bp index 813e6c716f..d34394cb15 100644 --- a/tests/cts/hostside/app/Android.bp +++ b/tests/cts/hostside/app/Android.bp @@ -36,6 +36,10 @@ android_test_helper_app { "android.test.base", ], srcs: ["src/**/*.java"], + // STOPSHIP: remove this before releasing any networking modules. + exclude_srcs: [ + "src/com/android/cts/net/hostside/VpnTest.java", + ], // Tag this module as a cts test artifact test_suites: [ "cts", diff --git a/tests/cts/net/Android.bp b/tests/cts/net/Android.bp index 13b5e9a94f..5cfd450dca 100644 --- a/tests/cts/net/Android.bp +++ b/tests/cts/net/Android.bp @@ -39,6 +39,12 @@ java_defaults { "src/**/*.java", "src/**/*.kt", ], + exclude_srcs: [ + // STOPSHIP: delete this before releasing any networking modules. + "src/android/net/cts/ConnectivityManagerTest.java", + // TODO: delete this after mainline-prod snaps to sc-dev. + "src/android/net/cts/NetworkAgentTest.kt", + ], jarjar_rules: "jarjar-rules-shared.txt", static_libs: [ "FrameworksNetCommonTests",