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 11 matching lines...) Expand all Loading... |
22 set -e | 22 set -e |
23 | 23 |
24 # Number of jobs for scons calls. | 24 # Number of jobs for scons calls. |
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 theme" |
33 | 34 |
34 THIRD_PARTY_DIR="$SRC_ROOT/third_party" | 35 THIRD_PARTY_DIR="$SRC_ROOT/third_party" |
35 THIRD_PARTY_PACKAGES="connman e2fsprogs/files \ | 36 THIRD_PARTY_PACKAGES="connman e2fsprogs/files \ |
36 gflags google-breakpad gpt gtest \ | 37 gflags google-breakpad gpt gtest \ |
37 ibus ibus-chewing ibus-anthy \ | 38 ibus ibus-chewing ibus-anthy \ |
38 ply-image slim/src synaptics \ | 39 ply-image slim/src synaptics \ |
39 wpa_supplicant xscreensaver/xscreensaver-5.08 \ | 40 wpa_supplicant xscreensaver/xscreensaver-5.08 \ |
40 xserver-xorg-core xserver-xorg-video-intel" | 41 xserver-xorg-core xserver-xorg-video-intel" |
41 | 42 |
42 if [ $FLAGS_stable -eq $FLAGS_TRUE ] | 43 if [ $FLAGS_stable -eq $FLAGS_TRUE ] |
(...skipping 26 matching lines...) Expand all Loading... |
69 # Build platform packages | 70 # Build platform packages |
70 for i in $PLATFORM_DIRS | 71 for i in $PLATFORM_DIRS |
71 do | 72 do |
72 echo "Building package ${i}..." | 73 echo "Building package ${i}..." |
73 cd "$PLATFORM_DIR/$i" | 74 cd "$PLATFORM_DIR/$i" |
74 ./make_pkg.sh | 75 ./make_pkg.sh |
75 cd - | 76 cd - |
76 done | 77 done |
77 | 78 |
78 echo "All packages built." | 79 echo "All packages built." |
OLD | NEW |