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") { |
(...skipping 10 matching lines...) Expand all Loading... |
21 "include/gmock/gmock.h", | 21 "include/gmock/gmock.h", |
22 "include/gmock/internal/gmock-generated-internal-utils.h", | 22 "include/gmock/internal/gmock-generated-internal-utils.h", |
23 "include/gmock/internal/gmock-internal-utils.h", | 23 "include/gmock/internal/gmock-internal-utils.h", |
24 "include/gmock/internal/gmock-port.h", | 24 "include/gmock/internal/gmock-port.h", |
25 #"src/gmock-all.cc", # Not needed by our build. | 25 #"src/gmock-all.cc", # Not needed by our build. |
26 "src/gmock-cardinalities.cc", | 26 "src/gmock-cardinalities.cc", |
27 "src/gmock-internal-utils.cc", | 27 "src/gmock-internal-utils.cc", |
28 "src/gmock-matchers.cc", | 28 "src/gmock-matchers.cc", |
29 "src/gmock-spec-builders.cc", | 29 "src/gmock-spec-builders.cc", |
30 "src/gmock.cc", | 30 "src/gmock.cc", |
31 "gmock_mutant.h", # gMock helpers | 31 "../gmock_mutant.h", # gMock helpers |
32 ] | 32 ] |
33 | 33 |
34 # This project includes some stuff form gtest's guts. | 34 # This project includes some stuff form gtest's guts. |
35 include_dirs = [ "../gtest/include" ] | 35 include_dirs = [ "../gtest/include" ] |
36 | 36 |
37 direct_dependent_configs = [ | 37 direct_dependent_configs = [ |
38 ":gmock_config", | 38 ":gmock_config", |
39 "//testing/gtest:gtest_config", | 39 "//testing/gtest:gtest_config", |
40 ] | 40 ] |
| 41 |
| 42 deps = [ "//base" ] |
41 } | 43 } |
42 | 44 |
43 static_library("gmock_main") { | 45 static_library("gmock_main") { |
44 sources = [ "src/gmock_main.cc" ] | 46 sources = [ "src/gmock_main.cc" ] |
45 deps = [ ":gmock" ] | 47 deps = [ ":gmock" ] |
46 } | 48 } |
OLD | NEW |