OLD | NEW |
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 Loading... |
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 -r1 $OUTPUT_ZIP chrome-chromeos -i "chrome-chromeos/chrome*" \ | 69 zip -r1 $OUTPUT_ZIP chrome-chromeos -i \ |
| 70 "chrome-chromeos/chrome" \ |
| 71 "chrome-chromeos/chrome.*" \ |
| 72 "chrome-chromeos/chrome-*" \ |
70 "chrome-chromeos/candidate_window" \ | 73 "chrome-chromeos/candidate_window" \ |
71 "chrome-chromeos/libffmpegsumo.so" "chrome-chromeos/xdg-settings" \ | 74 "chrome-chromeos/libffmpegsumo.so" "chrome-chromeos/xdg-settings" \ |
72 "chrome-chromeos/locales/*" "chrome-chromeos/resources/*" \ | 75 "chrome-chromeos/locales/*" "chrome-chromeos/resources/*" \ |
73 "chrome-chromeos/*.png" "chrome-chromeos/session" \ | 76 "chrome-chromeos/*.png" "chrome-chromeos/session" \ |
74 "chrome-chromeos/emit_login_prompt_ready" -x "*.d" | 77 "chrome-chromeos/emit_login_prompt_ready" -x "*.d" |
75 cp -f $OUTPUT_ZIP $OUTPUT_DIR | 78 cp -f $OUTPUT_ZIP $OUTPUT_DIR |
76 echo Done. | 79 echo Done. |
OLD | NEW |