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 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 gtest \ | 35 THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags gtest \ |
36 ibus ibus-chewing ibus-anthy \ | 36 ibus ibus-chewing ibus-anthy \ |
37 ply-image slim/src synaptics \ | 37 ply-image slim/src synaptics \ |
38 wpa_supplicant xscreensaver/xscreensaver-5.08 \ | 38 wpa_supplicant xscreensaver/xscreensaver-5.08 \ |
39 xserver-xorg-core xserver-xorg-video-intel" | 39 xserver-xorg-core xserver-xorg-video-intel" |
40 | 40 |
41 if [ $FLAGS_stable -eq $FLAGS_TRUE ] | 41 if [ $FLAGS_stable -eq $FLAGS_TRUE ] |
42 then | 42 then |
(...skipping 25 matching lines...) Expand all Loading... |
68 # Build platform packages | 68 # Build platform packages |
69 for i in $PLATFORM_DIRS | 69 for i in $PLATFORM_DIRS |
70 do | 70 do |
71 echo "Building package ${i}..." | 71 echo "Building package ${i}..." |
72 cd "$PLATFORM_DIR/$i" | 72 cd "$PLATFORM_DIR/$i" |
73 ./make_pkg.sh | 73 ./make_pkg.sh |
74 cd - | 74 cd - |
75 done | 75 done |
76 | 76 |
77 echo "All packages built." | 77 echo "All packages built." |
OLD | NEW |