Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Side by Side Diff: build/common.gypi

Issue 1162943008: Make aapt and aidl paths flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN builds Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/package_resources_action.gypi ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 }, 1685 },
1686 # Copy conditionally-set variables out one scope. 1686 # Copy conditionally-set variables out one scope.
1687 'android_ndk_root%': '<(android_ndk_root)', 1687 'android_ndk_root%': '<(android_ndk_root)',
1688 'android_ndk_absolute_root%': '<(android_ndk_absolute_root)', 1688 'android_ndk_absolute_root%': '<(android_ndk_absolute_root)',
1689 'android_sdk_root%': '<(android_sdk_root)', 1689 'android_sdk_root%': '<(android_sdk_root)',
1690 'android_sdk_version%': '<(android_sdk_version)', 1690 'android_sdk_version%': '<(android_sdk_version)',
1691 'android_libcpp_root': '<(android_ndk_root)/sources/cxx-stl/llvm-libc+ +', 1691 'android_libcpp_root': '<(android_ndk_root)/sources/cxx-stl/llvm-libc+ +',
1692 'host_os%': '<(host_os)', 1692 'host_os%': '<(host_os)',
1693 1693
1694 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v ersion)', 1694 'android_sdk%': '<(android_sdk_root)/platforms/android-<(android_sdk_v ersion)',
1695 # Android SDK build tools (e.g. dx, aapt, aidl) 1695 # Android SDK build tools (e.g. dx, aidl)
1696 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_b uild_tools_version)', 1696 'android_sdk_tools%': '<(android_sdk_root)/build-tools/<(android_sdk_b uild_tools_version)',
1697 1697
1698 # Android API level 16 is JB (Android 4.1) which is the minimum 1698 # Android API level 16 is JB (Android 4.1) which is the minimum
1699 # platform requirement for Chrome on Android, we use it for native 1699 # platform requirement for Chrome on Android, we use it for native
1700 # code compilation. 1700 # code compilation.
1701 'conditions': [ 1701 'conditions': [
1702 ['target_arch == "ia32"', { 1702 ['target_arch == "ia32"', {
1703 'android_app_abi%': 'x86', 1703 'android_app_abi%': 'x86',
1704 'android_gdbserver%': '<(android_ndk_absolute_root)/prebuilt/andro id-x86/gdbserver/gdbserver', 1704 'android_gdbserver%': '<(android_ndk_absolute_root)/prebuilt/andro id-x86/gdbserver/gdbserver',
1705 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-16/ arch-x86', 1705 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-16/ arch-x86',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 'android_gdbserver%': '<(android_gdbserver)', 1754 'android_gdbserver%': '<(android_gdbserver)',
1755 'android_ndk_root%': '<(android_ndk_root)', 1755 'android_ndk_root%': '<(android_ndk_root)',
1756 'android_ndk_sysroot%': '<(android_ndk_sysroot)', 1756 'android_ndk_sysroot%': '<(android_ndk_sysroot)',
1757 'android_sdk_root%': '<(android_sdk_root)', 1757 'android_sdk_root%': '<(android_sdk_root)',
1758 'android_sdk_version%': '<(android_sdk_version)', 1758 'android_sdk_version%': '<(android_sdk_version)',
1759 'android_toolchain%': '<(android_toolchain)', 1759 'android_toolchain%': '<(android_toolchain)',
1760 1760
1761 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', 1761 'android_ndk_include': '<(android_ndk_sysroot)/usr/include',
1762 'android_ndk_lib': '<(android_ndk_sysroot)/<(android_ndk_lib_dir)', 1762 'android_ndk_lib': '<(android_ndk_sysroot)/<(android_ndk_lib_dir)',
1763 'android_sdk_tools%': '<(android_sdk_tools)', 1763 'android_sdk_tools%': '<(android_sdk_tools)',
1764 'android_aapt_path%': '<(android_sdk_tools)/aapt',
1764 'android_sdk%': '<(android_sdk)', 1765 'android_sdk%': '<(android_sdk)',
1765 'android_sdk_jar%': '<(android_sdk)/android.jar', 1766 'android_sdk_jar%': '<(android_sdk)/android.jar',
1766 1767
1767 'android_libcpp_root': '<(android_libcpp_root)', 1768 'android_libcpp_root': '<(android_libcpp_root)',
1768 'android_libcpp_include': '<(android_libcpp_root)/libcxx/include', 1769 'android_libcpp_include': '<(android_libcpp_root)/libcxx/include',
1769 'android_libcpp_libs_dir': '<(android_libcpp_root)/libs/<(android_app_ab i)', 1770 'android_libcpp_libs_dir': '<(android_libcpp_root)/libs/<(android_app_ab i)',
1770 'host_os%': '<(host_os)', 1771 'host_os%': '<(host_os)',
1771 1772
1772 # Location of the "objcopy" binary, used by both gyp and scripts. 1773 # Location of the "objcopy" binary, used by both gyp and scripts.
1773 'android_objcopy%' : '<!(/bin/echo -n <(android_toolchain)/*-objcopy)', 1774 'android_objcopy%' : '<!(/bin/echo -n <(android_toolchain)/*-objcopy)',
(...skipping 4410 matching lines...) Expand 10 before | Expand all | Expand 10 after
6184 # settings in target dicts. SYMROOT is a special case, because many other 6185 # settings in target dicts. SYMROOT is a special case, because many other
6185 # Xcode variables depend on it, including variables such as 6186 # Xcode variables depend on it, including variables such as
6186 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6187 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6187 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6188 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6188 # files to appear (when present) in the UI as actual files and not red 6189 # files to appear (when present) in the UI as actual files and not red
6189 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6190 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6190 # and therefore SYMROOT, needs to be set at the project level. 6191 # and therefore SYMROOT, needs to be set at the project level.
6191 'SYMROOT': '<(DEPTH)/xcodebuild', 6192 'SYMROOT': '<(DEPTH)/xcodebuild',
6192 }, 6193 },
6193 } 6194 }
OLDNEW
« no previous file with comments | « build/android/package_resources_action.gypi ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698