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

Unified Diff: build/gyp_chromium

Issue 426783002: Adds --analyzer2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to master Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | testing/buildbot/chromium_trybot.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 6aede4792a23fa8df261e0266b3540498f544bbb..4296b76f72a0933ca2d2018c1a9db560f248b238 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -189,11 +189,17 @@ def additional_include_files(supplemental_files, args=[]):
if __name__ == '__main__':
args = sys.argv[1:]
+ # TODO(sky): remove analyzer2 once updated recipes.
use_analyzer = len(args) and args[0] == '--analyzer'
if use_analyzer:
args.pop(0)
os.environ['GYP_GENERATORS'] = 'analyzer'
args.append('-Gfile_path=' + args.pop(0))
+ elif len(args) and args[0] == '--analyzer2':
+ use_analyzer = True
+ args.pop(0)
+ os.environ['GYP_GENERATORS'] = 'analyzer'
+ args.append('-Gconfig_path=' + args.pop(0))
if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)):
# Check for landmines (reasons to clobber the build) in any case.
« no previous file with comments | « no previous file | testing/buildbot/chromium_trybot.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698