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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 'export_dependent_settings': [ | 279 'export_dependent_settings': [ |
280 'renderer', | 280 'renderer', |
281 ], | 281 ], |
282 }, { # OS=="ios" | 282 }, { # OS=="ios" |
283 'sources/': [ | 283 'sources/': [ |
284 # Exclude everything but iOS-specific files. | 284 # Exclude everything but iOS-specific files. |
285 ['exclude', '\\.(cc|mm)$'], | 285 ['exclude', '\\.(cc|mm)$'], |
286 ['include', '_ios\\.(cc|mm)$'], | 286 ['include', '_ios\\.(cc|mm)$'], |
287 ['include', '(^|/)ios/'], | 287 ['include', '(^|/)ios/'], |
288 # TODO(ios): Add files here as they are updated to compile on iOS. | 288 # TODO(ios): Add files here as they are updated to compile on iOS. |
| 289 ['include', '^test/base/chrome_test_suite\\.cc$'], |
| 290 ['include', '^test/base/testing_browser_process'], |
289 ], | 291 ], |
290 }], | 292 }], |
291 ['chromeos==0', { | 293 ['chromeos==0', { |
292 'sources/': [ | 294 'sources/': [ |
293 ['exclude', '^browser/chromeos'], | 295 ['exclude', '^browser/chromeos'], |
294 ], | 296 ], |
295 }, { # chromeos==1 | 297 }, { # chromeos==1 |
296 'dependencies': [ | 298 'dependencies': [ |
297 '../build/linux/system.gyp:dbus', | 299 '../build/linux/system.gyp:dbus', |
298 '../chromeos/chromeos.gyp:chromeos_test_support', | 300 '../chromeos/chromeos.gyp:chromeos_test_support', |
299 ], | 301 ], |
300 }], | 302 }], |
301 ['toolkit_uses_gtk == 1', { | 303 ['toolkit_uses_gtk == 1', { |
302 'dependencies': [ | 304 'dependencies': [ |
303 '../build/linux/system.gyp:gtk', | 305 '../build/linux/system.gyp:gtk', |
304 ], | 306 ], |
305 }], | 307 }], |
306 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 308 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
307 'dependencies': [ | 309 'dependencies': [ |
308 '../build/linux/system.gyp:ssl', | 310 '../build/linux/system.gyp:ssl', |
309 ], | 311 ], |
310 }], | 312 }], |
311 ['OS!="android"', { | 313 ['OS!="android" and OS!="ios"', { |
312 'dependencies': [ | 314 'dependencies': [ |
313 'service', | 315 'service', |
314 ], | 316 ], |
315 }], | 317 }], |
316 ['OS=="win"', { | 318 ['OS=="win"', { |
317 'include_dirs': [ | 319 'include_dirs': [ |
318 '<(DEPTH)/third_party/wtl/include', | 320 '<(DEPTH)/third_party/wtl/include', |
319 ], | 321 ], |
320 }], | 322 }], |
321 ['OS=="win" and use_aura==1', { | 323 ['OS=="win" and use_aura==1', { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 '../net/net.gyp:net_test_support', | 378 '../net/net.gyp:net_test_support', |
377 '../testing/gmock.gyp:gmock', | 379 '../testing/gmock.gyp:gmock', |
378 '../testing/gtest.gyp:gtest', | 380 '../testing/gtest.gyp:gtest', |
379 'test_support_common', | 381 'test_support_common', |
380 '../sync/sync.gyp:test_support_sync_api', | 382 '../sync/sync.gyp:test_support_sync_api', |
381 '../sync/sync.gyp:test_support_sync_core', | 383 '../sync/sync.gyp:test_support_sync_core', |
382 '../sync/sync.gyp:test_support_sync_internal_api', | 384 '../sync/sync.gyp:test_support_sync_internal_api', |
383 '../sync/sync.gyp:test_support_sync_notifier', | 385 '../sync/sync.gyp:test_support_sync_notifier', |
384 'test_support_unit', | 386 'test_support_unit', |
385 # 3) anything tests directly depend on | 387 # 3) anything tests directly depend on |
386 '../device/device.gyp:device_bluetooth_mocks', | |
387 '../google_apis/google_apis.gyp:google_apis', | 388 '../google_apis/google_apis.gyp:google_apis', |
388 '../skia/skia.gyp:skia', | 389 '../skia/skia.gyp:skia', |
389 '../third_party/bzip2/bzip2.gyp:bzip2', | 390 '../third_party/bzip2/bzip2.gyp:bzip2', |
390 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 391 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
391 '../third_party/icu/icu.gyp:icui18n', | 392 '../third_party/icu/icu.gyp:icui18n', |
392 '../third_party/icu/icu.gyp:icuuc', | 393 '../third_party/icu/icu.gyp:icuuc', |
393 '../third_party/libxml/libxml.gyp:libxml', | 394 '../third_party/libxml/libxml.gyp:libxml', |
394 '../ui/ui.gyp:ui_resources', | 395 '../ui/ui.gyp:ui_resources', |
395 '../ui/ui.gyp:ui_test_support', | 396 '../ui/ui.gyp:ui_test_support', |
396 'chrome_resources.gyp:chrome_resources', | 397 'chrome_resources.gyp:chrome_resources', |
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1615 '../webkit/fileapi/syncable/canned_syncable_file_system.h', | 1616 '../webkit/fileapi/syncable/canned_syncable_file_system.h', |
1616 '../webkit/glue/web_intent_reply_data_unittest.cc', | 1617 '../webkit/glue/web_intent_reply_data_unittest.cc', |
1617 '../webkit/glue/web_intent_service_data_unittest.cc', | 1618 '../webkit/glue/web_intent_service_data_unittest.cc', |
1618 '../webkit/quota/mock_storage_client.cc', | 1619 '../webkit/quota/mock_storage_client.cc', |
1619 '../webkit/quota/mock_storage_client.h', | 1620 '../webkit/quota/mock_storage_client.h', |
1620 ], | 1621 ], |
1621 'conditions': [ | 1622 'conditions': [ |
1622 ['OS!="ios"', { | 1623 ['OS!="ios"', { |
1623 'dependencies': [ | 1624 'dependencies': [ |
1624 'common/extensions/api/api.gyp:api', | 1625 'common/extensions/api/api.gyp:api', |
| 1626 '../device/device.gyp:device_bluetooth_mocks', |
1625 '../gpu/gpu.gyp:gpu_unittest_utils', | 1627 '../gpu/gpu.gyp:gpu_unittest_utils', |
1626 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | 1628 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', |
1627 '../third_party/cld/cld.gyp:cld', | 1629 '../third_party/cld/cld.gyp:cld', |
1628 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 1630 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
1629 '../third_party/libjingle/libjingle.gyp:libjingle', | 1631 '../third_party/libjingle/libjingle.gyp:libjingle', |
1630 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j
son_schema_compiler_tests', | 1632 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j
son_schema_compiler_tests', |
1631 '../ui/gl/gl.gyp:gl', | 1633 '../ui/gl/gl.gyp:gl', |
1632 '../v8/tools/gyp/v8.gyp:v8', | 1634 '../v8/tools/gyp/v8.gyp:v8', |
1633 ], | 1635 ], |
1634 # TODO(scr): Use this in browser_tests too. | 1636 # TODO(scr): Use this in browser_tests too. |
1635 'includes': [ | 1637 'includes': [ |
1636 'js_unittest_rules.gypi', | 1638 'js_unittest_rules.gypi', |
1637 ], | 1639 ], |
1638 }, { # OS=="ios" | 1640 }, { # OS=="ios" |
1639 'dependencies': [ | 1641 'dependencies': [ |
1640 '../third_party/ocmock/ocmock.gyp:ocmock', | 1642 '../third_party/ocmock/ocmock.gyp:ocmock', |
1641 ], | 1643 ], |
1642 'sources/': [ | 1644 'sources/': [ |
1643 # Exclude everything but iOS-specific files. | 1645 # Exclude everything but iOS-specific files. |
1644 ['exclude', '\\.(cc|mm)$'], | 1646 ['exclude', '\\.(cc|mm)$'], |
1645 ['include', '_ios\\.(cc|mm)$'], | 1647 ['include', '_ios\\.(cc|mm)$'], |
1646 ['include', '(^|/)ios/'], | 1648 ['include', '(^|/)ios/'], |
1647 # TODO(ios): Add files here as they are updated to compile on iOS. | 1649 # TODO(ios): Add files here as they are updated to compile on iOS. |
| 1650 ['include', '^common/bzip2_unittest\\.cc$'], |
| 1651 ['include', '^common/zip_'], |
1648 ], | 1652 ], |
1649 'actions': [ | 1653 'actions': [ |
1650 { | 1654 { |
1651 'action_name': 'copy_test_data', | 1655 'action_name': 'copy_test_data', |
1652 'variables': { | 1656 'variables': { |
1653 'test_data_files': [ | 1657 'test_data_files': [ |
1654 'test/data/zip', | 1658 'test/data/zip', |
1655 ], | 1659 ], |
1656 'test_data_prefix': 'chrome', | 1660 'test_data_prefix': 'chrome', |
1657 }, | 1661 }, |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 'unit_tests.isolate', | 2254 'unit_tests.isolate', |
2251 ], | 2255 ], |
2252 'sources': [ | 2256 'sources': [ |
2253 'unit_tests.isolate', | 2257 'unit_tests.isolate', |
2254 ], | 2258 ], |
2255 }, | 2259 }, |
2256 ], | 2260 ], |
2257 }], | 2261 }], |
2258 ], # 'conditions' | 2262 ], # 'conditions' |
2259 } | 2263 } |
OLD | NEW |