Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: base/base.gyp

Issue 10700158: Get base_unittests closer to compiling for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@all-ios-tweak
Patch Set: Comment fix Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/test/test_suite.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 }, { # gtest_target_type != shared_library 545 }, { # gtest_target_type != shared_library
546 'sources!': [ 546 'sources!': [
547 # The below files are excluded because of the missing JNI. 547 # The below files are excluded because of the missing JNI.
548 'android/jni_android_unittest.cc', 548 'android/jni_android_unittest.cc',
549 'android/path_utils_unittest.cc', 549 'android/path_utils_unittest.cc',
550 'android/scoped_java_ref_unittest.cc', 550 'android/scoped_java_ref_unittest.cc',
551 ], 551 ],
552 }], 552 }],
553 ], 553 ],
554 }], 554 }],
555 ['OS == "ios"', {
556 'sources/': [
557 # Only test the iOS-meaningful portion of process_utils.
558 ['exclude', '^process_util_unittest'],
559 ['include', '^process_util_unittest_ios.cc$'],
560 # Requires spawning processes.
561 ['exclude', '^metrics/stats_table_unittest.cc'],
562 # TODO(ios): Remove these as base/ is unforked.
563 # For now, exclude everything that doesn't build as-is, just to
564 # get a minimal target building.
565 ['exclude', '^memory/aligned_memory_unittest.cc'],
566 ['exclude', '^message_'],
567 ['exclude', '^shared_memory_unittest.cc'],
568 ['exclude', '^sys_info_unittest.cc'],
569 ['exclude', '^system_monitor'],
570 ],
571 }],
555 ['use_glib==1', { 572 ['use_glib==1', {
556 'sources!': [ 573 'sources!': [
557 'file_version_info_unittest.cc', 574 'file_version_info_unittest.cc',
558 ], 575 ],
559 'conditions': [ 576 'conditions': [
560 [ 'linux_use_tcmalloc==1', { 577 [ 'linux_use_tcmalloc==1', {
561 'dependencies': [ 578 'dependencies': [
562 'allocator/allocator.gyp:allocator', 579 'allocator/allocator.gyp:allocator',
563 ], 580 ],
564 }, 581 },
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 'debug/trace_event_win_unittest.cc', 622 'debug/trace_event_win_unittest.cc',
606 'time_win_unittest.cc', 623 'time_win_unittest.cc',
607 'win/win_util_unittest.cc', 624 'win/win_util_unittest.cc',
608 ], 625 ],
609 }], 626 }],
610 ['OS=="mac"', { 627 ['OS=="mac"', {
611 'dependencies': [ 628 'dependencies': [
612 'closure_blocks_leopard_compat', 629 'closure_blocks_leopard_compat',
613 ], 630 ],
614 }], 631 }],
615 ], 632 ], # conditions
633 'target_conditions': [
rohitrao (ping after 24h) 2012/07/11 12:05:10 Why does this need to be in target_conditions inst
stuartmorgan 2012/07/11 12:56:56 Because that's the step that filename_rules is imp
634 ['OS == "ios"', {
635 'sources/': [
636 # Pull in specific Mac files for iOS (which have been filtered out
637 # by file name rules).
638 ['include', 'mac/objc_property_releaser_unittest.mm'],
639 ['include', 'sys_string_conversions_mac_unittest.mm'],
640 ],
641 }],
642 ], # target_conditions
616 }, 643 },
617 { 644 {
618 'target_name': 'check_example', 645 'target_name': 'check_example',
619 'type': 'executable', 646 'type': 'executable',
620 'sources': [ 647 'sources': [
621 'check_example.cc', 648 'check_example.cc',
622 ], 649 ],
623 'dependencies': [ 650 'dependencies': [
624 'base', 651 'base',
625 ], 652 ],
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 'i18n/icu_util_nacl_win64.cc', 844 'i18n/icu_util_nacl_win64.cc',
818 ], 845 ],
819 'configurations': { 846 'configurations': {
820 'Common_Base': { 847 'Common_Base': {
821 'msvs_target_platform': 'x64', 848 'msvs_target_platform': 'x64',
822 }, 849 },
823 }, 850 },
824 }, 851 },
825 ], 852 ],
826 }], 853 }],
827 ['os_posix==1 and OS!="mac"', { 854 ['os_posix==1 and OS!="mac" and OS!="ios"', {
828 'targets': [ 855 'targets': [
829 { 856 {
830 'target_name': 'symbolize', 857 'target_name': 'symbolize',
831 'type': 'static_library', 858 'type': 'static_library',
832 'toolsets': ['host', 'target'], 859 'toolsets': ['host', 'target'],
833 'variables': { 860 'variables': {
834 'chromium_code': 0, 861 'chromium_code': 0,
835 }, 862 },
836 'conditions': [ 863 'conditions': [
837 ['OS == "solaris"', { 864 ['OS == "solaris"', {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 'test_suite_name': 'base_unittests', 1049 'test_suite_name': 'base_unittests',
1023 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', 1050 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)',
1024 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], 1051 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',],
1025 }, 1052 },
1026 'includes': [ '../build/apk_test.gypi' ], 1053 'includes': [ '../build/apk_test.gypi' ],
1027 }, 1054 },
1028 ], 1055 ],
1029 }], 1056 }],
1030 ], 1057 ],
1031 } 1058 }
OLDNEW
« no previous file with comments | « no previous file | base/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698