| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium 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 set -e | 7 set -e |
| 8 | 8 |
| 9 # The script is to install Android SDK, NDK for build chromium on Android, and | 9 # The script is to install Android SDK, NDK for build chromium on Android, and |
| 10 # doesn't need to run as root. | 10 # doesn't need to run as root. |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 if [[ ! -f "$linker_dirname/$NEW_LINKER" ]]; then | 152 if [[ ! -f "$linker_dirname/$NEW_LINKER" ]]; then |
| 153 echo "Could not copy linker" | 153 echo "Could not copy linker" |
| 154 exit 1 | 154 exit 1 |
| 155 fi | 155 fi |
| 156 fi | 156 fi |
| 157 fi | 157 fi |
| 158 } | 158 } |
| 159 | 159 |
| 160 replace_linker $LINKER_DIRNAME_1 $LINKER_BASENAME_1 | 160 replace_linker $LINKER_DIRNAME_1 $LINKER_BASENAME_1 |
| 161 replace_linker $LINKER_DIRNAME_2 $LINKER_BASENAME_2 | 161 replace_linker $LINKER_DIRNAME_2 $LINKER_BASENAME_2 |
| OLD | NEW |