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

Side by Side Diff: chrome_frame/cfinstall/build.sh

Issue 10532016: Use HTTPS to download code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 OPTIMIZATION_LEVEL="ADVANCED_OPTIMIZATIONS" 6 OPTIMIZATION_LEVEL="ADVANCED_OPTIMIZATIONS"
7 EXTRA_FLAGS="" 7 EXTRA_FLAGS=""
8 8
9 while getopts l:d o 9 while getopts l:d o
10 do case "$o" in 10 do case "$o" in
(...skipping 14 matching lines...) Expand all
25 SRC_DIR=src 25 SRC_DIR=src
26 CLOSURE_LIBRARY_DIR=$DEPS_DIR/closure_library 26 CLOSURE_LIBRARY_DIR=$DEPS_DIR/closure_library
27 CLOSURE_BUILDER=$CLOSURE_LIBRARY_DIR/closure/bin/build/closurebuilder.py 27 CLOSURE_BUILDER=$CLOSURE_LIBRARY_DIR/closure/bin/build/closurebuilder.py
28 CLOSURE_COMPILER_ZIP=$DEPS_DIR/compiler-latest.zip 28 CLOSURE_COMPILER_ZIP=$DEPS_DIR/compiler-latest.zip
29 CLOSURE_COMPILER_JAR_ZIP_RELATIVE=compiler.jar 29 CLOSURE_COMPILER_JAR_ZIP_RELATIVE=compiler.jar
30 CLOSURE_COMPILER_JAR=$DEPS_DIR/$CLOSURE_COMPILER_JAR_ZIP_RELATIVE 30 CLOSURE_COMPILER_JAR=$DEPS_DIR/$CLOSURE_COMPILER_JAR_ZIP_RELATIVE
31 31
32 mkdir -p $DEPS_DIR && 32 mkdir -p $DEPS_DIR &&
33 mkdir -p $OUT_DIR && 33 mkdir -p $OUT_DIR &&
34 { [[ -e $CLOSURE_LIBRARY_DIR ]] || \ 34 { [[ -e $CLOSURE_LIBRARY_DIR ]] || \
35 svn checkout http://closure-library.googlecode.com/svn/trunk/ \ 35 svn checkout http://closure-library.googlecode.com/svn/trunk/ \
jln (very slow on Chromium) 2012/07/23 23:57:47 Any reason not to turn that one to https as well ?
jln (very slow on Chromium) 2012/07/24 01:18:20 Ohh yeah, broken SVN clients. I forgot.
36 $CLOSURE_LIBRARY_DIR; } && \ 36 $CLOSURE_LIBRARY_DIR; } && \
37 { [[ -e $CLOSURE_COMPILER_JAR ]] || 37 { [[ -e $CLOSURE_COMPILER_JAR ]] ||
38 { wget http://closure-compiler.googlecode.com/files/compiler-latest.zip \ 38 { wget https://closure-compiler.googlecode.com/files/compiler-latest.zip \
39 -O $CLOSURE_COMPILER_ZIP && \ 39 -O $CLOSURE_COMPILER_ZIP && \
40 unzip -d $DEPS_DIR $CLOSURE_COMPILER_ZIP \ 40 unzip -d $DEPS_DIR $CLOSURE_COMPILER_ZIP \
41 $CLOSURE_COMPILER_JAR_ZIP_RELATIVE >/dev/null; }; } && 41 $CLOSURE_COMPILER_JAR_ZIP_RELATIVE >/dev/null; }; } &&
42 $CLOSURE_BUILDER \ 42 $CLOSURE_BUILDER \
43 --root=$CLOSURE_LIBRARY_DIR --root=src/common/ \ 43 --root=$CLOSURE_LIBRARY_DIR --root=src/common/ \
44 --root=src/implementation/ \ 44 --root=src/implementation/ \
45 --namespace="google.cf.installer.CrossDomainInstall" \ 45 --namespace="google.cf.installer.CrossDomainInstall" \
46 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \ 46 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \
47 $EXTRA_FLAGS \ 47 $EXTRA_FLAGS \
48 -f "--compilation_level=$OPTIMIZATION_LEVEL" \ 48 -f "--compilation_level=$OPTIMIZATION_LEVEL" \
49 -f "--output_wrapper='(function (scope){ %output% })(window)'" \ 49 -f "--output_wrapper='(function (scope){ %output% })(window)'" \
50 -f "--externs=src/common/cf-interactiondelegate-externs.js" \ 50 -f "--externs=src/common/cf-interactiondelegate-externs.js" \
51 --output_file=out/cf-xd-install-impl.js && \ 51 --output_file=out/cf-xd-install-impl.js && \
52 $CLOSURE_BUILDER \ 52 $CLOSURE_BUILDER \
53 --root=src/miniclosure/ --root=src/common/ \ 53 --root=src/miniclosure/ --root=src/common/ \
54 --root=src/stub/ \ 54 --root=src/stub/ \
55 --namespace="google.cf.installer.CFInstall" \ 55 --namespace="google.cf.installer.CFInstall" \
56 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \ 56 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \
57 $EXTRA_FLAGS \ 57 $EXTRA_FLAGS \
58 -f "--compilation_level=$OPTIMIZATION_LEVEL" \ 58 -f "--compilation_level=$OPTIMIZATION_LEVEL" \
59 -f "--output_wrapper='(function (scope){ %output% })(window)'" \ 59 -f "--output_wrapper='(function (scope){ %output% })(window)'" \
60 -f "--externs=src/stub/cf-activex-externs.js" \ 60 -f "--externs=src/stub/cf-activex-externs.js" \
61 -f "--externs=src/common/cf-interactiondelegate-externs.js" \ 61 -f "--externs=src/common/cf-interactiondelegate-externs.js" \
62 --output_file=out/CFInstall.min.js 62 --output_file=out/CFInstall.min.js
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698