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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 # The core sync library. | 10 # The core sync library. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 ], | 239 ], |
240 }, | 240 }, |
241 | 241 |
242 # Unit tests for the 'sync' target. This cannot be a static | 242 # Unit tests for the 'sync' target. This cannot be a static |
243 # library because the unit test files have to be compiled directly | 243 # library because the unit test files have to be compiled directly |
244 # into the executable, so we push the target files to the | 244 # into the executable, so we push the target files to the |
245 # depending executable target via direct_dependent_settings. | 245 # depending executable target via direct_dependent_settings. |
246 { | 246 { |
247 'target_name': 'sync_tests', | 247 'target_name': 'sync_tests', |
248 'type': 'none', | 248 'type': 'none', |
| 249 # We only want unit test executables to include this target. |
| 250 'suppress_wildcard': 1, |
249 'dependencies': [ | 251 'dependencies': [ |
250 '../base/base.gyp:base', | 252 '../base/base.gyp:base', |
251 '../base/base.gyp:test_support_base', | 253 '../base/base.gyp:test_support_base', |
252 '../testing/gmock.gyp:gmock', | 254 '../testing/gmock.gyp:gmock', |
253 '../testing/gtest.gyp:gtest', | 255 '../testing/gtest.gyp:gtest', |
254 'sync', | 256 'sync', |
255 'test_support_sync', | 257 'test_support_sync', |
256 ], | 258 ], |
257 'export_dependent_settings': [ | 259 'export_dependent_settings': [ |
258 '../base/base.gyp:base', | 260 '../base/base.gyp:base', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 'conditions': [ | 344 'conditions': [ |
343 ['OS=="linux" and linux_use_tcmalloc==1', { | 345 ['OS=="linux" and linux_use_tcmalloc==1', { |
344 'dependencies': [ | 346 'dependencies': [ |
345 '../base/allocator/allocator.gyp:allocator', | 347 '../base/allocator/allocator.gyp:allocator', |
346 ], | 348 ], |
347 }], | 349 }], |
348 ], | 350 ], |
349 }, | 351 }, |
350 ], | 352 ], |
351 } | 353 } |
OLD | NEW |