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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 139283005: Pull new GN binary @ r247206 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('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) 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 # In Chromium code, we define __STDC_foo_MACROS in order to get the 413 # In Chromium code, we define __STDC_foo_MACROS in order to get the
414 # C99 macros on Mac and Linux. 414 # C99 macros on Mac and Linux.
415 defines = [ 415 defines = [
416 "__STDC_CONSTANT_MACROS", 416 "__STDC_CONSTANT_MACROS",
417 "__STDC_FORMAT_MACROS", 417 "__STDC_FORMAT_MACROS",
418 ] 418 ]
419 419
420 # TODO(brettw) this should also be enabled on Linux but some files 420 # TODO(brettw) this should also be enabled on Linux but some files
421 # currently fail. 421 # currently fail.
422 if (is_mac) { 422 if (is_mac) {
423 cflags += "-Wextra" 423 cflags += [ "-Wextra" ]
424 } 424 }
425 } 425 }
426 } 426 }
427 config("no_chromium_code") { 427 config("no_chromium_code") {
428 if (is_win) { 428 if (is_win) {
429 cflags = [ 429 cflags = [
430 "/W3", # Warning level 3. 430 "/W3", # Warning level 3.
431 "/wd4800", # Disable warning when forcing value to bool. 431 "/wd4800", # Disable warning when forcing value to bool.
432 ] 432 ]
433 defines = [ 433 defines = [
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 cflags = [ "-g1" ] 681 cflags = [ "-g1" ]
682 } 682 }
683 } 683 }
684 684
685 config("no_symbols") { 685 config("no_symbols") {
686 if (!is_win) { 686 if (!is_win) {
687 cflags = [ "-g0" ] 687 cflags = [ "-g0" ]
688 } 688 }
689 } 689 }
690 690
OLDNEW
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698