Remove stray references to update.sh from src/
BUG=494442 R=hans@chromium.org Review URL: https://codereview.chromium.org/1489223003 . Cr-Commit-Position: refs/heads/master@{#362772}
This commit is contained in:
@ -246,7 +246,7 @@
|
|||||||
'chrome/browser/resources/chromeos/',
|
'chrome/browser/resources/chromeos/',
|
||||||
},
|
},
|
||||||
'clang_update': {
|
'clang_update': {
|
||||||
'filepath': 'tools/clang/scripts/update.sh'
|
'filepath': 'tools/clang/scripts/update.py'
|
||||||
},
|
},
|
||||||
'clipboard': {
|
'clipboard': {
|
||||||
'filepath': 'clipboard|dnd|drag|drop',
|
'filepath': 'clipboard|dnd|drag|drop',
|
||||||
|
@ -443,7 +443,7 @@
|
|||||||
'mac_want_real_dsym%': 'default',
|
'mac_want_real_dsym%': 'default',
|
||||||
|
|
||||||
# If this is set, the clang plugins used on the buildbot will be used.
|
# If this is set, the clang plugins used on the buildbot will be used.
|
||||||
# Run tools/clang/scripts/update.sh to make sure they are compiled.
|
# Run tools/clang/scripts/update.py to make sure they are compiled.
|
||||||
# This causes 'clang_chrome_plugins_flags' to be set.
|
# This causes 'clang_chrome_plugins_flags' to be set.
|
||||||
# Has no effect if 'clang' is not set as well.
|
# Has no effect if 'clang' is not set as well.
|
||||||
'clang_use_chrome_plugins%': 1,
|
'clang_use_chrome_plugins%': 1,
|
||||||
|
@ -13,7 +13,7 @@ You need an llvm checkout to get `scan-build` and `scan-view`; the easiest way
|
|||||||
to get that is to run
|
to get that is to run
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
tools/clang/scripts/update.sh --force-local-build --without-android
|
tools/clang/scripts/update.py --force-local-build --without-android
|
||||||
```
|
```
|
||||||
|
|
||||||
## With make
|
## With make
|
||||||
|
@ -25,7 +25,7 @@ Build your tool by running the following command (requires cmake version 2.8.10
|
|||||||
or later):
|
or later):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
tools/clang/scripts/update.sh --force-local-build --without-android \
|
tools/clang/scripts/update.py --force-local-build --without-android \
|
||||||
--with-chrome-tools <tools>
|
--with-chrome-tools <tools>
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ build. The resulting binary will end up in
|
|||||||
plugin and the empty\_string tool, run the following:
|
plugin and the empty\_string tool, run the following:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
tools/clang/scripts/update.sh --force-local-build --without-android \
|
tools/clang/scripts/update.py --force-local-build --without-android \
|
||||||
--with-chrome-tools "plugins;empty_string"
|
--with-chrome-tools "plugins;empty_string"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
1. Sync your Chromium tree to the latest revision to pick up any plugin
|
1. Sync your Chromium tree to the latest revision to pick up any plugin
|
||||||
changes and test the new compiler against ToT
|
changes and test the new compiler against ToT
|
||||||
1. Update clang revision in tools/clang/scripts/update.sh, upload CL to
|
1. Update clang revision in tools/clang/scripts/update.py, upload CL to
|
||||||
rietveld
|
rietveld
|
||||||
1. Run tools/clang/scripts/package.py to create a tgz of the binary (mac and
|
1. Run tools/clang/scripts/package.py to create a tgz of the binary (mac and
|
||||||
linux)
|
linux)
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
"third_party/hunspell_dictionaries/.*",
|
"third_party/hunspell_dictionaries/.*",
|
||||||
"third_party/zlib/google/test/data/.*",
|
"third_party/zlib/google/test/data/.*",
|
||||||
"tools/clang/scripts/update.py",
|
"tools/clang/scripts/update.py",
|
||||||
"tools/clang/scripts/update.sh",
|
|
||||||
"tools/mb/.*",
|
"tools/mb/.*",
|
||||||
"tools/metrics/histograms/histograms.xml",
|
"tools/metrics/histograms/histograms.xml",
|
||||||
"tools/perf/.*",
|
"tools/perf/.*",
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
# found in the LICENSE file.
|
# found in the LICENSE file.
|
||||||
|
|
||||||
"""Windows can't run .sh files, so this is a Python implementation of
|
"""This script is used to download prebuilt clang binaries.
|
||||||
update.sh. This script should replace update.sh on all platforms eventually."""
|
|
||||||
|
It is also used by package.py to build the prebuilt clang binaries."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import cStringIO
|
import cStringIO
|
||||||
@ -26,7 +27,6 @@ import zipfile
|
|||||||
# Do NOT CHANGE this if you don't know what you're doing -- see
|
# Do NOT CHANGE this if you don't know what you're doing -- see
|
||||||
# https://code.google.com/p/chromium/wiki/UpdatingClang
|
# https://code.google.com/p/chromium/wiki/UpdatingClang
|
||||||
# Reverting problematic clang rolls is safe, though.
|
# Reverting problematic clang rolls is safe, though.
|
||||||
# Note: this revision is only used for Windows. Other platforms use update.sh.
|
|
||||||
CLANG_REVISION = '254049'
|
CLANG_REVISION = '254049'
|
||||||
|
|
||||||
use_head_revision = 'LLVM_FORCE_HEAD_REVISION' in os.environ
|
use_head_revision = 'LLVM_FORCE_HEAD_REVISION' in os.environ
|
||||||
|
Reference in New Issue
Block a user