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

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, 5 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 11 matching lines...) Expand all
22 22
23 DEPS_DIR=deps 23 DEPS_DIR=deps
24 OUT_DIR=out 24 OUT_DIR=out
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 # TODO(palmer): Convert the svn checkout to HTTPS with the broken SVN
33 # clients are finally gone. As of 24 July 2012, that should be pretty soon.
32 mkdir -p $DEPS_DIR && 34 mkdir -p $DEPS_DIR &&
33 mkdir -p $OUT_DIR && 35 mkdir -p $OUT_DIR &&
34 { [[ -e $CLOSURE_LIBRARY_DIR ]] || \ 36 { [[ -e $CLOSURE_LIBRARY_DIR ]] || \
35 svn checkout http://closure-library.googlecode.com/svn/trunk/ \ 37 svn checkout http://closure-library.googlecode.com/svn/trunk/ \
36 $CLOSURE_LIBRARY_DIR; } && \ 38 $CLOSURE_LIBRARY_DIR; } && \
37 { [[ -e $CLOSURE_COMPILER_JAR ]] || 39 { [[ -e $CLOSURE_COMPILER_JAR ]] ||
38 { wget http://closure-compiler.googlecode.com/files/compiler-latest.zip \ 40 { wget https://closure-compiler.googlecode.com/files/compiler-latest.zip \
39 -O $CLOSURE_COMPILER_ZIP && \ 41 -O $CLOSURE_COMPILER_ZIP && \
40 unzip -d $DEPS_DIR $CLOSURE_COMPILER_ZIP \ 42 unzip -d $DEPS_DIR $CLOSURE_COMPILER_ZIP \
41 $CLOSURE_COMPILER_JAR_ZIP_RELATIVE >/dev/null; }; } && 43 $CLOSURE_COMPILER_JAR_ZIP_RELATIVE >/dev/null; }; } &&
42 $CLOSURE_BUILDER \ 44 $CLOSURE_BUILDER \
43 --root=$CLOSURE_LIBRARY_DIR --root=src/common/ \ 45 --root=$CLOSURE_LIBRARY_DIR --root=src/common/ \
44 --root=src/implementation/ \ 46 --root=src/implementation/ \
45 --namespace="google.cf.installer.CrossDomainInstall" \ 47 --namespace="google.cf.installer.CrossDomainInstall" \
46 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \ 48 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \
47 $EXTRA_FLAGS \ 49 $EXTRA_FLAGS \
48 -f "--compilation_level=$OPTIMIZATION_LEVEL" \ 50 -f "--compilation_level=$OPTIMIZATION_LEVEL" \
49 -f "--output_wrapper='(function (scope){ %output% })(window)'" \ 51 -f "--output_wrapper='(function (scope){ %output% })(window)'" \
50 -f "--externs=src/common/cf-interactiondelegate-externs.js" \ 52 -f "--externs=src/common/cf-interactiondelegate-externs.js" \
51 --output_file=out/cf-xd-install-impl.js && \ 53 --output_file=out/cf-xd-install-impl.js && \
52 $CLOSURE_BUILDER \ 54 $CLOSURE_BUILDER \
53 --root=src/miniclosure/ --root=src/common/ \ 55 --root=src/miniclosure/ --root=src/common/ \
54 --root=src/stub/ \ 56 --root=src/stub/ \
55 --namespace="google.cf.installer.CFInstall" \ 57 --namespace="google.cf.installer.CFInstall" \
56 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \ 58 --output_mode=compiled --compiler_jar=$CLOSURE_COMPILER_JAR \
57 $EXTRA_FLAGS \ 59 $EXTRA_FLAGS \
58 -f "--compilation_level=$OPTIMIZATION_LEVEL" \ 60 -f "--compilation_level=$OPTIMIZATION_LEVEL" \
59 -f "--output_wrapper='(function (scope){ %output% })(window)'" \ 61 -f "--output_wrapper='(function (scope){ %output% })(window)'" \
60 -f "--externs=src/stub/cf-activex-externs.js" \ 62 -f "--externs=src/stub/cf-activex-externs.js" \
61 -f "--externs=src/common/cf-interactiondelegate-externs.js" \ 63 -f "--externs=src/common/cf-interactiondelegate-externs.js" \
62 --output_file=out/CFInstall.min.js 64 --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