From 5b5d1269ade9eeb50875b20570ef3e0d8c5d95fb Mon Sep 17 00:00:00 2001 From: Daniel Cheng Date: Wed, 15 Apr 2015 18:07:35 -0700 Subject: [PATCH] Build the Clang plugin on Windows. This also includes several fixes for the plugin logic on Windows: - The banned directory check normalizes path separators. - The banned directory check now returns true for files that are considered system headers. - Diagnostics from the plugin are always reported as warnings. BUG=467287 R=thakis@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/26ba172e8543b9029f320600f3aeced40028ff20 Review URL: https://codereview.chromium.org/1072203002 Cr-Commit-Position: refs/heads/master@{#325365} --- tools/clang/scripts/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py index 38161dda12b1..cf8b092f5e55 100755 --- a/tools/clang/scripts/update.py +++ b/tools/clang/scripts/update.py @@ -313,7 +313,7 @@ def main(): parser = argparse.ArgumentParser(description='Build Clang.') parser.add_argument('--no-clobber', dest='clobber', action='store_false') - parser.add_argument('--tools', nargs='*', default=[]) + parser.add_argument('--tools', nargs='*', default=['plugins']) # For now, this flag is only used for the non-Windows flow, but argparser gets # mad if it sees a flag it doesn't recognize. parser.add_argument('--if-needed', action='store_true') -- 2.11.4.GIT