}
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",
# This project includes some stuff form gtest's guts.
include_dirs = [ "../gtest/include" ]
- direct_dependent_configs = [
+ public_configs = [
":gmock_config",
"//testing/gtest:gtest_config",
]
}
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" ]
}