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

Side by Side Diff: build/common.gypi

Issue 10388067: Fix the content_shell.apk in android x86 target build bug (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix the content_shell.apk in android x86 target build bug Created 8 years, 7 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 | « no previous file | content/content_shell.gypi » ('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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 'variables': { 820 'variables': {
821 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)', 821 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)',
822 # Android uses x86 instead of ia32 for their target_arch 822 # Android uses x86 instead of ia32 for their target_arch
823 # designation. 823 # designation.
824 # TODO(wistoch): Adjust the target_arch naming scheme to avoid 824 # TODO(wistoch): Adjust the target_arch naming scheme to avoid
825 # confusion. 825 # confusion.
826 # http://crbug.com/125329 826 # http://crbug.com/125329
827 'conditions': [ 827 'conditions': [
828 ['target_arch == "ia32"', { 828 ['target_arch == "ia32"', {
829 'target_arch': 'x86', 829 'target_arch': 'x86',
830 'android_app_abi%': 'x86',
831 }],
832 ['target_arch=="arm" and armv7==0', {
833 'android_app_abi%': 'armeabi',
834 }],
835 ['target_arch=="arm" and armv7==1', {
836 'android_app_abi%': 'armeabi-v7a',
830 }], 837 }],
831 ], 838 ],
832 839
833 # Switch between different build types, currently only '0' is 840 # Switch between different build types, currently only '0' is
834 # supported. 841 # supported.
835 'android_build_type%': 0, 842 'android_build_type%': 0,
836 }, 843 },
837 'android_ndk_root%': '<(android_ndk_root)', 844 'android_ndk_root%': '<(android_ndk_root)',
838 'android_ndk_sysroot': '<(android_ndk_root)/platforms/android-9/arch-< (target_arch)', 845 'android_ndk_sysroot': '<(android_ndk_root)/platforms/android-9/arch-< (target_arch)',
839 'android_build_type%': '<(android_build_type)', 846 'android_build_type%': '<(android_build_type)',
847 'android_app_abi%': '<(android_app_abi)',
840 }, 848 },
841 'android_ndk_root%': '<(android_ndk_root)', 849 'android_ndk_root%': '<(android_ndk_root)',
842 'android_ndk_sysroot': '<(android_ndk_sysroot)', 850 'android_ndk_sysroot': '<(android_ndk_sysroot)',
843 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', 851 'android_ndk_include': '<(android_ndk_sysroot)/usr/include',
844 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', 852 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib',
853 'android_app_abi%': '<(android_app_abi)',
845 854
846 # Uses Android's crash report system 855 # Uses Android's crash report system
847 'linux_breakpad%': 0, 856 'linux_breakpad%': 0,
848 857
849 # Always uses openssl. 858 # Always uses openssl.
850 'use_openssl%': 1, 859 'use_openssl%': 1,
851 860
852 'proprietary_codecs%': '<(proprietary_codecs)', 861 'proprietary_codecs%': '<(proprietary_codecs)',
853 'enable_task_manager%': 0, 862 'enable_task_manager%': 0,
854 'safe_browsing%': 0, 863 'safe_browsing%': 0,
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
3056 # settings in target dicts. SYMROOT is a special case, because many other 3065 # settings in target dicts. SYMROOT is a special case, because many other
3057 # Xcode variables depend on it, including variables such as 3066 # Xcode variables depend on it, including variables such as
3058 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3067 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3059 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3068 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3060 # files to appear (when present) in the UI as actual files and not red 3069 # files to appear (when present) in the UI as actual files and not red
3061 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3070 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3062 # and therefore SYMROOT, needs to be set at the project level. 3071 # and therefore SYMROOT, needs to be set at the project level.
3063 'SYMROOT': '<(DEPTH)/xcodebuild', 3072 'SYMROOT': '<(DEPTH)/xcodebuild',
3064 }, 3073 },
3065 } 3074 }
OLDNEW
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698