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

Side by Side Diff: base/base.gypi

Issue 636783002: Use C++11 atomics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'android/sys_utils.cc', 72 'android/sys_utils.cc',
73 'android/sys_utils.h', 73 'android/sys_utils.h',
74 'android/thread_utils.h', 74 'android/thread_utils.h',
75 'android/trace_event_binding.cc', 75 'android/trace_event_binding.cc',
76 'android/trace_event_binding.h', 76 'android/trace_event_binding.h',
77 'at_exit.cc', 77 'at_exit.cc',
78 'at_exit.h', 78 'at_exit.h',
79 'atomic_ref_count.h', 79 'atomic_ref_count.h',
80 'atomic_sequence_num.h', 80 'atomic_sequence_num.h',
81 'atomicops.h', 81 'atomicops.h',
82 'atomicops_internals_gcc.h', 82 'atomicops_internals_portable.h',
83 'atomicops_internals_mac.h',
84 'atomicops_internals_tsan.h',
85 'atomicops_internals_x86_gcc.cc',
86 'atomicops_internals_x86_gcc.h',
87 'atomicops_internals_x86_msvc.h',
88 'barrier_closure.cc', 83 'barrier_closure.cc',
89 'barrier_closure.h', 84 'barrier_closure.h',
90 'base64.cc', 85 'base64.cc',
91 'base64.h', 86 'base64.h',
92 'base_export.h', 87 'base_export.h',
93 'base_paths.cc', 88 'base_paths.cc',
94 'base_paths.h', 89 'base_paths.h',
95 'base_paths_android.cc', 90 'base_paths_android.cc',
96 'base_paths_android.h', 91 'base_paths_android.h',
97 'base_paths_mac.h', 92 'base_paths_mac.h',
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 '..', 726 '..',
732 ], 727 ],
733 'msvs_disabled_warnings': [ 728 'msvs_disabled_warnings': [
734 4018, 729 4018,
735 ], 730 ],
736 'target_conditions': [ 731 'target_conditions': [
737 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_bui ld)==1', { 732 ['(<(desktop_linux) == 0 and <(chromeos) == 0) or >(nacl_untrusted_bui ld)==1', {
738 'sources/': [ 733 'sources/': [
739 ['exclude', '^nix/'], 734 ['exclude', '^nix/'],
740 ], 735 ],
741 'sources!': [
742 'atomicops_internals_x86_gcc.cc',
743 ],
744 }], 736 }],
745 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', { 737 ['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
746 'sources!': [ 738 'sources!': [
747 'message_loop/message_pump_glib.cc', 739 'message_loop/message_pump_glib.cc',
748 ], 740 ],
749 }], 741 }],
750 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_unt rusted_build)==1', { 742 ['(OS != "linux" and <(os_bsd) != 1 and OS != "android") or >(nacl_unt rusted_build)==1', {
751 'sources!': [ 743 'sources!': [
752 # Not automatically excluded by the *linux.cc rules. 744 # Not automatically excluded by the *linux.cc rules.
753 'linux_util.cc', 745 'linux_util.cc',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 ['include', '^sys_info_linux\\.cc$'], 812 ['include', '^sys_info_linux\\.cc$'],
821 ['include', '^worker_pool_linux\\.cc$'], 813 ['include', '^worker_pool_linux\\.cc$'],
822 ], 814 ],
823 }], 815 }],
824 ['OS == "android" and _toolset == "host" and host_os == "linux"', { 816 ['OS == "android" and _toolset == "host" and host_os == "linux"', {
825 'defines': [ 817 'defines': [
826 'OS_ANDROID_HOST=Linux', 818 'OS_ANDROID_HOST=Linux',
827 ], 819 ],
828 'sources/': [ 820 'sources/': [
829 # Pull in specific files for host builds. 821 # Pull in specific files for host builds.
830 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
831 ['include', '^threading/platform_thread_linux\\.cc$'], 822 ['include', '^threading/platform_thread_linux\\.cc$'],
832 ], 823 ],
833 }], 824 }],
834 ['OS == "android" and <(android_webview_build)==1', { 825 ['OS == "android" and <(android_webview_build)==1', {
835 'defines': [ 826 'defines': [
836 # WebView builds as part of the system which already has sincos; 827 # WebView builds as part of the system which already has sincos;
837 # avoid defining it again as it causes a linker warning. 828 # avoid defining it again as it causes a linker warning.
838 'ANDROID_SINCOS_PROVIDED', 829 'ANDROID_SINCOS_PROVIDED',
839 ], 830 ],
840 }], 831 }],
841 ['OS == "ios" and _toolset != "host"', { 832 ['OS == "ios" and _toolset != "host"', {
842 'sources/': [ 833 'sources/': [
843 # Pull in specific Mac files for iOS (which have been filtered out 834 # Pull in specific Mac files for iOS (which have been filtered out
844 # by file name rules). 835 # by file name rules).
845 ['include', '^atomicops_internals_mac\\.'],
846 ['include', '^base_paths_mac\\.'], 836 ['include', '^base_paths_mac\\.'],
847 ['include', '^files/file_util_mac\\.'], 837 ['include', '^files/file_util_mac\\.'],
848 ['include', '^file_version_info_mac\\.'], 838 ['include', '^file_version_info_mac\\.'],
849 ['include', '^mac/bundle_locations\\.'], 839 ['include', '^mac/bundle_locations\\.'],
850 ['include', '^mac/foundation_util\\.'], 840 ['include', '^mac/foundation_util\\.'],
851 ['include', '^mac/mac_logging\\.'], 841 ['include', '^mac/mac_logging\\.'],
852 ['include', '^mac/mach_logging\\.'], 842 ['include', '^mac/mach_logging\\.'],
853 ['include', '^mac/objc_property_releaser\\.'], 843 ['include', '^mac/objc_property_releaser\\.'],
854 ['include', '^mac/scoped_mach_port\\.'], 844 ['include', '^mac/scoped_mach_port\\.'],
855 ['include', '^mac/scoped_mach_vm\\.'], 845 ['include', '^mac/scoped_mach_vm\\.'],
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 'i18n/time_formatting.h', 988 'i18n/time_formatting.h',
999 'i18n/timezone.cc', 989 'i18n/timezone.cc',
1000 'i18n/timezone.h', 990 'i18n/timezone.h',
1001 'i18n/utf8_validator_tables.cc', 991 'i18n/utf8_validator_tables.cc',
1002 'i18n/utf8_validator_tables.h', 992 'i18n/utf8_validator_tables.h',
1003 ], 993 ],
1004 }] 994 }]
1005 ], 995 ],
1006 }, 996 },
1007 } 997 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698