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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 # Die on error | 25 # Die on error |
26 set -e | 26 set -e |
27 | 27 |
28 # Number of jobs for scons calls. | 28 # Number of jobs for scons calls. |
29 NUM_JOBS=`grep -c "^processor" /proc/cpuinfo` | 29 NUM_JOBS=`grep -c "^processor" /proc/cpuinfo` |
30 | 30 |
31 PLATFORM_DIR="$SRC_ROOT/platform" | 31 PLATFORM_DIR="$SRC_ROOT/platform" |
32 | 32 |
33 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ | 33 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ |
34 memento_softwareupdate pam_google window_manager \ | 34 memento_softwareupdate pam_google pam_offline window_manager \ |
35 cros chrome screenlocker cryptohome \ | 35 cros chrome screenlocker cryptohome \ |
36 monitor_reconfig microbenchmark minijail metrics_collection \ | 36 monitor_reconfig microbenchmark minijail metrics_collection \ |
37 theme metrics_daemon" | 37 theme metrics_daemon" |
38 | 38 |
39 THIRD_PARTY_DIR="$SRC_ROOT/third_party" | 39 THIRD_PARTY_DIR="$SRC_ROOT/third_party" |
40 THIRD_PARTY_PACKAGES="e2fsprogs/files flimflam \ | 40 THIRD_PARTY_PACKAGES="e2fsprogs/files flimflam \ |
41 gflags google-breakpad gpt gtest gmock \ | 41 gflags google-breakpad gpt gtest gmock \ |
42 ibus ibus-chewing ibus-anthy ibus-hangul ibus-m17n \ | 42 ibus ibus-chewing ibus-anthy ibus-hangul ibus-m17n \ |
43 ply-image slim/src synaptics \ | 43 ply-image slim/src synaptics \ |
44 upstart/files wpa_supplicant \ | 44 upstart/files wpa_supplicant \ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 for i in $PLATFORM_DIRS | 91 for i in $PLATFORM_DIRS |
92 do | 92 do |
93 echo "Building package ${i}..." | 93 echo "Building package ${i}..." |
94 cd "$PLATFORM_DIR/$i" | 94 cd "$PLATFORM_DIR/$i" |
95 ./make_pkg.sh | 95 ./make_pkg.sh |
96 cd - | 96 cd - |
97 done | 97 done |
98 fi | 98 fi |
99 | 99 |
100 echo "All packages built." | 100 echo "All packages built." |
OLD | NEW |