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