OLD | NEW |
(Empty) | |
| 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 { |
| 6 'includes': [ |
| 7 '../build/common.gypi', |
| 8 ], |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'gmock', |
| 12 'type': '<(library)', |
| 13 'msvs_guid': 'F9D886ED-B09F-4b74-932F-D8E4691E6B7F', |
| 14 'dependencies': [ |
| 15 'gtest.gyp:gtest', |
| 16 ], |
| 17 'sources': [ |
| 18 'gmock/include/gmock/gmock-actions.h', |
| 19 'gmock/include/gmock/gmock-cardinalities.h', |
| 20 'gmock/include/gmock/gmock-generated-actions.h', |
| 21 'gmock/include/gmock/gmock-generated-function-mockers.h', |
| 22 'gmock/include/gmock/gmock-generated-matchers.h', |
| 23 'gmock/include/gmock/gmock-generated-nice-strict.h', |
| 24 'gmock/include/gmock/gmock-matchers.h', |
| 25 'gmock/include/gmock/gmock-printers.h', |
| 26 'gmock/include/gmock/gmock-spec-builders.h', |
| 27 'gmock/include/gmock/gmock.h', |
| 28 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', |
| 29 'gmock/include/gmock/internal/gmock-internal-utils.h', |
| 30 'gmock/include/gmock/internal/gmock-port.h', |
| 31 'gmock/src/gmock-all.cc', |
| 32 'gmock/src/gmock-cardinalities.cc', |
| 33 'gmock/src/gmock-internal-utils.cc', |
| 34 'gmock/src/gmock-matchers.cc', |
| 35 'gmock/src/gmock-printers.cc', |
| 36 'gmock/src/gmock-spec-builders.cc', |
| 37 'gmock/src/gmock.cc', |
| 38 ], |
| 39 'sources!': [ |
| 40 'gmock/src/gmock-all.cc', # Not needed by our build. |
| 41 ], |
| 42 'include_dirs': [ |
| 43 'gmock', |
| 44 'gmock/include', |
| 45 ], |
| 46 'direct_dependent_settings': { |
| 47 'include_dirs': [ |
| 48 'gmock/include', # So that gmock headers can find themselves. |
| 49 ], |
| 50 }, |
| 51 'export_dependent_settings': [ |
| 52 'gtest.gyp:gtest', |
| 53 ], |
| 54 'conditions': [ |
| 55 ['OS=="win"', { |
| 56 'dependencies': [ |
| 57 '../third_party/boost/boost.gyp:boost_tuple', |
| 58 ], |
| 59 'export_dependent_settings': [ |
| 60 '../third_party/boost/boost.gyp:boost_tuple', |
| 61 ] |
| 62 }], |
| 63 ], |
| 64 }, |
| 65 { |
| 66 # Note that calling this "gmock_main" confuses the scons build, |
| 67 # which uses "_main" on scons files to produce special behavior. |
| 68 'target_name': 'gmockmain', |
| 69 'type': '<(library)', |
| 70 'dependencies': [ |
| 71 'gmock', |
| 72 ], |
| 73 'sources': [ |
| 74 'gmock/src/gmock_main.cc', |
| 75 ], |
| 76 }, |
| 77 ], |
| 78 } |
OLD | NEW |