• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library(
2    name = "gtest",
3    srcs = [
4        "googletest/src/gtest-all.cc",
5    ],
6    hdrs = glob([
7        "googletest/include/**/*.h",
8        "googletest/src/*.cc",
9        "googletest/src/*.h",
10    ]),
11    includes = [
12        "googletest",
13        "googletest/include",
14    ],
15    linkstatic = 1,
16    visibility = [
17        "//visibility:public",
18    ],
19)
20
21cc_library(
22    name = "gmock",
23    srcs = [
24        "googlemock/src/gmock-all.cc"
25    ],
26    hdrs = glob([
27        "googlemock/include/**/*.h",
28        "googlemock/src/*.cc",
29        "googlemock/src/*.h"
30    ]),
31    includes = [
32        "googlemock",
33        "googlemock/include",
34    ],
35    deps = [
36        ":gtest",
37    ],
38    linkstatic = 1,
39    visibility = [
40        "//visibility:public",
41    ],
42)
43