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

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

Issue 116763005: GN: Get Mac build working for IPC target at least. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Brett's comments. 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/linux/pkg_config.gni » ('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/linux/sysroot.gni") 5 import("//build/config/sysroot.gni")
6 6
7 # Base compiler configuration. 7 # Base compiler configuration.
8 config("compiler") { 8 config("compiler") {
9 include_dirs = [ "//", root_gen_dir ] 9 include_dirs = [ "//", root_gen_dir ]
10 if (is_win) { 10 if (is_win) {
11 cflags = [ 11 cflags = [
12 "/Gy", # Enable function-level linking. 12 "/Gy", # Enable function-level linking.
13 "/GS", # Enable buffer security checking. 13 "/GS", # Enable buffer security checking.
14 "/EHsc", # Assume C functions can't throw exceptions and don't catch 14 "/EHsc", # Assume C functions can't throw exceptions and don't catch
15 # structured exceptions (only C++ ones). 15 # structured exceptions (only C++ ones).
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 } else { 412 } else {
413 cflags = [ "-g1" ] 413 cflags = [ "-g1" ]
414 } 414 }
415 } 415 }
416 416
417 config("no_symbols") { 417 config("no_symbols") {
418 if (!is_win) { 418 if (!is_win) {
419 cflags = [ "-g0" ] 419 cflags = [ "-g0" ]
420 } 420 }
421 } 421 }
OLDNEW
« no previous file with comments | « no previous file | build/config/linux/pkg_config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698