| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 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 'gtest.gyp:gtest', |
| 12 ], | 12 ], |
| 13 'sources': [ | 13 'sources': [ |
| 14 # Sources based on files in r173 of gmock. | 14 # Sources based on files in r173 of gmock. |
| 15 'gmock/include/gmock/gmock-actions.h', | 15 '../third_party/gtest/googlemock/include/gmock/gmock-actions.h', |
| 16 'gmock/include/gmock/gmock-cardinalities.h', | 16 '../third_party/gtest/googlemock/include/gmock/gmock-cardinalities.h', |
| 17 'gmock/include/gmock/gmock-generated-actions.h', | 17 '../third_party/gtest/googlemock/include/gmock/gmock-generated-actions.h
', |
| 18 'gmock/include/gmock/gmock-generated-function-mockers.h', | 18 '../third_party/gtest/googlemock/include/gmock/gmock-generated-function-
mockers.h', |
| 19 'gmock/include/gmock/gmock-generated-matchers.h', | 19 '../third_party/gtest/googlemock/include/gmock/gmock-generated-matchers.
h', |
| 20 'gmock/include/gmock/gmock-generated-nice-strict.h', | 20 '../third_party/gtest/googlemock/include/gmock/gmock-generated-nice-stri
ct.h', |
| 21 'gmock/include/gmock/gmock-matchers.h', | 21 '../third_party/gtest/googlemock/include/gmock/gmock-matchers.h', |
| 22 'gmock/include/gmock/gmock-spec-builders.h', | 22 '../third_party/gtest/googlemock/include/gmock/gmock-spec-builders.h', |
| 23 'gmock/include/gmock/gmock.h', | 23 '../third_party/gtest/googlemock/include/gmock/gmock.h', |
| 24 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', | 24 '../third_party/gtest/googlemock/include/gmock/internal/gmock-generated-
internal-utils.h', |
| 25 'gmock/include/gmock/internal/gmock-internal-utils.h', | 25 '../third_party/gtest/googlemock/include/gmock/internal/gmock-internal-u
tils.h', |
| 26 'gmock/include/gmock/internal/gmock-port.h', | 26 '../third_party/gtest/googlemock/include/gmock/internal/gmock-port.h', |
| 27 'gmock/src/gmock-all.cc', | 27 '../third_party/gtest/googlemock/src/gmock-all.cc', |
| 28 'gmock/src/gmock-cardinalities.cc', | 28 '../third_party/gtest/googlemock/src/gmock-cardinalities.cc', |
| 29 'gmock/src/gmock-internal-utils.cc', | 29 '../third_party/gtest/googlemock/src/gmock-internal-utils.cc', |
| 30 'gmock/src/gmock-matchers.cc', | 30 '../third_party/gtest/googlemock/src/gmock-matchers.cc', |
| 31 'gmock/src/gmock-spec-builders.cc', | 31 '../third_party/gtest/googlemock/src/gmock-spec-builders.cc', |
| 32 'gmock/src/gmock.cc', | 32 '../third_party/gtest/googlemock/src/gmock.cc', |
| 33 'gmock_mutant.h', # gMock helpers | 33 'gmock_mutant.h', # gMock helpers |
| 34 ], | 34 ], |
| 35 'sources!': [ | 35 'sources!': [ |
| 36 'gmock/src/gmock-all.cc', # Not needed by our build. | 36 '../third_party/gtest/googlemock/src/gmock-all.cc', # Not needed by our
build. |
| 37 ], | 37 ], |
| 38 'include_dirs': [ | 38 'include_dirs': [ |
| 39 'gmock_custom', | 39 'gmock_custom', |
| 40 'gmock/include', | 40 '../third_party/gtest/googlemock/include', |
| 41 ], | 41 ], |
| 42 'all_dependent_settings': { | 42 'all_dependent_settings': { |
| 43 'include_dirs': [ | 43 'include_dirs': [ |
| 44 'gmock_custom', | 44 'gmock_custom', |
| 45 'gmock/include', # So that gmock headers can find themselves. | 45 '.', # Include testing/testing for backward compatibility during roll
crbug/630705 |
| 46 '../third_party/gtest/googlemock/include', # So that gmock headers ca
n find themselves. |
| 46 ], | 47 ], |
| 47 }, | 48 }, |
| 48 'export_dependent_settings': [ | 49 'export_dependent_settings': [ |
| 49 'gtest.gyp:gtest', | 50 'gtest.gyp:gtest', |
| 50 ], | 51 ], |
| 51 'conditions': [ | 52 'conditions': [ |
| 52 ['OS == "ios"', { | 53 ['OS == "ios"', { |
| 53 'toolsets': ['host', 'target'], | 54 'toolsets': ['host', 'target'], |
| 54 }], | 55 }], |
| 55 ], | 56 ], |
| 56 }, | 57 }, |
| 57 { | 58 { |
| 58 'target_name': 'gmock_main', | 59 'target_name': 'gmock_main', |
| 59 'type': 'static_library', | 60 'type': 'static_library', |
| 60 'dependencies': [ | 61 'dependencies': [ |
| 61 'gmock', | 62 'gmock', |
| 62 ], | 63 ], |
| 63 'sources': [ | 64 'sources': [ |
| 64 'gmock/src/gmock_main.cc', | 65 '../third_party/gtest/googlemock/src/gmock_main.cc', |
| 65 ], | 66 ], |
| 66 }, | 67 }, |
| 67 ], | 68 ], |
| 68 } | 69 } |
| OLD | NEW |