Permalink
Browse files

llvm_deps_bump: Add partial support for updating 'pnacl/git/gcc' revi…

…sion

This doesn't work fully: References to origin/master and
origin/upstream/master don't work with this GCC branch.
  • Loading branch information...
1 parent f05fba5 commit 29515086563fd946b5e3c37f746a54731dd87183 Mark Seaborn committed Jul 9, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 llvm_deps_bump.py
View
@@ -80,9 +80,11 @@ def Main(args):
git_dir = os.path.join('pnacl/git', options.component)
component_name = {'llvm': 'LLVM',
- 'clang': 'Clang'}[options.component]
+ 'clang': 'Clang',
+ 'gcc': 'GCC'}[options.component]
deps_field = {'llvm': 'pnacl_llvm_rev',
- 'clang': 'clang_rev'}[options.component]
+ 'clang': 'clang_rev',
+ 'gcc': 'pnacl_gcc_rev'}[options.component]
AssertNoUncommittedChanges()

0 comments on commit 2951508

Please sign in to comment.