• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_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
22cc_library(
23    name = "gtest_main",
24    srcs = ["gmock-1.7.0/src/gmock_main.cc"],
25    linkopts = ["-pthread"],
26    visibility = ["//visibility:public"],
27    deps = [":gtest"],
28)
29