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

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

Issue 265693003: Redo GN "args" command (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create dir Created 6 years, 7 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 | third_party/wtl/BUILD.gn » ('j') | tools/gn/command_args.cc » ('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 import("clang.gni") 5 import("clang.gni")
6 6
7 config("find_bad_constructs") { 7 config("find_bad_constructs") {
8 if (clang_use_chrome_plugins) { 8 if (clang_use_chrome_plugins) {
9 cflags = [ 9 cflags = [
10 "-Xclang", "-load", 10 "-Xclang", "-load",
(...skipping 14 matching lines...) Expand all
25 "-Xclang", "-add-plugin", 25 "-Xclang", "-add-plugin",
26 "-Xclang", "find-bad-constructs", 26 "-Xclang", "find-bad-constructs",
27 ] 27 ]
28 } 28 }
29 } 29 }
30 30
31 # Enables some extra Clang-specific warnings. Some third-party code won't 31 # Enables some extra Clang-specific warnings. Some third-party code won't
32 # compile with these so may want to remove this config. 32 # compile with these so may want to remove this config.
33 config("extra_warnings") { 33 config("extra_warnings") {
34 cflags = [ 34 cflags = [
35 "-Wheader-hygiene" 35 "-Wheader-hygiene",
36 36
37 # Warns when a const char[] is converted to bool. 37 # Warns when a const char[] is converted to bool.
38 "-Wstring-conversion", 38 "-Wstring-conversion",
39 ] 39 ]
40 } 40 }
OLDNEW
« no previous file with comments | « no previous file | third_party/wtl/BUILD.gn » ('j') | tools/gn/command_args.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698