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 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1616 ], | 1616 ], |
1617 }], # OS=="ios" | 1617 }], # OS=="ios" |
1618 ['OS=="android"', { | 1618 ['OS=="android"', { |
1619 # Location of Android NDK. | 1619 # Location of Android NDK. |
1620 'variables': { | 1620 'variables': { |
1621 'variables': { | 1621 'variables': { |
1622 # Unfortunately we have to use absolute paths to the SDK/NDK because | 1622 # Unfortunately we have to use absolute paths to the SDK/NDK because |
1623 # they're passed to ant which uses a different relative path from | 1623 # they're passed to ant which uses a different relative path from |
1624 # gyp. | 1624 # gyp. |
1625 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_
tools/ndk/', | 1625 'android_ndk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_
tools/ndk/', |
1626 'android_ndk_experimental_root%': '<!(cd <(DEPTH) && pwd -P)/third_p
arty/android_tools/ndk_experimental/', | |
1627 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_
tools/sdk/', | 1626 'android_sdk_root%': '<!(cd <(DEPTH) && pwd -P)/third_party/android_
tools/sdk/', |
1628 'android_host_arch%': '<!(uname -m)', | 1627 'android_host_arch%': '<!(uname -m)', |
1629 # Android API-level of the SDK used for compilation. | 1628 # Android API-level of the SDK used for compilation. |
1630 'android_sdk_version%': '20', | 1629 'android_sdk_version%': '20', |
1631 'android_sdk_build_tools_version%': '20.0.0', | 1630 'android_sdk_build_tools_version%': '20.0.0', |
1632 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", | 1631 'host_os%': "<!(uname -s | sed -e 's/Linux/linux/;s/Darwin/mac/')", |
1633 }, | 1632 }, |
1634 # Copy conditionally-set variables out one scope. | 1633 # Copy conditionally-set variables out one scope. |
1635 'android_ndk_root%': '<(android_ndk_root)', | 1634 'android_ndk_root%': '<(android_ndk_root)', |
1636 'android_sdk_root%': '<(android_sdk_root)', | 1635 'android_sdk_root%': '<(android_sdk_root)', |
(...skipping 11 matching lines...) Expand all Loading... |
1648 'conditions': [ | 1647 'conditions': [ |
1649 ['target_arch == "ia32"', { | 1648 ['target_arch == "ia32"', { |
1650 'android_app_abi%': 'x86', | 1649 'android_app_abi%': 'x86', |
1651 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd
bserver/gdbserver', | 1650 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd
bserver/gdbserver', |
1652 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-x86', | 1651 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-x86', |
1653 'android_ndk_lib_dir%': 'usr/lib', | 1652 'android_ndk_lib_dir%': 'usr/lib', |
1654 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.8/preb
uilt/<(host_os)-<(android_host_arch)/bin', | 1653 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.8/preb
uilt/<(host_os)-<(android_host_arch)/bin', |
1655 }], | 1654 }], |
1656 ['target_arch == "x64"', { | 1655 ['target_arch == "x64"', { |
1657 'android_app_abi%': 'x86_64', | 1656 'android_app_abi%': 'x86_64', |
1658 'android_gdbserver%': '<(android_ndk_experimental_root)/prebuilt/a
ndroid-x86_64/gdbserver/gdbserver', | 1657 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86_64
/gdbserver/gdbserver', |
1659 'android_ndk_sysroot%': '<(android_ndk_experimental_root)/platform
s/android-L/arch-x86_64', | 1658 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-L/a
rch-x86_64', |
1660 'android_ndk_lib_dir%': 'usr/lib64', | 1659 'android_ndk_lib_dir%': 'usr/lib64', |
1661 'android_toolchain%': '<(android_ndk_experimental_root)/toolchains
/x86_64-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', | 1660 'android_toolchain%': '<(android_ndk_root)/toolchains/x86_64-4.9/p
rebuilt/<(host_os)-<(android_host_arch)/bin', |
1662 'android_stlport_root': '<(android_ndk_experimental_root)/sources/
cxx-stl/stlport', | |
1663 }], | 1661 }], |
1664 ['target_arch=="arm"', { | 1662 ['target_arch=="arm"', { |
1665 'conditions': [ | 1663 'conditions': [ |
1666 ['arm_version<7', { | 1664 ['arm_version<7', { |
1667 'android_app_abi%': 'armeabi', | 1665 'android_app_abi%': 'armeabi', |
1668 }, { | 1666 }, { |
1669 'android_app_abi%': 'armeabi-v7a', | 1667 'android_app_abi%': 'armeabi-v7a', |
1670 }], | 1668 }], |
1671 ], | 1669 ], |
1672 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm/gd
bserver/gdbserver', | 1670 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm/gd
bserver/gdbserver', |
1673 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-arm', | 1671 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-arm', |
1674 'android_ndk_lib_dir%': 'usr/lib', | 1672 'android_ndk_lib_dir%': 'usr/lib', |
1675 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an
droideabi-4.8/prebuilt/<(host_os)-<(android_host_arch)/bin', | 1673 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an
droideabi-4.8/prebuilt/<(host_os)-<(android_host_arch)/bin', |
1676 }], | 1674 }], |
1677 ['target_arch == "arm64"', { | 1675 ['target_arch == "arm64"', { |
1678 'android_app_abi%': 'arm64-v8a', | 1676 'android_app_abi%': 'arm64-v8a', |
1679 'android_gdbserver%': '<(android_ndk_experimental_root)/prebuilt/a
ndroid-arm64/gdbserver/gdbserver', | 1677 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm64/
gdbserver/gdbserver', |
1680 'android_ndk_sysroot%': '<(android_ndk_experimental_root)/platform
s/android-L/arch-arm64', | 1678 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-L/a
rch-arm64', |
1681 'android_ndk_lib_dir%': 'usr/lib', | 1679 'android_ndk_lib_dir%': 'usr/lib', |
1682 'android_toolchain%': '<(android_ndk_experimental_root)/toolchains
/aarch64-linux-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', | 1680 'android_toolchain%': '<(android_ndk_root)/toolchains/aarch64-linu
x-android-4.9/prebuilt/<(host_os)-<(android_host_arch)/bin', |
1683 'android_stlport_root': '<(android_ndk_experimental_root)/sources/
cxx-stl/stlport', | |
1684 }], | 1681 }], |
1685 ['target_arch == "mipsel"', { | 1682 ['target_arch == "mipsel"', { |
1686 'android_app_abi%': 'mips', | 1683 'android_app_abi%': 'mips', |
1687 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-mips/g
dbserver/gdbserver', | 1684 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-mips/g
dbserver/gdbserver', |
1688 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-mips', | 1685 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/
arch-mips', |
1689 'android_ndk_lib_dir%': 'usr/lib', | 1686 'android_ndk_lib_dir%': 'usr/lib', |
1690 'android_toolchain%': '<(android_ndk_root)/toolchains/mipsel-linux
-android-4.8/prebuilt/<(host_os)-<(android_host_arch)/bin', | 1687 'android_toolchain%': '<(android_ndk_root)/toolchains/mipsel-linux
-android-4.8/prebuilt/<(host_os)-<(android_host_arch)/bin', |
1691 }], | 1688 }], |
1692 ], | 1689 ], |
1693 }, | 1690 }, |
(...skipping 3961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5655 # settings in target dicts. SYMROOT is a special case, because many other | 5652 # settings in target dicts. SYMROOT is a special case, because many other |
5656 # Xcode variables depend on it, including variables such as | 5653 # Xcode variables depend on it, including variables such as |
5657 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5654 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5658 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5655 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5659 # files to appear (when present) in the UI as actual files and not red | 5656 # files to appear (when present) in the UI as actual files and not red |
5660 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5657 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5661 # and therefore SYMROOT, needs to be set at the project level. | 5658 # and therefore SYMROOT, needs to be set at the project level. |
5662 'SYMROOT': '<(DEPTH)/xcodebuild', | 5659 'SYMROOT': '<(DEPTH)/xcodebuild', |
5663 }, | 5660 }, |
5664 } | 5661 } |
OLD | NEW |