OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 # This library should build cleanly with the extra warnings turned on | 7 # This library should build cleanly with the extra warnings turned on |
8 # for Chromium. | 8 # for Chromium. |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # The root directory for the proto files. | 10 # The root directory for the proto files. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 '../../base/base.gyp:base', | 183 '../../base/base.gyp:base', |
184 'cacheinvalidation_proto_cpp', | 184 'cacheinvalidation_proto_cpp', |
185 ], | 185 ], |
186 }, | 186 }, |
187 # Unittests for the cache invalidation library. | 187 # Unittests for the cache invalidation library. |
188 # TODO(ghc): Write native tests and include them here. | 188 # TODO(ghc): Write native tests and include them here. |
189 { | 189 { |
190 'target_name': 'cacheinvalidation_unittests', | 190 'target_name': 'cacheinvalidation_unittests', |
191 'type': 'executable', | 191 'type': 'executable', |
192 'sources': [ | 192 'sources': [ |
193 '../../base/test/run_all_unittests.cc', | |
194 'files/src/google/cacheinvalidation/test/deterministic-scheduler.cc', | 193 'files/src/google/cacheinvalidation/test/deterministic-scheduler.cc', |
195 'files/src/google/cacheinvalidation/test/deterministic-scheduler.h', | 194 'files/src/google/cacheinvalidation/test/deterministic-scheduler.h', |
196 'files/src/google/cacheinvalidation/test/test-logger.cc', | 195 'files/src/google/cacheinvalidation/test/test-logger.cc', |
197 'files/src/google/cacheinvalidation/test/test-logger.h', | 196 'files/src/google/cacheinvalidation/test/test-logger.h', |
198 'files/src/google/cacheinvalidation/test/test-utils.cc', | 197 'files/src/google/cacheinvalidation/test/test-utils.cc', |
199 'files/src/google/cacheinvalidation/test/test-utils.h', | 198 'files/src/google/cacheinvalidation/test/test-utils.h', |
200 'files/src/google/cacheinvalidation/impl/invalidation-client-impl_test.c
c', | 199 'files/src/google/cacheinvalidation/impl/invalidation-client-impl_test.c
c', |
201 'files/src/google/cacheinvalidation/impl/protocol-handler_test.cc', | 200 'files/src/google/cacheinvalidation/impl/protocol-handler_test.cc', |
202 'files/src/google/cacheinvalidation/impl/recurring-task_test.cc', | 201 'files/src/google/cacheinvalidation/impl/recurring-task_test.cc', |
203 'files/src/google/cacheinvalidation/impl/throttle_test.cc', | 202 'files/src/google/cacheinvalidation/impl/throttle_test.cc', |
204 ], | 203 ], |
205 'dependencies': [ | 204 'dependencies': [ |
206 '../../base/base.gyp:base', | 205 '../../base/base.gyp:base', |
207 # Needed by run_all_unittests.cc. | 206 '../../base/base.gyp:run_all_unittests', |
208 '../../base/base.gyp:test_support_base', | |
209 '../../testing/gmock.gyp:gmock', | 207 '../../testing/gmock.gyp:gmock', |
210 '../../testing/gtest.gyp:gtest', | 208 '../../testing/gtest.gyp:gtest', |
211 'cacheinvalidation', | 209 'cacheinvalidation', |
212 ], | 210 ], |
213 }, | 211 }, |
214 { | 212 { |
215 'target_name': 'cacheinvalidation_unittests_run', | 213 'target_name': 'cacheinvalidation_unittests_run', |
216 'type': 'none', | 214 'type': 'none', |
217 'dependencies': [ | 215 'dependencies': [ |
218 'cacheinvalidation_unittests', | 216 'cacheinvalidation_unittests', |
(...skipping 13 matching lines...) Expand all Loading... |
232 '--mode=<(tests_run)', | 230 '--mode=<(tests_run)', |
233 '--root', '<(DEPTH)', | 231 '--root', '<(DEPTH)', |
234 '--result', '<@(_outputs)', | 232 '--result', '<@(_outputs)', |
235 '<@(_inputs)', | 233 '<@(_inputs)', |
236 ], | 234 ], |
237 }, | 235 }, |
238 ], | 236 ], |
239 }, | 237 }, |
240 ], | 238 ], |
241 } | 239 } |
OLD | NEW |