|
|
@ -2,15 +2,39 @@ cc_library( |
|
|
|
name = "gtest", |
|
|
|
name = "gtest", |
|
|
|
srcs = [ |
|
|
|
srcs = [ |
|
|
|
"googletest/src/gtest-all.cc", |
|
|
|
"googletest/src/gtest-all.cc", |
|
|
|
"googlemock/src/gmock-all.cc" |
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
|
hdrs = glob(["googletest/include/**/*.h", "googletest/src/*.cc", "googletest/src/*.h", "googlemock/include/**/*.h", "googlemock/src/*.cc", "googlemock/src/*.h"]), |
|
|
|
hdrs = glob([ |
|
|
|
|
|
|
|
"googletest/include/**/*.h", |
|
|
|
|
|
|
|
"googletest/src/*.cc", |
|
|
|
|
|
|
|
"googletest/src/*.h", |
|
|
|
|
|
|
|
]), |
|
|
|
includes = [ |
|
|
|
includes = [ |
|
|
|
"googletest", |
|
|
|
"googletest", |
|
|
|
"googletest/include", |
|
|
|
"googletest/include", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
linkstatic = 1, |
|
|
|
|
|
|
|
visibility = [ |
|
|
|
|
|
|
|
"//visibility:public", |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cc_library( |
|
|
|
|
|
|
|
name = "gmock", |
|
|
|
|
|
|
|
srcs = [ |
|
|
|
|
|
|
|
"googlemock/src/gmock-all.cc" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
hdrs = glob([ |
|
|
|
|
|
|
|
"googlemock/include/**/*.h", |
|
|
|
|
|
|
|
"googlemock/src/*.cc", |
|
|
|
|
|
|
|
"googlemock/src/*.h" |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
includes = [ |
|
|
|
"googlemock", |
|
|
|
"googlemock", |
|
|
|
"googlemock/include", |
|
|
|
"googlemock/include", |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
deps = [ |
|
|
|
|
|
|
|
":gtest", |
|
|
|
|
|
|
|
], |
|
|
|
linkstatic = 1, |
|
|
|
linkstatic = 1, |
|
|
|
visibility = [ |
|
|
|
visibility = [ |
|
|
|
"//visibility:public", |
|
|
|
"//visibility:public", |
|
|
|