gmock.BUILD 661 B

12345678910111213141516171819202122232425262728
  1. cc_library(
  2. name = "gtest",
  3. srcs = [
  4. "gmock-1.7.0/gtest/src/gtest-all.cc",
  5. "gmock-1.7.0/src/gmock-all.cc",
  6. ],
  7. hdrs = glob([
  8. "gmock-1.7.0/**/*.h",
  9. "gmock-1.7.0/gtest/src/*.cc",
  10. "gmock-1.7.0/src/*.cc",
  11. ]),
  12. includes = [
  13. "gmock-1.7.0",
  14. "gmock-1.7.0/gtest",
  15. "gmock-1.7.0/gtest/include",
  16. "gmock-1.7.0/include",
  17. ],
  18. linkopts = ["-pthread"],
  19. visibility = ["//visibility:public"],
  20. )
  21. cc_library(
  22. name = "gtest_main",
  23. srcs = ["gmock-1.7.0/src/gmock_main.cc"],
  24. linkopts = ["-pthread"],
  25. visibility = ["//visibility:public"],
  26. deps = [":gtest"],
  27. )