| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]), |
| visibility = ["//src:__pkg__"], |
| ) |
| |
| filegroup( |
| name = "embedded_tools", |
| srcs = ["BUILD.tools"], |
| visibility = ["//src:__pkg__"], |
| ) |
| |
| # There is no config_setting for "linux". |
| # See https://github.com/bazelbuild/bazel/issues/11107 |
| |
| config_setting( |
| name = "linux_ppc", |
| values = {"cpu": "ppc"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "linux_s390x", |
| values = {"cpu": "s390x"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "linux_x86_64", |
| values = {"cpu": "k8"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "darwin", |
| values = {"cpu": "darwin"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "darwin_x86_64", |
| values = {"cpu": "darwin_x86_64"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "iphonesdk", |
| values = {"define": "IPHONE_SDK=1"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "freebsd", |
| values = {"cpu": "freebsd"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "openbsd", |
| values = {"cpu": "openbsd"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "windows", |
| values = {"cpu": "x64_windows"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "arm", |
| values = {"cpu": "arm"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "linux_aarch64", |
| values = {"cpu": "aarch64"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "remote", |
| values = {"define": "EXECUTOR=remote"}, |
| visibility = ["//visibility:public"], |
| ) |
| |
| config_setting( |
| name = "debian_build", |
| values = { |
| "define": "distribution=debian", |
| }, |
| visibility = ["//visibility:public"], |
| ) |