forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgmock.BUILD
More file actions
34 lines (31 loc) · 686 Bytes
/
gmock.BUILD
File metadata and controls
34 lines (31 loc) · 686 Bytes
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
29
30
31
32
33
34
# Description:
# Google C++ Mocking Framework, a library for creating and using C++
# mock classes.
licenses(["notice"]) # 3-clause BSD
cc_library(
name = "gtest",
srcs = [
"gtest/src/gtest-all.cc",
"src/gmock-all.cc",
],
hdrs = glob([
"**/*.h",
"gtest/src/*.cc",
"src/*.cc",
]),
includes = [
".",
"gtest",
"gtest/include",
"include",
],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
)
cc_library(
name = "gtest_main",
srcs = ["src/gmock_main.cc"],
linkopts = ["-pthread"],
visibility = ["//visibility:public"],
deps = [":gtest"],
)