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

Side by Side Diff: third_party/closure_compiler/bump_compiler_version

Issue 1034873002: Add a subtle reminder that chrome_extensions.js is overwritten. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fun Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/closure_compiler/externs/chrome_extensions.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Download the newest version of Closure Compiler, build it and put into Chrome 6 # Download the newest version of Closure Compiler, build it and put into Chrome
7 # source tree. Also update externs/chrome_extensions.js. 7 # source tree. Also update externs/chrome_extensions.js.
8 8
9 readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 9 readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10 readonly TEMP_DIR=$(mktemp -d) 10 readonly TEMP_DIR=$(mktemp -d)
(...skipping 14 matching lines...) Expand all
25 ant jar 25 ant jar
26 26
27 if [[ "$?" -ne 0 ]]; then 27 if [[ "$?" -ne 0 ]]; then
28 echo "Failed to build jar, copying nothing" >&2 28 echo "Failed to build jar, copying nothing" >&2
29 cleanup 29 cleanup
30 exit 1 30 exit 1
31 fi 31 fi
32 32
33 echo "Copying compiler.jar and chrome_extensions.js" 33 echo "Copying compiler.jar and chrome_extensions.js"
34 cp build/compiler.jar "${SCRIPT_DIR}/compiler/" 34 cp build/compiler.jar "${SCRIPT_DIR}/compiler/"
35 cp contrib/externs/chrome_extensions.js "${SCRIPT_DIR}/externs/" 35 (cat <<EOT && cat contrib/externs/chrome_extensions.js) > "${SCRIPT_DIR}/externs /chrome_extensions.js"
36 // SSSSSSSSSSSSSSS TTTTTTTTTTTTTTTTTTTTTTT OOOOOOOOO PPPPPPPPPPPPPPPP P
37 // SS:::::::::::::::ST:::::::::::::::::::::T OO:::::::::OO P::::::::::::::: :P
38 // S:::::SSSSSS::::::ST:::::::::::::::::::::T OO:::::::::::::OO P::::::PPPPPP::: ::P
39 // S:::::S SSSSSSST:::::TT:::::::TT:::::TO:::::::OOO:::::::OPP:::::P P:: :::P
40 // S:::::S TTTTTT T:::::T TTTTTTO::::::O O::::::O P::::P P:: :::P
41 // S:::::S T:::::T O:::::O O:::::O P::::P P:: :::P
42 // S::::SSSS P::::PPPPPP::: ::P
43 // SS::::::SSSSS This file is generated. To update it, P::::::::::::: PP
44 // SSS::::::::SS run bump_compiler_version. P::::PPPPPPPPP
45 // SSSSSS::::S P::::P
46 // S:::::S T:::::T O:::::O O:::::O P::::P
47 // S:::::S T:::::T O::::::O O::::::O P::::P
48 // SSSSSSS S:::::S TT:::::::TT O:::::::OOO:::::::OPP::::::PP
49 // S::::::SSSSSS:::::S T:::::::::T OO:::::::::::::OO P::::::::P
50 // S:::::::::::::::SS T:::::::::T OO:::::::::OO P::::::::P
51 // SSSSSSSSSSSSSSS TTTTTTTTTTT OOOOOOOOO PPPPPPPPPP
52 EOT
36 53
37 echo "Rebuilding runner.jar" 54 echo "Rebuilding runner.jar"
38 "${SCRIPT_DIR}/runner/build_runner_jar.py" 55 "${SCRIPT_DIR}/runner/build_runner_jar.py"
39 56
40 cleanup 57 cleanup
OLDNEW
« no previous file with comments | « no previous file | third_party/closure_compiler/externs/chrome_extensions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698