Skip to content

Commit

Permalink
Merge pull request #20 from philsc:not-compatible
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 343286570
Change-Id: I1bb23135d8114c6189cc1d753b570da9416c505d
  • Loading branch information
copybara-github committed Nov 19, 2020
2 parents 228d7d5 + 1e362cd commit 10b4d2b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ filegroup(
"//os:srcs",
],
)

# For use in Incompatible Target Skipping:
# https://docs.bazel.build/versions/master/platforms.html#skipping-incompatible-targets
#
# Specifically this lets targets declare incompatibility with some set of
# platforms. See
# https://docs.bazel.build/versions/master/platforms.html#more-expressive-constraints
# for some more details.
constraint_setting(name = "incompatible_setting")

constraint_value(
name = "incompatible",
constraint_setting = ":incompatible_setting",
)

0 comments on commit 10b4d2b

Please sign in to comment.