OLD | NEW |
1 cc_library( | 1 cc_library( |
2 name = "gtest", | 2 name = "gtest", |
3 srcs = [ | 3 srcs = [ |
4 "googletest/src/gtest-all.cc", | 4 "gmock-1.7.0/gtest/src/gtest-all.cc", |
5 "googlemock/src/gmock-all.cc", | 5 "gmock-1.7.0/src/gmock-all.cc", |
6 ], | 6 ], |
7 hdrs = glob([ | 7 hdrs = glob([ |
8 "**/*.h", | 8 "gmock-1.7.0/**/*.h", |
9 "googletest/src/*.cc", | 9 "gmock-1.7.0/gtest/src/*.cc", |
10 "googlemock/src/*.cc", | 10 "gmock-1.7.0/src/*.cc", |
11 ]), | 11 ]), |
12 includes = [ | 12 includes = [ |
13 "googlemock", | 13 "gmock-1.7.0", |
14 "googletest", | 14 "gmock-1.7.0/gtest", |
15 "googletest/include", | 15 "gmock-1.7.0/gtest/include", |
16 "googlemock/include", | 16 "gmock-1.7.0/include", |
17 ], | 17 ], |
18 linkopts = ["-pthread"], | 18 linkopts = ["-pthread"], |
19 visibility = ["//visibility:public"], | 19 visibility = ["//visibility:public"], |
20 ) | 20 ) |
21 | 21 |
22 cc_library( | 22 cc_library( |
23 name = "gtest_main", | 23 name = "gtest_main", |
24 srcs = ["googlemock/src/gmock_main.cc"], | 24 srcs = ["gmock-1.7.0/src/gmock_main.cc"], |
25 linkopts = ["-pthread"], | 25 linkopts = ["-pthread"], |
26 visibility = ["//visibility:public"], | 26 visibility = ["//visibility:public"], |
27 deps = [":gtest"], | 27 deps = [":gtest"], |
28 ) | 28 ) |
OLD | NEW |