blob: 0e7ccdd6df17a1b7c57c34b55b9f1513c189b417 [file] [log] [blame]
Andreas Schuh37e28672016-11-25 13:47:29 +00001# Bazel (http://bazel.io/) BUILD file for gflags.
Rob Earhart40b85b12016-02-18 18:16:44 -08002#
3# See INSTALL.md for instructions for adding gflags to a Bazel workspace.
4
5licenses(["notice"])
6
Siddhartha Bagaria7d363532017-08-27 00:36:57 -07007exports_files(["src/gflags_completions.sh", "COPYING.txt"])
Rob Earhart40b85b12016-02-18 18:16:44 -08008
Rob Earhart6d1c3632018-01-05 11:31:31 -08009config_setting(
10 name = "x64_windows",
11 values = {"cpu": "x64_windows"},
12)
13
Andreas Schuh37e28672016-11-25 13:47:29 +000014load(":bazel/gflags.bzl", "gflags_sources", "gflags_library")
Rob Earhart6d1c3632018-01-05 11:31:31 -080015
Andreas Schuh37e28672016-11-25 13:47:29 +000016(hdrs, srcs) = gflags_sources(namespace=["gflags", "google"])
17gflags_library(hdrs=hdrs, srcs=srcs, threads=0)
18gflags_library(hdrs=hdrs, srcs=srcs, threads=1)