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 # Load common constants. This should be the first executable line. | 7 # Load common constants. This should be the first executable line. |
8 # The path to common.sh should be relative to your script's location. | 8 # The path to common.sh should be relative to your script's location. |
9 . "$(dirname "$0")/common.sh" | 9 . "$(dirname "$0")/common.sh" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 NUM_JOBS=`cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'` | 25 NUM_JOBS=`cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'` |
26 | 26 |
27 PLATFORM_DIR="$SRC_ROOT/platform" | 27 PLATFORM_DIR="$SRC_ROOT/platform" |
28 | 28 |
29 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ | 29 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ |
30 memento_softwareupdate pam_google window_manager \ | 30 memento_softwareupdate pam_google window_manager \ |
31 cros chrome screenlocker cryptohome \ | 31 cros chrome screenlocker cryptohome \ |
32 monitor_reconfig microbenchmark minijail metrics_collection" | 32 monitor_reconfig microbenchmark minijail metrics_collection" |
33 | 33 |
34 THIRD_PARTY_DIR="$SRC_ROOT/third_party" | 34 THIRD_PARTY_DIR="$SRC_ROOT/third_party" |
35 THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags google-breakpad gtest \ | 35 THIRD_PARTY_PACKAGES="connman e2fsprogs/files \ |
| 36 gflags google-breakpad gpt gtest \ |
36 ibus ibus-chewing ibus-anthy \ | 37 ibus ibus-chewing ibus-anthy \ |
37 ply-image slim/src synaptics \ | 38 ply-image slim/src synaptics \ |
38 wpa_supplicant xscreensaver/xscreensaver-5.08 \ | 39 wpa_supplicant xscreensaver/xscreensaver-5.08 \ |
39 xserver-xorg-core xserver-xorg-video-intel" | 40 xserver-xorg-core xserver-xorg-video-intel" |
40 | 41 |
41 if [ $FLAGS_stable -eq $FLAGS_TRUE ] | 42 if [ $FLAGS_stable -eq $FLAGS_TRUE ] |
42 then | 43 then |
43 # Passed to copy_chrome_zip.sh to get stable version of the browser | 44 # Passed to copy_chrome_zip.sh to get stable version of the browser |
44 export GET_STABLE_CHROME=1 | 45 export GET_STABLE_CHROME=1 |
45 fi | 46 fi |
(...skipping 22 matching lines...) Expand all Loading... |
68 # Build platform packages | 69 # Build platform packages |
69 for i in $PLATFORM_DIRS | 70 for i in $PLATFORM_DIRS |
70 do | 71 do |
71 echo "Building package ${i}..." | 72 echo "Building package ${i}..." |
72 cd "$PLATFORM_DIR/$i" | 73 cd "$PLATFORM_DIR/$i" |
73 ./make_pkg.sh | 74 ./make_pkg.sh |
74 cd - | 75 cd - |
75 done | 76 done |
76 | 77 |
77 echo "All packages built." | 78 echo "All packages built." |
OLD | NEW |