OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 # |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 # you may not use this file except in compliance with the License. |
| 5 # You may obtain a copy of the License at |
| 6 # |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 # |
| 9 # Unless required by applicable law or agreed to in writing, software |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 # See the License for the specific language governing permissions and |
| 13 # limitations under the License. |
| 14 |
| 15 { |
| 16 'targets': [ |
| 17 { |
| 18 'target_name': 'gmock', |
| 19 'type': 'static_library', |
| 20 'dependencies': [ |
| 21 '../gtest/gtest.gyp:gtest', |
| 22 ], |
| 23 'include_dirs': [ |
| 24 'gmock', |
| 25 'gmock/include', |
| 26 ], |
| 27 'sources': [ |
| 28 'gmock/include/gmock/gmock-actions.h', |
| 29 'gmock/include/gmock/gmock-cardinalities.h', |
| 30 'gmock/include/gmock/gmock-generated-actions.h', |
| 31 'gmock/include/gmock/gmock-generated-function-mockers.h', |
| 32 'gmock/include/gmock/gmock-generated-matchers.h', |
| 33 'gmock/include/gmock/gmock-generated-nice-strict.h', |
| 34 'gmock/include/gmock/gmock-matchers.h', |
| 35 'gmock/include/gmock/gmock-more-actions.h', |
| 36 'gmock/include/gmock/gmock-more-matchers.h', |
| 37 'gmock/include/gmock/gmock-spec-builders.h', |
| 38 'gmock/include/gmock/gmock.h', |
| 39 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', |
| 40 'gmock/include/gmock/internal/gmock-internal-utils.h', |
| 41 'gmock/include/gmock/internal/gmock-port.h', |
| 42 'gmock/src/gmock-all.cc', |
| 43 'gmock/src/gmock-cardinalities.cc', |
| 44 'gmock/src/gmock-internal-utils.cc', |
| 45 'gmock/src/gmock-matchers.cc', |
| 46 'gmock/src/gmock-spec-builders.cc', |
| 47 'gmock/src/gmock.cc', |
| 48 ], |
| 49 'sources!': [ |
| 50 'gmock/src/gmock-all.cc', |
| 51 ], |
| 52 'direct_dependent_settings': { |
| 53 'include_dirs': [ |
| 54 'gmock/include', |
| 55 ], |
| 56 }, |
| 57 'export_dependent_settings': [ |
| 58 '../gtest/gtest.gyp:gtest', |
| 59 ], |
| 60 }, |
| 61 { |
| 62 'target_name': 'gmock_main', |
| 63 'type': 'static_library', |
| 64 'dependencies': [ |
| 65 'gmock', |
| 66 '../gtest/gtest.gyp:gtest', |
| 67 ], |
| 68 'sources': [ |
| 69 'gmock/src/gmock_main.cc', |
| 70 ], |
| 71 }, |
| 72 { |
| 73 'target_name': 'gmock_test_executable', |
| 74 'type': 'none', |
| 75 'dependencies': [ |
| 76 'gmock', |
| 77 '../gtest/gtest.gyp:gtest', |
| 78 ], |
| 79 'direct_dependent_settings': { |
| 80 'type': 'executable', |
| 81 'include_dirs': [ |
| 82 'gmock', |
| 83 ], |
| 84 }, |
| 85 'export_dependent_settings': [ |
| 86 'gmock', |
| 87 '../gtest/gtest.gyp:gtest', |
| 88 ], |
| 89 }, |
| 90 { |
| 91 'target_name': 'gmock_all_test', |
| 92 'dependencies': [ |
| 93 'gmock_test_executable', |
| 94 'gmock_main', |
| 95 ], |
| 96 'sources': [ |
| 97 'gmock/test/gmock-actions_test.cc', |
| 98 'gmock/test/gmock-cardinalities_test.cc', |
| 99 'gmock/test/gmock-generated-actions_test.cc', |
| 100 'gmock/test/gmock-generated-function-mockers_test.cc', |
| 101 'gmock/test/gmock-generated-internal-utils_test.cc', |
| 102 'gmock/test/gmock-generated-matchers_test.cc', |
| 103 'gmock/test/gmock-internal-utils_test.cc', |
| 104 'gmock/test/gmock-matchers_test.cc', |
| 105 'gmock/test/gmock-more-actions_test.cc', |
| 106 'gmock/test/gmock-nice-strict_test.cc', |
| 107 'gmock/test/gmock-port_test.cc', |
| 108 'gmock/test/gmock_test.cc', |
| 109 ], |
| 110 }, |
| 111 { |
| 112 'target_name': 'gmock_link_test', |
| 113 'dependencies': [ |
| 114 'gmock_test_executable', |
| 115 'gmock_main', |
| 116 ], |
| 117 'sources': [ |
| 118 'gmock/test/gmock_link_test.cc', |
| 119 'gmock/test/gmock_link_test.h', |
| 120 'gmock/test/gmock_link2_test.cc', |
| 121 ], |
| 122 }, |
| 123 { |
| 124 'target_name': 'gmock_spec_builders_test', |
| 125 'dependencies': [ |
| 126 'gmock_test_executable', |
| 127 ], |
| 128 'sources': [ |
| 129 'gmock/test/gmock-spec-builders_test.cc', |
| 130 ], |
| 131 }, |
| 132 { |
| 133 'target_name': 'gmock_stress_test', |
| 134 'dependencies': [ |
| 135 'gmock_test_executable', |
| 136 ], |
| 137 'sources': [ |
| 138 'gmock/test/gmock_stress_test.cc', |
| 139 ], |
| 140 }, |
| 141 { |
| 142 'target_name': 'gmock_all_tests', |
| 143 'type': 'none', |
| 144 'dependencies': [ |
| 145 'gmock_all_test', |
| 146 'gmock_link_test', |
| 147 'gmock_spec_builders_test', |
| 148 'gmock_stress_test', |
| 149 ], |
| 150 }, |
| 151 ], |
| 152 } |
OLD | NEW |