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

Side by Side Diff: src/scripts/build_chrome.sh

Issue 490001: make cryptohome check a magic file to discern between chrome-login and slim-login (Closed)
Patch Set: mount error handlers already assumed common worked Created 11 years 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 | « src/platform/cryptohome/lib/common ('k') | 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/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script for building our own custom Chrome 7 # Script for building our own custom Chrome
8 8
9 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
10 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 then 59 then
60 mkdir -p $OUTPUT_DIR 60 mkdir -p $OUTPUT_DIR
61 fi 61 fi
62 # create symlink so that we can create the zip file with prefix chrome-chromeos 62 # create symlink so that we can create the zip file with prefix chrome-chromeos
63 rm -f $CHROME_LINUX_DIR 63 rm -f $CHROME_LINUX_DIR
64 ln -s $BUILD_DIR/$FLAGS_mode $CHROME_LINUX_DIR 64 ln -s $BUILD_DIR/$FLAGS_mode $CHROME_LINUX_DIR
65 65
66 echo Zipping $CHROME_LINUX_DIR to $OUTPUT_ZIP 66 echo Zipping $CHROME_LINUX_DIR to $OUTPUT_ZIP
67 cd $BUILD_DIR 67 cd $BUILD_DIR
68 rm -f $OUTPUT_ZIP 68 rm -f $OUTPUT_ZIP
69 zip -r9 $OUTPUT_ZIP chrome-chromeos -i "chrome-chromeos/chrome*" \ 69 zip -r1 $OUTPUT_ZIP chrome-chromeos -i "chrome-chromeos/chrome*" \
70 "chrome-chromeos/libffmpegsumo.so" "chrome-chromeos/xdg-settings" \ 70 "chrome-chromeos/libffmpegsumo.so" "chrome-chromeos/xdg-settings" \
71 "chrome-chromeos/locales/*" "chrome-chromeos/resources/*" \ 71 "chrome-chromeos/locales/*" "chrome-chromeos/resources/*" \
72 "chrome-chromeos/*.png" -x "*.d" 72 "chrome-chromeos/*.png" "chrome-chromeos/session" \
73 "chrome-chromeos/emit-login-prompt-ready" -x "*.d"
73 cp -f $OUTPUT_ZIP $OUTPUT_DIR 74 cp -f $OUTPUT_ZIP $OUTPUT_DIR
74 echo Done. 75 echo Done.
OLDNEW
« no previous file with comments | « src/platform/cryptohome/lib/common ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698