| 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': [ |
| 11 'gtest.gyp:gtest', | 11 '../third_party/googletest/googlemock.gyp:googlemock', |
| 12 ], | 12 ], |
| 13 'sources': [ | 13 'sources': [ |
| 14 # Sources based on files in r173 of gmock. | |
| 15 'gmock/include/gmock/gmock-actions.h', | |
| 16 'gmock/include/gmock/gmock-cardinalities.h', | |
| 17 'gmock/include/gmock/gmock-generated-actions.h', | |
| 18 'gmock/include/gmock/gmock-generated-function-mockers.h', | |
| 19 'gmock/include/gmock/gmock-generated-matchers.h', | |
| 20 'gmock/include/gmock/gmock-generated-nice-strict.h', | |
| 21 'gmock/include/gmock/gmock-matchers.h', | |
| 22 'gmock/include/gmock/gmock-spec-builders.h', | |
| 23 'gmock/include/gmock/gmock.h', | |
| 24 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', | |
| 25 'gmock/include/gmock/internal/gmock-internal-utils.h', | |
| 26 'gmock/include/gmock/internal/gmock-port.h', | |
| 27 'gmock/src/gmock-all.cc', | |
| 28 'gmock/src/gmock-cardinalities.cc', | |
| 29 'gmock/src/gmock-internal-utils.cc', | |
| 30 'gmock/src/gmock-matchers.cc', | |
| 31 'gmock/src/gmock-spec-builders.cc', | |
| 32 'gmock/src/gmock.cc', | |
| 33 'gmock-support.h', # gMock helpers | 14 'gmock-support.h', # gMock helpers |
| 34 'gmock_custom/gmock/internal/custom/gmock-port.h', | |
| 35 ], | |
| 36 'sources!': [ | |
| 37 'gmock/src/gmock-all.cc', # Not needed by our build. | |
| 38 ], | |
| 39 'include_dirs': [ | |
| 40 'gmock_custom', | |
| 41 'gmock', | |
| 42 'gmock/include', | |
| 43 ], | |
| 44 'all_dependent_settings': { | |
| 45 'include_dirs': [ | |
| 46 'gmock_custom', | |
| 47 'gmock/include', # So that gmock headers can find themselves. | |
| 48 ], | |
| 49 }, | |
| 50 'export_dependent_settings': [ | |
| 51 'gtest.gyp:gtest', | |
| 52 ], | 15 ], |
| 53 'conditions': [ | 16 'conditions': [ |
| 54 ['want_separate_host_toolset==1', { | 17 ['want_separate_host_toolset==1', { |
| 55 'toolsets': ['host', 'target'], | 18 'toolsets': ['host', 'target'], |
| 56 }, { | 19 }, { |
| 57 'toolsets': ['target'], | 20 'toolsets': ['target'], |
| 58 }], | 21 }], |
| 59 ], | 22 ], |
| 60 }, | 23 }, |
| 61 { | 24 { |
| 62 'target_name': 'gmock_main', | 25 'target_name': 'gmock_main', |
| 63 'type': 'static_library', | 26 'type': 'static_library', |
| 64 'dependencies': [ | 27 'dependencies': [ |
| 65 'gmock', | 28 '../third_party/googletest/googlemock.gyp:googlemock_main', |
| 66 ], | |
| 67 'sources': [ | |
| 68 'gmock/src/gmock_main.cc', | |
| 69 ], | 29 ], |
| 70 }, | 30 }, |
| 71 ], | 31 ], |
| 72 } | 32 } |
| OLD | NEW |