Austin Schuh | 8fec4f4 | 2018-10-29 21:52:32 -0700 | [diff] [blame] | 1 | # Bazel (http://bazel.io/) BUILD file for gflags. |
| 2 | # |
| 3 | # See INSTALL.md for instructions for adding gflags to a Bazel workspace. |
| 4 | |
| 5 | licenses(["notice"]) |
| 6 | |
| 7 | exports_files(["src/gflags_completions.sh", "COPYING.txt"]) |
| 8 | |
| 9 | config_setting( |
| 10 | name = "x64_windows", |
| 11 | values = {"cpu": "x64_windows"}, |
| 12 | ) |
| 13 | |
| 14 | load(":bazel/gflags.bzl", "gflags_sources", "gflags_library") |
| 15 | |
| 16 | (hdrs, srcs) = gflags_sources(namespace=["gflags", "google"]) |
| 17 | gflags_library(hdrs=hdrs, srcs=srcs, threads=0) |
| 18 | gflags_library(hdrs=hdrs, srcs=srcs, threads=1) |