diff options
author | thakis <thakis@chromium.org> | 2015-05-29 09:45:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-29 16:46:21 +0000 |
commit | e2641c99291ab032ec904da2cf7a48ad888390bf (patch) | |
tree | f035fed4a82d4e12502c25d068324539a637e2ce /tools | |
parent | 2b43f1dc5852bfc52d11a05dce5afc5417857c38 (diff) | |
download | chromium_src-e2641c99291ab032ec904da2cf7a48ad888390bf.zip chromium_src-e2641c99291ab032ec904da2cf7a48ad888390bf.tar.gz chromium_src-e2641c99291ab032ec904da2cf7a48ad888390bf.tar.bz2 |
win/clang: Remove code no longer needed after llvm r223864.
No intended behavior change.
BUG=none
Review URL: https://codereview.chromium.org/1159163002
Cr-Commit-Position: refs/heads/master@{#331991}
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/clang/scripts/update.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py index 6d06341..c05e66f 100755 --- a/tools/clang/scripts/update.py +++ b/tools/clang/scripts/update.py @@ -228,18 +228,6 @@ def GetVSVersion(): return vs_version -def SubversionCmakeArg(): - # Since cmake's find_program can only find .exe and .com, - # svn.bat in depot_tools will be ignored. - default_pathext = ('.com', '.exe', '.bat', '.cmd') - for path in os.environ.get('PATH', '').split(os.pathsep): - for ext in default_pathext: - candidate = os.path.join(path, 'svn' + ext) - if os.path.isfile(candidate): - return '-DSubversion_SVN_EXECUTABLE=%s' % candidate - return '' - - def UpdateClang(args): print 'Updating Clang to %s...' % (LLVM_WIN_REVISION) if LLVM_WIN_REVISION != 'HEAD' and ReadStampFile() == LLVM_WIN_REVISION: @@ -272,7 +260,7 @@ def UpdateClang(args): cxxflags += ' -DLLVM_FORCE_HEAD_REVISION' cmake_args = ['-GNinja', '-DCMAKE_BUILD_TYPE=Release', - '-DLLVM_ENABLE_ASSERTIONS=ON', SubversionCmakeArg(), + '-DLLVM_ENABLE_ASSERTIONS=ON', '-DCMAKE_C_FLAGS=' + cflags, '-DCMAKE_CXX_FLAGS=' + cxxflags, '-DCHROMIUM_TOOLS_SRC=%s' % os.path.join( |