diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 16:44:04 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-24 16:44:04 +0000 |
commit | 10498270e86b06ba0f574e8f95f0211da00151b9 (patch) | |
tree | f30da7f7ffdaec9e0794fbf7728a195c6e789ed8 /build/config | |
parent | a2a469c02b3f62039e33e75a728c2e8670cfe1f0 (diff) | |
download | chromium_src-10498270e86b06ba0f574e8f95f0211da00151b9.zip chromium_src-10498270e86b06ba0f574e8f95f0211da00151b9.tar.gz chromium_src-10498270e86b06ba0f574e8f95f0211da00151b9.tar.bz2 |
Hook up WebKit WTF to GN build.
This also moves the "use clang plugins" flag to a GNI file so it can be shared (WebKit needs to read this flag).
TBR=scottmg
Review URL: https://codereview.chromium.org/248323004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/config')
-rw-r--r-- | build/config/clang/BUILD.gn | 6 | ||||
-rw-r--r-- | build/config/clang/clang.gni | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn index f10fde7..f96bc73 100644 --- a/build/config/clang/BUILD.gn +++ b/build/config/clang/BUILD.gn @@ -2,11 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -declare_args() { - # Indicates if the build should use the Chrome-specific plugins for enforcing - # coding guidelines, etc. Only used when compiling with Clang. - clang_use_chrome_plugins = true -} +import("clang.gni") config("find_bad_constructs") { if (clang_use_chrome_plugins) { diff --git a/build/config/clang/clang.gni b/build/config/clang/clang.gni new file mode 100644 index 0000000..3b2d76f --- /dev/null +++ b/build/config/clang/clang.gni @@ -0,0 +1,9 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +declare_args() { + # Indicates if the build should use the Chrome-specific plugins for enforcing + # coding guidelines, etc. Only used when compiling with Clang. + clang_use_chrome_plugins = is_clang +} |