Merge pull request #1212 from qzmfranklin/bazel
Also build when included in source.
This commit is contained in:
commit
782384d11f
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 2017 Google Inc.
|
# Copyright 2017 Google Inc.
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -41,7 +41,7 @@ config_setting(
|
||||||
values = {"cpu": "x64_windows_msvc"},
|
values = {"cpu": "x64_windows_msvc"},
|
||||||
)
|
)
|
||||||
|
|
||||||
# Google Test including Google Mock
|
# Google Test including Google Mock
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "gtest",
|
name = "gtest",
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
|
@ -88,7 +88,7 @@ cc_library(
|
||||||
srcs = [
|
srcs = [
|
||||||
"googlemock/src/gmock_main.cc",
|
"googlemock/src/gmock_main.cc",
|
||||||
],
|
],
|
||||||
deps = ["//:gtest"],
|
deps = [":gtest"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# The following rules build samples of how to use gTest.
|
# The following rules build samples of how to use gTest.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user