aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/platforms
diff options
context:
space:
mode:
authorGravatar cpeyser <cpeyser@google.com>2017-09-01 00:15:29 +0200
committerGravatar Vladimir Moskva <vladmos@google.com>2017-09-01 12:28:36 +0200
commit8613c90911990431c7356a48b20504cba479ac4b (patch)
tree253cda56fba4621bebe571c852434f89716232b5 /tools/platforms
parenta117235b926eb477299436328a34ad4b1ea0eec0 (diff)
Automated rollback of commit 2b983bdf508e010a3d4ee9dbaf446b7666749799.
*** Reason for rollback *** Breaks rules_go CI *** Original change description *** Rollforward of c++ toolchain-relevant BUILD file and Bazel mocking changes. That is, a c++ toolchain is added, but a Bazel dependency on that toolchain is not. PiperOrigin-RevId: 167198874
Diffstat (limited to 'tools/platforms')
-rw-r--r--tools/platforms/BUILD92
1 files changed, 0 insertions, 92 deletions
diff --git a/tools/platforms/BUILD b/tools/platforms/BUILD
index 1b74f106eb..4e788aea2c 100644
--- a/tools/platforms/BUILD
+++ b/tools/platforms/BUILD
@@ -13,95 +13,3 @@ filegroup(
name = "srcs",
srcs = glob(["**"]),
)
-
-# These match values in //src/main/java/com/google/build/lib/util:CPU.java
-constraint_setting(name = "cpu")
-
-constraint_value(
- name = "x86_32",
- constraint_setting = ":cpu",
-)
-
-constraint_value(
- name = "x86_64",
- constraint_setting = ":cpu",
-)
-
-constraint_value(
- name = "ppc",
- constraint_setting = ":cpu",
-)
-
-constraint_value(
- name = "arm",
- constraint_setting = ":cpu",
-)
-
-constraint_value(
- name = "s390x",
- constraint_setting = ":cpu",
-)
-
-# These match values in //src/main/java/com/google/build/lib/util:OS.java
-constraint_setting(name = "os")
-
-constraint_value(
- name = "osx",
- constraint_setting = ":os",
-)
-
-constraint_value(
- name = "freebsd",
- constraint_setting = ":os",
-)
-
-constraint_value(
- name = "linux",
- constraint_setting = ":os",
-)
-
-constraint_value(
- name = "windows",
- constraint_setting = ":os",
-)
-
-# A default platform with nothing defined.
-platform(name = "default_platform")
-
-# A default platform referring to the host system. This only exists for
-# internal build configurations, and so shouldn't be accessed by other packages.
-platform(
- name = "host_platform",
- cpu_constraints = [
- ":x86_32",
- ":x86_64",
- ":ppc",
- ":arm",
- ":s390x",
- ],
- host_platform = True,
- os_constraints = [
- ":osx",
- ":freebsd",
- ":linux",
- ":windows",
- ],
-)
-
-platform(
- name = "target_platform",
- cpu_constraints = [
- ":x86_32",
- ":x86_64",
- ":ppc",
- ":arm",
- ":s390x",
- ],
- os_constraints = [
- ":osx",
- ":freebsd",
- ":linux",
- ":windows",
- ],
- target_platform = True,
-)