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