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

cc_library(
    name = "gtest_main",
    srcs = ["gmock-1.7.0/src/gmock_main.cc"],
    linkopts = ["-pthread"],
    visibility = ["//visibility:public"],
    deps = [":gtest"],
)