| 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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 # Location of Android NDK. | 1209 # Location of Android NDK. |
| 1210 'variables': { | 1210 'variables': { |
| 1211 'variables': { | 1211 'variables': { |
| 1212 # Unfortuantely we have to use absolute paths to the SDK/NDK beause | 1212 # Unfortuantely we have to use absolute paths to the SDK/NDK beause |
| 1213 # they're passed to ant which uses a different relative path from | 1213 # they're passed to ant which uses a different relative path from |
| 1214 # gyp. | 1214 # gyp. |
| 1215 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', | 1215 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', |
| 1216 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', | 1216 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', |
| 1217 'android_host_arch%': '<!(uname -m)', | 1217 'android_host_arch%': '<!(uname -m)', |
| 1218 # Android API-level of the SDK used for compilation. | 1218 # Android API-level of the SDK used for compilation. |
| 1219 'android_sdk_version%': '17', | 1219 'android_sdk_version%': '<!(/bin/echo -n ${ANDROID_SDK_VERSION})', |
| 1220 # Android SDK build tools (e.g. dx, aapt, aidl) |
| 1221 'android_sdk_tools%': '<!(/bin/echo -n ${ANDROID_SDK_TOOLS})', |
| 1220 }, | 1222 }, |
| 1221 # Copy conditionally-set variables out one scope. | 1223 # Copy conditionally-set variables out one scope. |
| 1222 'android_ndk_root%': '<(android_ndk_root)', | 1224 'android_ndk_root%': '<(android_ndk_root)', |
| 1223 'android_sdk_root%': '<(android_sdk_root)', | 1225 'android_sdk_root%': '<(android_sdk_root)', |
| 1224 'android_sdk_version%': '<(android_sdk_version)', | 1226 'android_sdk_version%': '<(android_sdk_version)', |
| 1227 'android_sdk_tools%': '<(android_sdk_tools)', |
| 1225 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', | 1228 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', |
| 1226 | 1229 |
| 1227 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', | 1230 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', |
| 1228 | 1231 |
| 1229 # Android API level 14 is ICS (Android 4.0) which is the minimum | 1232 # Android API level 14 is ICS (Android 4.0) which is the minimum |
| 1230 # platform requirement for Chrome on Android, we use it for native | 1233 # platform requirement for Chrome on Android, we use it for native |
| 1231 # code compilation. | 1234 # code compilation. |
| 1232 'conditions': [ | 1235 'conditions': [ |
| 1233 ['target_arch == "ia32"', { | 1236 ['target_arch == "ia32"', { |
| 1234 'android_app_abi%': 'x86', | 1237 'android_app_abi%': 'x86', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1260 'android_app_abi%': '<(android_app_abi)', | 1263 'android_app_abi%': '<(android_app_abi)', |
| 1261 'android_gdbserver%': '<(android_gdbserver)', | 1264 'android_gdbserver%': '<(android_gdbserver)', |
| 1262 'android_ndk_root%': '<(android_ndk_root)', | 1265 'android_ndk_root%': '<(android_ndk_root)', |
| 1263 'android_ndk_sysroot': '<(android_ndk_sysroot)', | 1266 'android_ndk_sysroot': '<(android_ndk_sysroot)', |
| 1264 'android_sdk_root%': '<(android_sdk_root)', | 1267 'android_sdk_root%': '<(android_sdk_root)', |
| 1265 'android_sdk_version%': '<(android_sdk_version)', | 1268 'android_sdk_version%': '<(android_sdk_version)', |
| 1266 'android_toolchain%': '<(android_toolchain)', | 1269 'android_toolchain%': '<(android_toolchain)', |
| 1267 | 1270 |
| 1268 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 1271 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
| 1269 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', | 1272 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', |
| 1270 'android_sdk_tools%': '<(android_sdk_root)/platform-tools', | 1273 'android_sdk_tools%': '<(android_sdk_tools)', |
| 1271 'android_sdk%': '<(android_sdk)', | 1274 'android_sdk%': '<(android_sdk)', |
| 1272 'android_sdk_jar%': '<(android_sdk)/android.jar', | 1275 'android_sdk_jar%': '<(android_sdk)/android.jar', |
| 1273 | 1276 |
| 1274 'android_stlport_root': '<(android_stlport_root)', | 1277 'android_stlport_root': '<(android_stlport_root)', |
| 1275 'android_stlport_include': '<(android_stlport_root)/stlport', | 1278 'android_stlport_include': '<(android_stlport_root)/stlport', |
| 1276 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_
abi)', | 1279 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_
abi)', |
| 1277 | 1280 |
| 1278 # Location of the "strip" binary, used by both gyp and scripts. | 1281 # Location of the "strip" binary, used by both gyp and scripts. |
| 1279 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', | 1282 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', |
| 1280 | 1283 |
| (...skipping 3400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4681 # settings in target dicts. SYMROOT is a special case, because many other | 4684 # settings in target dicts. SYMROOT is a special case, because many other |
| 4682 # Xcode variables depend on it, including variables such as | 4685 # Xcode variables depend on it, including variables such as |
| 4683 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4686 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4684 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4687 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4685 # files to appear (when present) in the UI as actual files and not red | 4688 # files to appear (when present) in the UI as actual files and not red |
| 4686 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4689 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4687 # and therefore SYMROOT, needs to be set at the project level. | 4690 # and therefore SYMROOT, needs to be set at the project level. |
| 4688 'SYMROOT': '<(DEPTH)/xcodebuild', | 4691 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4689 }, | 4692 }, |
| 4690 } | 4693 } |
| OLD | NEW |