OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 # Location of Android NDK. | 1204 # Location of Android NDK. |
1205 'variables': { | 1205 'variables': { |
1206 'variables': { | 1206 'variables': { |
1207 # Unfortuantely we have to use absolute paths to the SDK/NDK beause | 1207 # Unfortuantely we have to use absolute paths to the SDK/NDK beause |
1208 # they're passed to ant which uses a different relative path from | 1208 # they're passed to ant which uses a different relative path from |
1209 # gyp. | 1209 # gyp. |
1210 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', | 1210 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', |
1211 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', | 1211 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', |
1212 'android_host_arch%': '<!(uname -m)', | 1212 'android_host_arch%': '<!(uname -m)', |
1213 # Android API-level of the SDK used for compilation. | 1213 # Android API-level of the SDK used for compilation. |
1214 'android_sdk_version%': '17', | 1214 'android_sdk_version%': '18', |
| 1215 » # Android build-tools version |
| 1216 » 'android_build_tools_version%': '18.0.1', |
1215 }, | 1217 }, |
1216 # Copy conditionally-set variables out one scope. | 1218 # Copy conditionally-set variables out one scope. |
1217 'android_ndk_root%': '<(android_ndk_root)', | 1219 'android_ndk_root%': '<(android_ndk_root)', |
1218 'android_sdk_root%': '<(android_sdk_root)', | 1220 'android_sdk_root%': '<(android_sdk_root)', |
1219 'android_sdk_version%': '<(android_sdk_version)', | 1221 'android_sdk_version%': '<(android_sdk_version)', |
| 1222 'android_build_tools_version%': '<(android_build_tools_version)', |
1220 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', | 1223 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', |
1221 | 1224 |
1222 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', | 1225 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', |
1223 | 1226 |
1224 # Android API level 14 is ICS (Android 4.0) which is the minimum | 1227 # Android API level 14 is ICS (Android 4.0) which is the minimum |
1225 # platform requirement for Chrome on Android, we use it for native | 1228 # platform requirement for Chrome on Android, we use it for native |
1226 # code compilation. | 1229 # code compilation. |
1227 'conditions': [ | 1230 'conditions': [ |
1228 ['target_arch == "ia32"', { | 1231 ['target_arch == "ia32"', { |
1229 'android_app_abi%': 'x86', | 1232 'android_app_abi%': 'x86', |
(...skipping 21 matching lines...) Expand all Loading... |
1251 }], | 1254 }], |
1252 ], | 1255 ], |
1253 }, | 1256 }, |
1254 # Copy conditionally-set variables out one scope. | 1257 # Copy conditionally-set variables out one scope. |
1255 'android_app_abi%': '<(android_app_abi)', | 1258 'android_app_abi%': '<(android_app_abi)', |
1256 'android_gdbserver%': '<(android_gdbserver)', | 1259 'android_gdbserver%': '<(android_gdbserver)', |
1257 'android_ndk_root%': '<(android_ndk_root)', | 1260 'android_ndk_root%': '<(android_ndk_root)', |
1258 'android_ndk_sysroot': '<(android_ndk_sysroot)', | 1261 'android_ndk_sysroot': '<(android_ndk_sysroot)', |
1259 'android_sdk_root%': '<(android_sdk_root)', | 1262 'android_sdk_root%': '<(android_sdk_root)', |
1260 'android_sdk_version%': '<(android_sdk_version)', | 1263 'android_sdk_version%': '<(android_sdk_version)', |
| 1264 'android_build_tools_version%': '<(android_build_tools_version)', |
1261 'android_toolchain%': '<(android_toolchain)', | 1265 'android_toolchain%': '<(android_toolchain)', |
1262 | 1266 |
1263 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 1267 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
1264 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', | 1268 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', |
1265 'android_sdk_tools%': '<(android_sdk_root)/platform-tools', | 1269 'android_sdk_build_tools%': '<(android_sdk_root)/build-tools/<(android_b
uild_tools_version)', |
1266 'android_sdk%': '<(android_sdk)', | 1270 'android_sdk%': '<(android_sdk)', |
1267 'android_sdk_jar%': '<(android_sdk)/android.jar', | 1271 'android_sdk_jar%': '<(android_sdk)/android.jar', |
1268 | 1272 |
1269 'android_stlport_root': '<(android_stlport_root)', | 1273 'android_stlport_root': '<(android_stlport_root)', |
1270 'android_stlport_include': '<(android_stlport_root)/stlport', | 1274 'android_stlport_include': '<(android_stlport_root)/stlport', |
1271 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_
abi)', | 1275 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_
abi)', |
1272 | 1276 |
1273 # Location of the "strip" binary, used by both gyp and scripts. | 1277 # Location of the "strip" binary, used by both gyp and scripts. |
1274 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', | 1278 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', |
1275 | 1279 |
(...skipping 3365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4641 # settings in target dicts. SYMROOT is a special case, because many other | 4645 # settings in target dicts. SYMROOT is a special case, because many other |
4642 # Xcode variables depend on it, including variables such as | 4646 # Xcode variables depend on it, including variables such as |
4643 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4647 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4644 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4648 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4645 # files to appear (when present) in the UI as actual files and not red | 4649 # files to appear (when present) in the UI as actual files and not red |
4646 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4650 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4647 # and therefore SYMROOT, needs to be set at the project level. | 4651 # and therefore SYMROOT, needs to be set at the project level. |
4648 'SYMROOT': '<(DEPTH)/xcodebuild', | 4652 'SYMROOT': '<(DEPTH)/xcodebuild', |
4649 }, | 4653 }, |
4650 } | 4654 } |
OLD | NEW |