| 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 | 25 |
| 26 PLATFORM_DIR="$SRC_ROOT/platform" | 26 PLATFORM_DIR="$SRC_ROOT/platform" |
| 27 | 27 |
| 28 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ | 28 PLATFORM_DIRS="acpi assets fake_hal init installer login_manager \ |
| 29 memento_softwareupdate pam_google window_manager \ | 29 memento_softwareupdate pam_google window_manager \ |
| 30 cros chrome screenlocker cryptohome \ | 30 cros chrome screenlocker cryptohome \ |
| 31 monitor_reconfig" | 31 monitor_reconfig" |
| 32 | 32 |
| 33 THIRD_PARTY_DIR="$SRC_ROOT/third_party" | 33 THIRD_PARTY_DIR="$SRC_ROOT/third_party" |
| 34 THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags gtest \ | 34 THIRD_PARTY_PACKAGES="connman e2fsprogs/files gflags gtest \ |
| 35 ibus ibus-chewing ibus-anthy \ |
| 35 ply-image slim/src synaptics \ | 36 ply-image slim/src synaptics \ |
| 36 wpa_supplicant xscreensaver/xscreensaver-5.08 \ | 37 wpa_supplicant xscreensaver/xscreensaver-5.08 \ |
| 37 xserver-xorg-core xserver-xorg-video-intel" | 38 xserver-xorg-core xserver-xorg-video-intel" |
| 38 | 39 |
| 39 # Build third_party packages first, since packages and libs depend on them. | 40 # Build third_party packages first, since packages and libs depend on them. |
| 40 for i in $THIRD_PARTY_PACKAGES | 41 for i in $THIRD_PARTY_PACKAGES |
| 41 do | 42 do |
| 42 echo "Building package ${i}..." | 43 echo "Building package ${i}..." |
| 43 cd "$THIRD_PARTY_DIR/$i" | 44 cd "$THIRD_PARTY_DIR/$i" |
| 44 ./make_pkg.sh | 45 ./make_pkg.sh |
| (...skipping 15 matching lines...) Expand all Loading... |
| 60 # Build platform packages | 61 # Build platform packages |
| 61 for i in $PLATFORM_DIRS | 62 for i in $PLATFORM_DIRS |
| 62 do | 63 do |
| 63 echo "Building package ${i}..." | 64 echo "Building package ${i}..." |
| 64 cd "$PLATFORM_DIR/$i" | 65 cd "$PLATFORM_DIR/$i" |
| 65 ./make_pkg.sh | 66 ./make_pkg.sh |
| 66 cd - | 67 cd - |
| 67 done | 68 done |
| 68 | 69 |
| 69 echo "All packages built." | 70 echo "All packages built." |
| OLD | NEW |