| 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 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 'variables': { | 1383 'variables': { |
| 1384 'variables': { | 1384 'variables': { |
| 1385 # Unfortuantely we have to use absolute paths to the SDK/NDK beause | 1385 # Unfortuantely we have to use absolute paths to the SDK/NDK beause |
| 1386 # they're passed to ant which uses a different relative path from | 1386 # they're passed to ant which uses a different relative path from |
| 1387 # gyp. | 1387 # gyp. |
| 1388 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', | 1388 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/ndk/', |
| 1389 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', | 1389 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android
_tools/sdk/', |
| 1390 'android_host_arch%': '<!(uname -m)', | 1390 'android_host_arch%': '<!(uname -m)', |
| 1391 # Android API-level of the SDK used for compilation. | 1391 # Android API-level of the SDK used for compilation. |
| 1392 'android_sdk_version%': '19', | 1392 'android_sdk_version%': '19', |
| 1393 # Android SDK build tools (e.g. dx, aapt, aidl) | 1393 'android_sdk_build_tools_version%': '19.0.0', |
| 1394 'android_sdk_tools%': '<!(/bin/echo -n ${ANDROID_SDK_TOOLS})', | |
| 1395 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", | 1394 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", |
| 1396 }, | 1395 }, |
| 1397 # Copy conditionally-set variables out one scope. | 1396 # Copy conditionally-set variables out one scope. |
| 1398 'android_ndk_root%': '<(android_ndk_root)', | 1397 'android_ndk_root%': '<(android_ndk_root)', |
| 1399 'android_sdk_root%': '<(android_sdk_root)', | 1398 'android_sdk_root%': '<(android_sdk_root)', |
| 1400 'android_sdk_version%': '<(android_sdk_version)', | 1399 'android_sdk_version%': '<(android_sdk_version)', |
| 1401 'android_sdk_tools%': '<(android_sdk_tools)', | |
| 1402 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', | 1400 'android_stlport_root': '<(android_ndk_root)/sources/cxx-stl/stlport', |
| 1403 'host_os%': '<(host_os)', | 1401 'host_os%': '<(host_os)', |
| 1404 | 1402 |
| 1405 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', | 1403 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v
ersion)', |
| 1404 # Android SDK build tools (e.g. dx, aapt, aidl) |
| 1405 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_b
uild_tools_version)', |
| 1406 | 1406 |
| 1407 # Android API level 14 is ICS (Android 4.0) which is the minimum | 1407 # Android API level 14 is ICS (Android 4.0) which is the minimum |
| 1408 # platform requirement for Chrome on Android, we use it for native | 1408 # platform requirement for Chrome on Android, we use it for native |
| 1409 # code compilation. | 1409 # code compilation. |
| 1410 'conditions': [ | 1410 'conditions': [ |
| 1411 ['target_arch == "ia32"', { | 1411 ['target_arch == "ia32"', { |
| 1412 'android_app_abi%': 'x86', | 1412 'android_app_abi%': 'x86', |
| 1413 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd
bserver/gdbserver', | 1413 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd
bserver/gdbserver', |
| 1414 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-x86', | 1414 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-x86', |
| 1415 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.6/preb
uilt/<(host_os)-<(android_host_arch)/bin', | 1415 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.6/preb
uilt/<(host_os)-<(android_host_arch)/bin', |
| (...skipping 3562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4978 # settings in target dicts. SYMROOT is a special case, because many other | 4978 # settings in target dicts. SYMROOT is a special case, because many other |
| 4979 # Xcode variables depend on it, including variables such as | 4979 # Xcode variables depend on it, including variables such as |
| 4980 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4980 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4981 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4981 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4982 # files to appear (when present) in the UI as actual files and not red | 4982 # files to appear (when present) in the UI as actual files and not red |
| 4983 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4983 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4984 # and therefore SYMROOT, needs to be set at the project level. | 4984 # and therefore SYMROOT, needs to be set at the project level. |
| 4985 'SYMROOT': '<(DEPTH)/xcodebuild', | 4985 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4986 }, | 4986 }, |
| 4987 } | 4987 } |
| OLD | NEW |