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

Side by Side Diff: base/BUILD.gn

Issue 560143002: gn: Add missing -Wexit-time-destructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | 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) 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 "nix/xdg_util.h", 899 "nix/xdg_util.h",
900 ] 900 ]
901 } 901 }
902 902
903 if (!use_glib) { 903 if (!use_glib) {
904 sources -= [ 904 sources -= [
905 "message_loop/message_pump_glib.cc", 905 "message_loop/message_pump_glib.cc",
906 "message_loop/message_pump_glib.h", 906 "message_loop/message_pump_glib.h",
907 ] 907 ]
908 } 908 }
909
910 configs += [ "//build/config/compiler:wexit_time_destructors" ]
909 } 911 }
910 912
911 # This is the subset of files from base that should not be used with a dynamic 913 # This is the subset of files from base that should not be used with a dynamic
912 # library. Note that this library cannot depend on base because base depends on 914 # library. Note that this library cannot depend on base because base depends on
913 # base_static. 915 # base_static.
914 source_set("base_static") { 916 source_set("base_static") {
915 sources = [ 917 sources = [
916 "base_switches.cc", 918 "base_switches.cc",
917 "base_switches.h", 919 "base_switches.h",
918 "win/pe_image.cc", 920 "win/pe_image.cc",
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 # GYP: //base.gyp:base_unittests_apk 1451 # GYP: //base.gyp:base_unittests_apk
1450 unittest_apk("base_unittests_apk") { 1452 unittest_apk("base_unittests_apk") {
1451 deps = [ 1453 deps = [
1452 ":base_java", 1454 ":base_java",
1453 ":base_java_unittest_support", 1455 ":base_java_unittest_support",
1454 ":base_unittests", 1456 ":base_unittests",
1455 ] 1457 ]
1456 unittests_dep = ":base_unittests" 1458 unittests_dep = ":base_unittests"
1457 } 1459 }
1458 } 1460 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698