Index: build/secondary/testing/gmock/BUILD.gn |
diff --git a/build/secondary/testing/gmock/BUILD.gn b/build/secondary/testing/gmock/BUILD.gn |
index 018917f83935c745ea7ff000048d5a75a862291f..3278b10e70258b5c295ebb4fb92f79c2e51aa35b 100644 |
--- a/build/secondary/testing/gmock/BUILD.gn |
+++ b/build/secondary/testing/gmock/BUILD.gn |
@@ -8,6 +8,8 @@ config("gmock_config") { |
} |
static_library("gmock") { |
+ # TODO http://crbug.com/412064 enable this flag all the time. |
+ testonly = !is_component_build |
sources = [ |
# Sources based on files in r173 of gmock. |
"include/gmock/gmock-actions.h", |
@@ -40,6 +42,8 @@ static_library("gmock") { |
} |
static_library("gmock_main") { |
+ # TODO http://crbug.com/412064 enable this flag all the time. |
+ testonly = !is_component_build |
sources = [ "src/gmock_main.cc" ] |
deps = [ ":gmock" ] |
} |