Temporarily stop compiling three CTS tests.

This is better than commenting out code because any changes in
AOSP will automerge cleanly. When these tests are fixed by
adding a shim for ConnectivityManager, we can simply revert this
change.

Bug: 167645754
Test: m com.android.tethering
Ignore-AOSP-First: needed to sync mainline-prod with AOSP
Change-Id: I450e2d44870e70ad3b80f1843ff90dbd5cfc4902
Merged-In: Ib0ac49609e444a53a6fee4575f5078e15f364eef
diff --git a/tests/cts/hostside/app/Android.bp b/tests/cts/hostside/app/Android.bp
index 813e6c7..d34394c 100644
--- a/tests/cts/hostside/app/Android.bp
+++ b/tests/cts/hostside/app/Android.bp
@@ -36,6 +36,10 @@
         "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 13b5e9a..5cfd450 100644
--- a/tests/cts/net/Android.bp
+++ b/tests/cts/net/Android.bp
@@ -39,6 +39,12 @@
         "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",