OLD | NEW |
| 1 #!/bin/bash |
| 2 |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # 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 |
3 # found in the LICENSE file. | 5 # found in the LICENSE file. |
4 | 6 |
5 # Sets up environment for building Chromium on Android. It can either be | 7 # Sets up environment for building Chromium on Android. It can either be |
6 # compiled with the Android tree or using the Android SDK/NDK. To build with | 8 # compiled with the Android tree or using the Android SDK/NDK. To build with |
7 # NDK/SDK: ". build/android/envsetup.sh". Environment variable | 9 # NDK/SDK: ". build/android/envsetup.sh". Environment variable |
8 # ANDROID_SDK_BUILD=1 will then be defined and used in the rest of the setup to | 10 # ANDROID_SDK_BUILD=1 will then be defined and used in the rest of the setup to |
9 # specifiy build type. | 11 # specifiy build type. |
10 | 12 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 # This is just a simple wrapper of gyp_chromium, please don't add anything | 131 # This is just a simple wrapper of gyp_chromium, please don't add anything |
130 # in this function. | 132 # in this function. |
131 echo "GYP_GENERATORS set to '$GYP_GENERATORS'" | 133 echo "GYP_GENERATORS set to '$GYP_GENERATORS'" |
132 ( | 134 ( |
133 "${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@" | 135 "${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@" |
134 ) | 136 ) |
135 } | 137 } |
136 | 138 |
137 # FLOCK needs to be null on system that has no flock | 139 # FLOCK needs to be null on system that has no flock |
138 which flock > /dev/null || export FLOCK= | 140 which flock > /dev/null || export FLOCK= |
OLD | NEW |