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

Side by Side Diff: base/BUILD.gn

Issue 135733006: GN: Add wexit_time_destructors config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Put new config in a more logical place. 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 component("base") { 5 component("base") {
6 external = true 6 external = true
7 sources = [ 7 sources = [
8 "../build/build_config.h", 8 "../build/build_config.h",
9 "third_party/dmg_fp/dmg_fp.h", 9 "third_party/dmg_fp/dmg_fp.h",
10 "third_party/dmg_fp/g_fmt.cc", 10 "third_party/dmg_fp/g_fmt.cc",
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 "i18n/number_formatting.h", 865 "i18n/number_formatting.h",
866 "i18n/rtl.cc", 866 "i18n/rtl.cc",
867 "i18n/rtl.h", 867 "i18n/rtl.h",
868 "i18n/string_compare.cc", 868 "i18n/string_compare.cc",
869 "i18n/string_compare.h", 869 "i18n/string_compare.h",
870 "i18n/string_search.cc", 870 "i18n/string_search.cc",
871 "i18n/string_search.h", 871 "i18n/string_search.h",
872 "i18n/time_formatting.cc", 872 "i18n/time_formatting.cc",
873 "i18n/time_formatting.h", 873 "i18n/time_formatting.h",
874 ] 874 ]
875 defines = [ "BASE_I18N_IMPLEMENTATION" ]
876 configs += [ "//build/config/compiler:wexit_time_destructors" ]
875 deps = [ 877 deps = [
876 ":base", 878 ":base",
877 "//base/third_party/dynamic_annotations", 879 "//base/third_party/dynamic_annotations",
878 "//third_party/icu:icui18n", 880 "//third_party/icu:icui18n",
879 "//third_party/icu:icuuc", 881 "//third_party/icu:icuuc",
880 ] 882 ]
881 defines = [
882 "BASE_I18N_IMPLEMENTATION",
883 ]
884 883
885 if (toolkit_uses_gtk) { 884 if (toolkit_uses_gtk) {
886 # i18n/rtl.cc uses gtk 885 # i18n/rtl.cc uses gtk
887 configs += "//build/config/linux:gtk" 886 configs += "//build/config/linux:gtk"
888 } 887 }
889 888
890 #'conditions': [ 889 #'conditions': [
891 # ['OS == "win"', { 890 # ['OS == "win"', {
892 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 891 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
893 # 'msvs_disabled_warnings': [ 892 # 'msvs_disabled_warnings': [
894 # 4267, 893 # 4267,
895 # ], 894 # ],
896 # }], 895 # }],
897 #], 896 #],
898 #'variables': { 897 #'variables': {
899 # 'enable_wexit_time_destructors': 1,
900 # 'optimize': 'max', 898 # 'optimize': 'max',
901 #}, 899 #},
902 } 900 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698