| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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") { |
| 11 gyp_file = "gmock.gyp" | |
| 12 external = true | |
| 13 sources = [ | 11 sources = [ |
| 14 # Sources based on files in r173 of gmock. | 12 # Sources based on files in r173 of gmock. |
| 15 "include/gmock/gmock-actions.h", | 13 "include/gmock/gmock-actions.h", |
| 16 "include/gmock/gmock-cardinalities.h", | 14 "include/gmock/gmock-cardinalities.h", |
| 17 "include/gmock/gmock-generated-actions.h", | 15 "include/gmock/gmock-generated-actions.h", |
| 18 "include/gmock/gmock-generated-function-mockers.h", | 16 "include/gmock/gmock-generated-function-mockers.h", |
| 19 "include/gmock/gmock-generated-matchers.h", | 17 "include/gmock/gmock-generated-matchers.h", |
| 20 "include/gmock/gmock-generated-nice-strict.h", | 18 "include/gmock/gmock-generated-nice-strict.h", |
| 21 "include/gmock/gmock-matchers.h", | 19 "include/gmock/gmock-matchers.h", |
| 22 "include/gmock/gmock-spec-builders.h", | 20 "include/gmock/gmock-spec-builders.h", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 # This project includes some stuff form gtest's guts. | 34 # This project includes some stuff form gtest's guts. |
| 37 include_dirs = [ "../gtest/include" ] | 35 include_dirs = [ "../gtest/include" ] |
| 38 | 36 |
| 39 direct_dependent_configs = [ | 37 direct_dependent_configs = [ |
| 40 ":gmock_config", | 38 ":gmock_config", |
| 41 "//testing/gtest:gtest_config", | 39 "//testing/gtest:gtest_config", |
| 42 ] | 40 ] |
| 43 } | 41 } |
| 44 | 42 |
| 45 static_library("gmock_main") { | 43 static_library("gmock_main") { |
| 46 external = true | |
| 47 gyp_file = "gmock.gyp" | |
| 48 sources = [ "src/gmock_main.cc" ] | 44 sources = [ "src/gmock_main.cc" ] |
| 49 deps = [ ":gmock" ] | 45 deps = [ ":gmock" ] |
| 50 } | 46 } |
| OLD | NEW |