Chromium Code Reviews| 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%': '18', |
| 1220 » # Android build-tools version | |
|
cjhopman
2013/08/07 18:14:25
Remove tabs.
navabi
2013/08/07 18:24:13
Done.
| |
| 1221 » 'android_build_tools_version%': '18.0.1', | |
| 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_build_tools_version%': '<(android_build_tools_version)', | |
| 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 21 matching lines...) Expand all Loading... | |
| 1256 }], | 1259 }], |
| 1257 ], | 1260 ], |
| 1258 }, | 1261 }, |
| 1259 # Copy conditionally-set variables out one scope. | 1262 # Copy conditionally-set variables out one scope. |
| 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)', |
| 1269 'android_build_tools_version%': '<(android_build_tools_version)', | |
| 1266 'android_toolchain%': '<(android_toolchain)', | 1270 'android_toolchain%': '<(android_toolchain)', |
| 1267 | 1271 |
| 1268 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', | 1272 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', |
| 1269 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', | 1273 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', |
| 1270 'android_sdk_tools%': '<(android_sdk_root)/platform-tools', | 1274 'android_sdk_build_tools%': '<(android_sdk_root)/build-tools/<(android_b uild_tools_version)', |
| 1271 'android_sdk%': '<(android_sdk)', | 1275 'android_sdk%': '<(android_sdk)', |
| 1272 'android_sdk_jar%': '<(android_sdk)/android.jar', | 1276 'android_sdk_jar%': '<(android_sdk)/android.jar', |
| 1273 | 1277 |
| 1274 'android_stlport_root': '<(android_stlport_root)', | 1278 'android_stlport_root': '<(android_stlport_root)', |
| 1275 'android_stlport_include': '<(android_stlport_root)/stlport', | 1279 'android_stlport_include': '<(android_stlport_root)/stlport', |
| 1276 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_ abi)', | 1280 'android_stlport_libs_dir': '<(android_stlport_root)/libs/<(android_app_ abi)', |
| 1277 | 1281 |
| 1278 # Location of the "strip" binary, used by both gyp and scripts. | 1282 # Location of the "strip" binary, used by both gyp and scripts. |
| 1279 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', | 1283 'android_strip%' : '<!(/bin/echo -n <(android_toolchain)/*-strip)', |
| 1280 | 1284 |
| (...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 | 4685 # settings in target dicts. SYMROOT is a special case, because many other |
| 4682 # Xcode variables depend on it, including variables such as | 4686 # Xcode variables depend on it, including variables such as |
| 4683 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4687 # 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 | 4688 # 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 | 4689 # 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, | 4690 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4687 # and therefore SYMROOT, needs to be set at the project level. | 4691 # and therefore SYMROOT, needs to be set at the project level. |
| 4688 'SYMROOT': '<(DEPTH)/xcodebuild', | 4692 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4689 }, | 4693 }, |
| 4690 } | 4694 } |
| OLD | NEW |