Craig Tiller | 05fbe3c | 2017-02-17 13:27:21 -0800 | [diff] [blame] | 1 | cc_library( |
| 2 | name = "gtest", |
| 3 | srcs = [ |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 4 | "googletest/src/gtest-all.cc", |
Mahak Mukhi | f928376 | 2017-04-16 21:06:11 -0700 | [diff] [blame] | 5 | "googlemock/src/gmock-all.cc" |
Craig Tiller | 05fbe3c | 2017-02-17 13:27:21 -0800 | [diff] [blame] | 6 | ], |
Mahak Mukhi | f928376 | 2017-04-16 21:06:11 -0700 | [diff] [blame] | 7 | hdrs = glob(["googletest/include/**/*.h", "googletest/src/*.cc", "googletest/src/*.h", "googlemock/include/**/*.h", "googlemock/src/*.cc", "googlemock/src/*.h"]), |
Craig Tiller | 05fbe3c | 2017-02-17 13:27:21 -0800 | [diff] [blame] | 8 | includes = [ |
Ken Payson | 975b510 | 2017-03-30 17:38:40 -0700 | [diff] [blame] | 9 | "googletest", |
| 10 | "googletest/include", |
Mahak Mukhi | f928376 | 2017-04-16 21:06:11 -0700 | [diff] [blame] | 11 | "googlemock", |
| 12 | "googlemock/include", |
Craig Tiller | 05fbe3c | 2017-02-17 13:27:21 -0800 | [diff] [blame] | 13 | ], |
| 14 | linkstatic = 1, |
| 15 | visibility = [ |
| 16 | "//visibility:public", |
| 17 | ], |
| 18 | ) |