2019-06-06 09:18:26 +00:00
|
|
|
# Standard constraint_setting and constraint_values to be used in platforms.
|
|
|
|
licenses(["notice"])
|
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
)
|
|
|
|
|
2019-06-18 18:15:05 +00:00
|
|
|
# To add a new constraint_value see https://github.com/bazelbuild/platforms.
|
2019-06-18 18:35:25 +00:00
|
|
|
constraint_setting(name = "os")
|
2019-06-06 09:18:26 +00:00
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "osx",
|
2019-06-06 09:18:26 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "ios",
|
2019-06-06 09:18:26 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "freebsd",
|
2019-06-06 09:18:26 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "android",
|
2019-07-30 19:29:49 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "linux",
|
2019-07-30 19:29:49 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
2019-07-30 21:51:37 +00:00
|
|
|
name = "windows",
|
2019-06-06 09:18:26 +00:00
|
|
|
constraint_setting = ":os",
|
|
|
|
)
|