| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 do | 51 do |
| 52 echo "Building package ${i}..." | 52 echo "Building package ${i}..." |
| 53 cd "$THIRD_PARTY_DIR/$i" | 53 cd "$THIRD_PARTY_DIR/$i" |
| 54 ./make_pkg.sh | 54 ./make_pkg.sh |
| 55 cd - | 55 cd - |
| 56 done | 56 done |
| 57 | 57 |
| 58 # Build base lib next, since packages depend on it. | 58 # Build base lib next, since packages depend on it. |
| 59 echo "Building base library..." | 59 echo "Building base library..." |
| 60 cd "$THIRD_PARTY_DIR/chrome" | 60 cd "$THIRD_PARTY_DIR/chrome" |
| 61 scons -j$NUM_JOBS | 61 ./make_pkg.sh |
| 62 cd - | 62 cd - |
| 63 | 63 |
| 64 #Build common lib next. | 64 #Build common lib next. |
| 65 echo "Building common library..." | 65 echo "Building common library..." |
| 66 cd "$SRC_ROOT/common" | 66 cd "$SRC_ROOT/common" |
| 67 scons -j$NUM_JOBS | 67 ./make_pkg.sh |
| 68 cd - | 68 cd - |
| 69 | 69 |
| 70 # Build platform packages | 70 # Build platform packages |
| 71 for i in $PLATFORM_DIRS | 71 for i in $PLATFORM_DIRS |
| 72 do | 72 do |
| 73 echo "Building package ${i}..." | 73 echo "Building package ${i}..." |
| 74 cd "$PLATFORM_DIR/$i" | 74 cd "$PLATFORM_DIR/$i" |
| 75 ./make_pkg.sh | 75 ./make_pkg.sh |
| 76 cd - | 76 cd - |
| 77 done | 77 done |
| 78 | 78 |
| 79 echo "All packages built." | 79 echo "All packages built." |
| OLD | NEW |