aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/java/JvmConfigurationLoader.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/java/JvmConfigurationLoader.java b/src/main/java/com/google/devtools/build/lib/rules/java/JvmConfigurationLoader.java
index 904f8637de..fe97c33620 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/java/JvmConfigurationLoader.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/java/JvmConfigurationLoader.java
@@ -14,7 +14,6 @@
package com.google.devtools.build.lib.rules.java;
-import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.analysis.RedirectChaser;
import com.google.devtools.build.lib.analysis.config.BuildConfiguration.Fragment;
@@ -162,19 +161,4 @@ public final class JvmConfigurationLoader implements ConfigurationFragmentFactor
}
return new Jvm(new PathFragment(javaHome), null);
}
-
- /**
- * Converts the cpu name to a GNU system name. If the cpu is not a known value, it returns
- * <code>"unknown-unknown-linux-gnu"</code>.
- */
- @VisibleForTesting
- static String convertCpuToGnuSystemName(String cpu) {
- if ("piii".equals(cpu)) {
- return "i686-unknown-linux-gnu";
- } else if ("k8".equals(cpu)) {
- return "x86_64-unknown-linux-gnu";
- } else {
- return "unknown-unknown-linux-gnu";
- }
- }
}