blob: 1bccf5a9b6cc5160a029b300741e696d1fac17a2 [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
Austin Schuhdde64052019-12-11 20:28:00 -08007exports_files([
8 "src/gflags_completions.sh",
9 "COPYING.txt",
10])
Austin Schuh8fec4f42018-10-29 21:52:32 -070011
12config_setting(
13 name = "x64_windows",
14 values = {"cpu": "x64_windows"},
15)
16
Austin Schuhdde64052019-12-11 20:28:00 -080017load(":bazel/gflags.bzl", "gflags_library", "gflags_sources")
Austin Schuh8fec4f42018-10-29 21:52:32 -070018
Austin Schuhdde64052019-12-11 20:28:00 -080019(hdrs, srcs) = gflags_sources(namespace = [
20 "gflags",
21 "google",
22])
23
24gflags_library(
25 srcs = srcs,
26 hdrs = hdrs,
27 threads = 0,
28)
29
30gflags_library(
31 srcs = srcs,
32 hdrs = hdrs,
33 threads = 1,
34)