File: gmock.BUILD

package info (click to toggle)
protobuf 3.0.0-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 28,164 kB
  • ctags: 46,419
  • sloc: cpp: 157,575; java: 65,779; objc: 58,982; ansic: 34,738; python: 15,927; cs: 13,062; makefile: 2,235; ruby: 1,796; sh: 1,658; xml: 1,585; lisp: 89; php: 10
file content (28 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (2)
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"],
)