[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'gmock', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 9 | 'type': 'static_library', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 10 | 'dependencies': [ |
| 11 | 'gtest.gyp:gtest', |
| 12 | ], |
| 13 | 'sources': [ |
[email protected] | 22015c33 | 2009-06-22 18:32:21 | [diff] [blame] | 14 | # Sources based on files in r173 of gmock. |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 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', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 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', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 31 | 'gmock/src/gmock-spec-builders.cc', |
| 32 | 'gmock/src/gmock.cc', |
[email protected] | 530a94a | 2009-10-27 00:05:00 | [diff] [blame] | 33 | 'gmock_mutant.h', # gMock helpers |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 34 | ], |
| 35 | 'sources!': [ |
| 36 | 'gmock/src/gmock-all.cc', # Not needed by our build. |
| 37 | ], |
| 38 | 'include_dirs': [ |
| 39 | 'gmock', |
| 40 | 'gmock/include', |
| 41 | ], |
| 42 | 'direct_dependent_settings': { |
| 43 | 'include_dirs': [ |
| 44 | 'gmock/include', # So that gmock headers can find themselves. |
| 45 | ], |
| 46 | }, |
| 47 | 'export_dependent_settings': [ |
| 48 | 'gtest.gyp:gtest', |
| 49 | ], |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 50 | }, |
| 51 | { |
[email protected] | 016498e | 2010-12-03 00:59:23 | [diff] [blame] | 52 | 'target_name': 'gmock_main', |
[email protected] | 5a54733 | 2011-05-19 23:18:53 | [diff] [blame] | 53 | 'type': 'static_library', |
[email protected] | 5290aaa | 2009-05-28 06:02:56 | [diff] [blame] | 54 | 'dependencies': [ |
| 55 | 'gmock', |
| 56 | ], |
| 57 | 'sources': [ |
| 58 | 'gmock/src/gmock_main.cc', |
| 59 | ], |
| 60 | }, |
| 61 | ], |
| 62 | } |