BUILD 629 B

1234567891011121314151617181920212223242526
  1. # Bazel (http://bazel.io/) BUILD file for gflags.
  2. #
  3. # See INSTALL.md for instructions for adding gflags to a Bazel workspace.
  4. licenses(["notice"])
  5. exports_files([
  6. "src/gflags_completions.sh",
  7. "COPYING.txt",
  8. ])
  9. config_setting(
  10. name = "x64_windows",
  11. values = {"cpu": "x64_windows"},
  12. )
  13. config_setting(
  14. name = "android",
  15. values = {"crosstool_top": "//external:android/crosstool"},
  16. )
  17. load(":bazel/gflags.bzl", "gflags_library", "gflags_sources")
  18. (hdrs, srcs) = gflags_sources(namespace=["google", "gflags"])
  19. gflags_library(hdrs=hdrs, srcs=srcs, threads=0)
  20. gflags_library(hdrs=hdrs, srcs=srcs, threads=1)