| 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 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 'cflags': [ | 71 'cflags': [ |
| 72 '-Wno-write-strings', | 72 '-Wno-write-strings', |
| 73 ], | 73 ], |
| 74 'export_dependent_settings': [ | 74 'export_dependent_settings': [ |
| 75 '../build/linux/system.gyp:glib', | 75 '../build/linux/system.gyp:glib', |
| 76 '../build/linux/system.gyp:x11', | 76 '../build/linux/system.gyp:x11', |
| 77 ], | 77 ], |
| 78 }, { # use_glib!=1 | 78 }, { # use_glib!=1 |
| 79 'sources/': [ | 79 'sources/': [ |
| 80 ['exclude', '/xdg_user_dirs/'], | 80 ['exclude', '/xdg_user_dirs/'], |
| 81 ['exclude', '_nss\.cc$'], | 81 ['exclude', '_nss\\.cc$'], |
| 82 ], | 82 ], |
| 83 }], | 83 }], |
| 84 ['OS == "android" and _toolset == "host"', { | 84 ['OS == "android" and _toolset == "host"', { |
| 85 # Base for host support is the minimum required to run the | 85 # Base for host support is the minimum required to run the |
| 86 # ssl false start blacklist tool. It requires further changes | 86 # ssl false start blacklist tool. It requires further changes |
| 87 # to generically support host builds (and tests). | 87 # to generically support host builds (and tests). |
| 88 # Note: when building for host, gyp has OS == "android", | 88 # Note: when building for host, gyp has OS == "android", |
| 89 # hence the *_android.cc files are included but the actual code | 89 # hence the *_android.cc files are included but the actual code |
| 90 # doesn't have OS_ANDROID / ANDROID defined. | 90 # doesn't have OS_ANDROID / ANDROID defined. |
| 91 'conditions': [ | 91 'conditions': [ |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 'android/path_utils_unittest.cc', | 550 'android/path_utils_unittest.cc', |
| 551 'android/scoped_java_ref_unittest.cc', | 551 'android/scoped_java_ref_unittest.cc', |
| 552 ], | 552 ], |
| 553 }], | 553 }], |
| 554 ], | 554 ], |
| 555 }], | 555 }], |
| 556 ['OS == "ios"', { | 556 ['OS == "ios"', { |
| 557 'sources/': [ | 557 'sources/': [ |
| 558 # Only test the iOS-meaningful portion of process_utils. | 558 # Only test the iOS-meaningful portion of process_utils. |
| 559 ['exclude', '^process_util_unittest'], | 559 ['exclude', '^process_util_unittest'], |
| 560 ['include', '^process_util_unittest_ios.cc$'], | 560 ['include', '^process_util_unittest_ios\\.cc$'], |
| 561 # Requires spawning processes. | 561 # Requires spawning processes. |
| 562 ['exclude', '^metrics/stats_table_unittest.cc'], | 562 ['exclude', '^metrics/stats_table_unittest\\.cc$'], |
| 563 # TODO(ios): Remove these as base/ is unforked. | 563 # TODO(ios): Remove these as base/ is unforked. |
| 564 # For now, exclude everything that doesn't build as-is, just to | 564 # For now, exclude everything that doesn't build as-is, just to |
| 565 # get a minimal target building. | 565 # get a minimal target building. |
| 566 ['exclude', '^memory/aligned_memory_unittest.cc'], | 566 ['exclude', '^memory/aligned_memory_unittest\\.cc$'], |
| 567 ['exclude', '^message_'], | 567 ['exclude', '^shared_memory_unittest\\.cc$'], |
| 568 ['exclude', '^shared_memory_unittest.cc'], | 568 ['exclude', '^sys_info_unittest\\.cc$'], |
| 569 ['exclude', '^sys_info_unittest.cc'], | |
| 570 ['exclude', '^system_monitor'], | 569 ['exclude', '^system_monitor'], |
| 570 # Unittests that don't pass. |
| 571 ['exclude', '^message_loop_unittest\\.cc$'], |
| 572 ['exclude', '^synchronization/waitable_event_watcher_unittest\\.cc$'
], |
| 573 ['exclude', '^timer_unittest\\.cc$'], |
| 571 ], | 574 ], |
| 572 }], | 575 }], |
| 573 ['use_glib==1', { | 576 ['use_glib==1', { |
| 574 'sources!': [ | 577 'sources!': [ |
| 575 'file_version_info_unittest.cc', | 578 'file_version_info_unittest.cc', |
| 576 ], | 579 ], |
| 577 'conditions': [ | 580 'conditions': [ |
| 578 [ 'linux_use_tcmalloc==1', { | 581 [ 'linux_use_tcmalloc==1', { |
| 579 'dependencies': [ | 582 'dependencies': [ |
| 580 'allocator/allocator.gyp:allocator', | 583 'allocator/allocator.gyp:allocator', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 'dependencies': [ | 632 'dependencies': [ |
| 630 'closure_blocks_leopard_compat', | 633 'closure_blocks_leopard_compat', |
| 631 ], | 634 ], |
| 632 }], | 635 }], |
| 633 ], # conditions | 636 ], # conditions |
| 634 'target_conditions': [ | 637 'target_conditions': [ |
| 635 ['OS == "ios"', { | 638 ['OS == "ios"', { |
| 636 'sources/': [ | 639 'sources/': [ |
| 637 # Pull in specific Mac files for iOS (which have been filtered out | 640 # Pull in specific Mac files for iOS (which have been filtered out |
| 638 # by file name rules). | 641 # by file name rules). |
| 639 ['include', 'mac/objc_property_releaser_unittest.mm'], | 642 ['include', '^mac/objc_property_releaser_unittest\\.mm$'], |
| 640 ['include', 'sys_string_conversions_mac_unittest.mm'], | 643 ['include', '^sys_string_conversions_mac_unittest\\.mm$'], |
| 641 ], | 644 ], |
| 642 }], | 645 }], |
| 643 ], # target_conditions | 646 ], # target_conditions |
| 644 }, | 647 }, |
| 645 { | 648 { |
| 646 'target_name': 'check_example', | 649 'target_name': 'check_example', |
| 647 'type': 'executable', | 650 'type': 'executable', |
| 648 'sources': [ | 651 'sources': [ |
| 649 'check_example.cc', | 652 'check_example.cc', |
| 650 ], | 653 ], |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 'test_suite_name': 'base_unittests', | 1053 'test_suite_name': 'base_unittests', |
| 1051 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', | 1054 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', |
| 1052 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], | 1055 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], |
| 1053 }, | 1056 }, |
| 1054 'includes': [ '../build/apk_test.gypi' ], | 1057 'includes': [ '../build/apk_test.gypi' ], |
| 1055 }, | 1058 }, |
| 1056 ], | 1059 ], |
| 1057 }], | 1060 }], |
| 1058 ], | 1061 ], |
| 1059 } | 1062 } |
| OLD | NEW |