diff options
author | Cole Faust <colefaust@google.com> | 2023-10-11 10:03:44 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2023-10-11 10:03:44 -0700 |
commit | df7923cdaad9898c39a7af39f568280f3e1c5287 (patch) | |
tree | fea1308ded0ede57f77fb10d1e2de54587f9d892 | |
parent | 3d95aae759e555120e4198dd45cfb61c060d8be5 (diff) | |
download | protobuf-df7923cdaad9898c39a7af39f568280f3e1c5287.tar.gz |
Move platform constraints to bazel_common_rules.
This enables sharing of platform constraints between platform and kernel builds.
Bug: 304594734
Test: treehugger
Change-Id: Iad69fe46028a6974646d964a596ceee197eb449f
-rw-r--r-- | BUILD.bazel | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 10f2a5d7c..c3f9f69ab 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -70,7 +70,7 @@ java_library( ":libprotobuf-java-full_proto_gen", ], target_compatible_with = select({ - "//build/bazel/platforms/os:android": ["@platforms//:incompatible"], + "//build/bazel_common_rules/platforms/os:android": ["@platforms//:incompatible"], "//conditions:default": [], }), ) @@ -81,7 +81,7 @@ java_library( java_version = "1.7", neverlink = True, target_compatible_with = select({ - "//build/bazel/platforms/os:android": ["@platforms//:incompatible"], + "//build/bazel_common_rules/platforms/os:android": ["@platforms//:incompatible"], "//conditions:default": [], }), ) |