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

Unified Diff: tools/clang/scripts/update.py

Issue 2896663002: Package the translation_unit tool as part of building the clang package. (Closed)
Patch Set: don't include unistd.h Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/scripts/package.py ('k') | tools/clang/translation_unit/TranslationUnitGenerator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/update.py
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py
index 3571d3159462e951e913a72eb89ca1e4cba98652..01dbb177bfb0df03fd15c16a07164604b5e32b3e 100755
--- a/tools/clang/scripts/update.py
+++ b/tools/clang/scripts/update.py
@@ -643,7 +643,8 @@ def UpdateClang(args):
cc_args = base_cmake_args if sys.platform != 'win32' else cmake_args
if cc is not None: cc_args.append('-DCMAKE_C_COMPILER=' + cc)
if cxx is not None: cc_args.append('-DCMAKE_CXX_COMPILER=' + cxx)
- chrome_tools = list(set(['plugins', 'blink_gc_plugin'] + args.extra_tools))
+ default_tools = ['plugins', 'blink_gc_plugin', 'translation_unit']
+ chrome_tools = list(set(default_tools + args.extra_tools))
cmake_args += base_cmake_args + [
'-DLLVM_ENABLE_THREADS=OFF',
'-DLLVM_BINUTILS_INCDIR=' + binutils_incdir,
« no previous file with comments | « tools/clang/scripts/package.py ('k') | tools/clang/translation_unit/TranslationUnitGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698