OLD | NEW |
1 # Copyright 2014 the V8 project authors. All rights reserved. | 1 # Copyright 2014 the V8 project 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gmock', | 8 'target_name': 'gmock', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 29 matching lines...) Expand all Loading... |
40 'gmock/include', | 40 'gmock/include', |
41 ], | 41 ], |
42 'direct_dependent_settings': { | 42 'direct_dependent_settings': { |
43 'include_dirs': [ | 43 'include_dirs': [ |
44 'gmock/include', # So that gmock headers can find themselves. | 44 'gmock/include', # So that gmock headers can find themselves. |
45 ], | 45 ], |
46 }, | 46 }, |
47 'export_dependent_settings': [ | 47 'export_dependent_settings': [ |
48 'gtest.gyp:gtest', | 48 'gtest.gyp:gtest', |
49 ], | 49 ], |
| 50 'conditions': [ |
| 51 ['want_separate_host_toolset==1', { |
| 52 'toolsets': ['host', 'target'], |
| 53 }, { |
| 54 'toolsets': ['target'], |
| 55 }], |
| 56 ], |
50 }, | 57 }, |
51 { | 58 { |
52 'target_name': 'gmock_main', | 59 'target_name': 'gmock_main', |
53 'type': 'static_library', | 60 'type': 'static_library', |
54 'dependencies': [ | 61 'dependencies': [ |
55 'gmock', | 62 'gmock', |
56 ], | 63 ], |
57 'sources': [ | 64 'sources': [ |
58 'gmock/src/gmock_main.cc', | 65 'gmock/src/gmock_main.cc', |
59 ], | 66 ], |
60 }, | 67 }, |
61 ], | 68 ], |
62 } | 69 } |
OLD | NEW |