diff --git a/src/test/java/com/google/devtools/build/lib/packages/util/MockPlatformSupport.java b/src/test/java/com/google/devtools/build/lib/packages/util/MockPlatformSupport.java index 74d39e725ad4c7..d631fd808a68e6 100644 --- a/src/test/java/com/google/devtools/build/lib/packages/util/MockPlatformSupport.java +++ b/src/test/java/com/google/devtools/build/lib/packages/util/MockPlatformSupport.java @@ -116,7 +116,6 @@ public static void setup( " '" + constraintsPackageRoot + "cpu:x86_64',", " '" + constraintsPackageRoot + "os:linux',", " '" + platformPackageRoot + "/java/constraints:jdk11',", - " '" + platformPackageRoot + "/java/constraints:java8',", " ],", ")", "platform(", @@ -125,7 +124,6 @@ public static void setup( " '" + constraintsPackageRoot + "cpu:x86_64',", " '" + constraintsPackageRoot + "os:linux',", " '" + platformPackageRoot + "/java/constraints:jdk11',", - " '" + platformPackageRoot + "/java/constraints:java8',", " ],", ")"); mockToolsConfig.create( diff --git a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidPlatformsTest.java b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidPlatformsTest.java index d756a63c905335..69da213fcdec8b 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidPlatformsTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidPlatformsTest.java @@ -60,13 +60,11 @@ public void setupPlatformsAndToolchains() throws Exception { "platform(", " name = 'x86_platform',", " constraint_values = [", - " '" + TestConstants.PLATFORM_PACKAGE_ROOT + "/java/constraints:java8',", " '" + TestConstants.CONSTRAINTS_PACKAGE_ROOT + "cpu:x86_64',", " ])", "platform(", " name = 'arm_platform',", " constraint_values = [", - " '" + TestConstants.PLATFORM_PACKAGE_ROOT + "/java/constraints:java8',", " '" + TestConstants.CONSTRAINTS_PACKAGE_ROOT + "cpu:arm',", " ])"); BazelMockAndroidSupport.setupPlatformResolvableSdks(mockToolsConfig);