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

Side by Side Diff: base/base.gypi

Issue 141703005: Remove all exclude rules that filename_rules.gypi already handles. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 11 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 | « base/base.gyp ('k') | printing/printing.gyp » ('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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 'base_i18n_target': 0, 9 'base_i18n_target': 0,
10 }, 10 },
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 }], 860 }],
861 ['OS == "ios" and _toolset == "host"', { 861 ['OS == "ios" and _toolset == "host"', {
862 'sources/': [ 862 'sources/': [
863 # Copied filename_rules to switch from iOS to Mac inclusions. 863 # Copied filename_rules to switch from iOS to Mac inclusions.
864 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'], 864 ['include', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
865 ['include', '(^|/)(cocoa|mac)/'], 865 ['include', '(^|/)(cocoa|mac)/'],
866 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'], 866 ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
867 ['exclude', '(^|/)ios/'], 867 ['exclude', '(^|/)ios/'],
868 ] 868 ]
869 }], 869 }],
870 ['OS != "mac" or >(nacl_untrusted_build)==1', {
871 'sources!': [
872 'mac/scoped_aedesc.h'
873 ],
874 }],
875 # For now, just test the *BSD platforms enough to exclude them. 870 # For now, just test the *BSD platforms enough to exclude them.
876 # Subsequent changes will include them further. 871 # Subsequent changes will include them further.
877 ['OS != "freebsd" or >(nacl_untrusted_build)==1', { 872 ['OS != "freebsd" or >(nacl_untrusted_build)==1', {
878 'sources/': [ ['exclude', '_freebsd\\.cc$'] ], 873 'sources/': [ ['exclude', '_freebsd\\.cc$'] ],
879 }, 874 },
880 ], 875 ],
881 ['OS != "openbsd" or >(nacl_untrusted_build)==1', { 876 ['OS != "openbsd" or >(nacl_untrusted_build)==1', {
882 'sources/': [ ['exclude', '_openbsd\\.cc$'] ], 877 'sources/': [ ['exclude', '_openbsd\\.cc$'] ],
883 }, 878 },
884 ], 879 ],
885 ['OS != "win" or >(nacl_untrusted_build)==1', {
886 'sources/': [ ['exclude', '^win/'] ],
887 },
888 ],
889 ['OS != "android" or >(nacl_untrusted_build)==1', {
890 'sources/': [ ['exclude', '^android/'] ],
891 },
892 ],
893 ['OS == "win" and >(nacl_untrusted_build)==0', { 880 ['OS == "win" and >(nacl_untrusted_build)==0', {
894 'include_dirs': [ 881 'include_dirs': [
895 '<(DEPTH)/third_party/wtl/include', 882 '<(DEPTH)/third_party/wtl/include',
896 ], 883 ],
897 'sources!': [ 884 'sources!': [
898 'event_recorder_stubs.cc', 885 'event_recorder_stubs.cc',
899 'files/file_path_watcher_kqueue.cc', 886 'files/file_path_watcher_kqueue.cc',
900 'files/file_path_watcher_stub.cc', 887 'files/file_path_watcher_stub.cc',
901 'message_loop/message_pump_libevent.cc', 888 'message_loop/message_pump_libevent.cc',
902 'posix/file_descriptor_shuffle.cc', 889 'posix/file_descriptor_shuffle.cc',
(...skipping 28 matching lines...) Expand all
931 'process/memory_stubs.cc', 918 'process/memory_stubs.cc',
932 ], 919 ],
933 'sources/': [ 920 'sources/': [
934 ['exclude', '^files/file_path_watcher_linux\\.cc$'], 921 ['exclude', '^files/file_path_watcher_linux\\.cc$'],
935 ['exclude', '^files/file_path_watcher_stub\\.cc$'], 922 ['exclude', '^files/file_path_watcher_stub\\.cc$'],
936 ['exclude', '^file_util_linux\\.cc$'], 923 ['exclude', '^file_util_linux\\.cc$'],
937 ['exclude', '^process/process_linux\\.cc$'], 924 ['exclude', '^process/process_linux\\.cc$'],
938 ['exclude', '^sys_info_linux\\.cc$'], 925 ['exclude', '^sys_info_linux\\.cc$'],
939 ], 926 ],
940 }], 927 }],
941 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', {
942 'sources/': [
943 ['exclude', '^chromeos/'],
944 ],
945 }],
946 # Remove all unnecessary files for build_nexe.py to avoid exceeding 928 # Remove all unnecessary files for build_nexe.py to avoid exceeding
947 # command-line-string limitation when building NaCl on Windows. 929 # command-line-string limitation when building NaCl on Windows.
948 ['OS == "win" and >(nacl_untrusted_build)==1', { 930 ['OS == "win" and >(nacl_untrusted_build)==1', {
949 'sources/': [ ['exclude', '\\.h$'] ], 931 'sources/': [ ['exclude', '\\.h$'] ],
950 }], 932 }],
951 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { 933 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', {
952 'sources/': [ 934 'sources/': [
953 ['exclude', '^third_party/nspr/'], 935 ['exclude', '^third_party/nspr/'],
954 ], 936 ],
955 }], 937 }],
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 'i18n/time_formatting.h', 980 'i18n/time_formatting.h',
999 'i18n/timezone.cc', 981 'i18n/timezone.cc',
1000 'i18n/timezone.h', 982 'i18n/timezone.h',
1001 'i18n/utf8_validator_tables.cc', 983 'i18n/utf8_validator_tables.cc',
1002 'i18n/utf8_validator_tables.h', 984 'i18n/utf8_validator_tables.h',
1003 ], 985 ],
1004 }] 986 }]
1005 ], 987 ],
1006 }, 988 },
1007 } 989 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698