• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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)
19