| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 config("gmock_config") { | 5 config("gmock_config") { |
| 6 # Gmock headers need to be able to find themselves. | 6 # Gmock headers need to be able to find themselves. |
| 7 include_dirs = [ "include" ] | 7 include_dirs = [ "include" ] |
| 8 } | 8 } |
| 9 | 9 |
| 10 static_library("gmock") { | 10 static_library("gmock") { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 "src/gmock-cardinalities.cc", | 28 "src/gmock-cardinalities.cc", |
| 29 "src/gmock-internal-utils.cc", | 29 "src/gmock-internal-utils.cc", |
| 30 "src/gmock-matchers.cc", | 30 "src/gmock-matchers.cc", |
| 31 "src/gmock-spec-builders.cc", | 31 "src/gmock-spec-builders.cc", |
| 32 "src/gmock.cc", | 32 "src/gmock.cc", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 # This project includes some stuff form gtest's guts. | 35 # This project includes some stuff form gtest's guts. |
| 36 include_dirs = [ "../gtest/include" ] | 36 include_dirs = [ "../gtest/include" ] |
| 37 | 37 |
| 38 direct_dependent_configs = [ | 38 public_configs = [ |
| 39 ":gmock_config", | 39 ":gmock_config", |
| 40 "//testing/gtest:gtest_config", | 40 "//testing/gtest:gtest_config", |
| 41 ] | 41 ] |
| 42 } | 42 } |
| 43 | 43 |
| 44 static_library("gmock_main") { | 44 static_library("gmock_main") { |
| 45 # TODO http://crbug.com/412064 enable this flag all the time. | 45 # TODO http://crbug.com/412064 enable this flag all the time. |
| 46 testonly = !is_component_build | 46 testonly = !is_component_build |
| 47 sources = [ "src/gmock_main.cc" ] | 47 sources = [ "src/gmock_main.cc" ] |
| 48 deps = [ ":gmock" ] | 48 deps = [ ":gmock" ] |
| 49 } | 49 } |
| OLD | NEW |