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

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

Issue 239543013: Work on Mac GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix line endings Created 6 years, 8 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
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 declare_args() { 5 declare_args() {
6 # Indicates if the build should use the Chrome-specific plugins for enforcing 6 # Indicates if the build should use the Chrome-specific plugins for enforcing
7 # coding guidelines, etc. Only used when compiling with Clang. 7 # coding guidelines, etc. Only used when compiling with Clang.
8 clang_use_chrome_plugins = true 8 clang_use_chrome_plugins = true
9 } 9 }
10 10
(...skipping 13 matching lines...) Expand all
24 "//third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so", 24 "//third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so",
25 root_build_dir) ] 25 root_build_dir) ]
26 } 26 }
27 27
28 cflags += [ 28 cflags += [
29 "-Xclang", "-add-plugin", 29 "-Xclang", "-add-plugin",
30 "-Xclang", "find-bad-constructs", 30 "-Xclang", "find-bad-constructs",
31 ] 31 ]
32 } 32 }
33 } 33 }
34
35 # Enables some extra Clang-specific warnings. Some third-party code won't
36 # compile with these so may want to remove this config.
37 config("extra_warnings") {
38 cflags = [
39 "-Wheader-hygiene"
40
41 # Warns when a const char[] is converted to bool.
42 "-Wstring-conversion",
43 ]
44 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/compiler/BUILD.gn » ('j') | skia/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698