Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 1 | # Copyright 2015 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 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'gmock', |
| 9 | 'type': 'static_library', |
| 10 | 'dependencies': [ |
| 11 | 'gtest.gyp:gtest', |
| 12 | ], |
| 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-cardinalities.cc', |
| 28 | 'gmock/src/gmock-internal-utils.cc', |
| 29 | 'gmock/src/gmock-matchers.cc', |
| 30 | 'gmock/src/gmock-spec-builders.cc', |
| 31 | 'gmock/src/gmock.cc', |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 32 | ], |
| 33 | 'include_dirs': [ |
| 34 | 'gmock', |
| 35 | 'gmock/include', |
| 36 | ], |
| 37 | 'direct_dependent_settings': { |
| 38 | 'include_dirs': [ |
| 39 | 'gmock/include', # So that gmock headers can find themselves. |
| 40 | ], |
| 41 | }, |
| 42 | 'export_dependent_settings': [ |
| 43 | 'gtest.gyp:gtest', |
| 44 | ], |
| 45 | }, |
| 46 | { |
| 47 | 'target_name': 'gmock_main', |
| 48 | 'type': 'static_library', |
| 49 | 'dependencies': [ |
| 50 | 'gmock', |
| 51 | ], |
| 52 | 'sources': [ |
| 53 | 'gmock/src/gmock_main.cc', |
| 54 | ], |
| 55 | }, |
| 56 | ], |
| 57 | } |