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