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

Side by Side Diff: build/common.gypi

Issue 9834062: Using 'target_arch' instead of 'android_target_arch' (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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 | no next file » | 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 'enable_flapper_hacks%': 0, 360 'enable_flapper_hacks%': 0,
361 }], 361 }],
362 362
363 # Enable file manager extension on Chrome OS. 363 # Enable file manager extension on Chrome OS.
364 ['chromeos==1', { 364 ['chromeos==1', {
365 'file_manager_extension%': 1, 365 'file_manager_extension%': 1,
366 }, { 366 }, {
367 'file_manager_extension%': 0, 367 'file_manager_extension%': 0,
368 }], 368 }],
369 369
370 # Enable WebUI TaskManager on Chrome OS or Aura. 370 # Enable WebUI TaskManager on Chrome OS or Aura.
371 ['chromeos==1 or use_aura==1', { 371 ['chromeos==1 or use_aura==1', {
372 'webui_task_manager%': 1, 372 'webui_task_manager%': 1,
373 }], 373 }],
374 374
375 # For now one-click signin is enabled only for windows and mac 375 # For now one-click signin is enabled only for windows and mac
376 # since the UI is not yet complete for other platforms. 376 # since the UI is not yet complete for other platforms.
377 ['OS=="win" or OS=="mac"', { 377 ['OS=="win" or OS=="mac"', {
378 'enable_one_click_signin%': 1, 378 'enable_one_click_signin%': 1,
379 }], 379 }],
380 380
381 ['OS=="android"', { 381 ['OS=="android"', {
382 'proprietary_codecs%': 1, 382 'proprietary_codecs%': 1,
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 ['(branding=="Chrome" and buildtype=="Official")', { 747 ['(branding=="Chrome" and buildtype=="Official")', {
748 'linux_dump_symbols%': 1, 748 'linux_dump_symbols%': 1,
749 }], 749 }],
750 ], 750 ],
751 }], # os_posix==1 and OS!="mac" and OS!="android" 751 }], # os_posix==1 and OS!="mac" and OS!="android"
752 ['OS=="android"', { 752 ['OS=="android"', {
753 # Location of Android NDK. 753 # Location of Android NDK.
754 'variables': { 754 'variables': {
755 'variables': { 755 'variables': {
756 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)', 756 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)',
757 'android_target_arch%': 'arm', # target_arch in android terms. 757 'target_arch%': 'arm', # target_arch in android terms.
758 758
759 # Switch between different build types, currently only '0' is 759 # Switch between different build types, currently only '0' is
760 # supported. 760 # supported.
761 'android_build_type%': 0, 761 'android_build_type%': 0,
762 }, 762 },
763 'android_ndk_root%': '<(android_ndk_root)', 763 'android_ndk_root%': '<(android_ndk_root)',
764 'android_ndk_sysroot': '<(android_ndk_root)/platforms/android-9/arch-< (android_target_arch)', 764 'android_ndk_sysroot': '<(android_ndk_root)/platforms/android-9/arch-< (target_arch)',
765 'android_build_type%': '<(android_build_type)', 765 'android_build_type%': '<(android_build_type)',
766 }, 766 },
767 'android_ndk_root%': '<(android_ndk_root)', 767 'android_ndk_root%': '<(android_ndk_root)',
768 'android_ndk_sysroot': '<(android_ndk_sysroot)', 768 'android_ndk_sysroot': '<(android_ndk_sysroot)',
769 'android_ndk_include': '<(android_ndk_sysroot)/usr/include', 769 'android_ndk_include': '<(android_ndk_sysroot)/usr/include',
770 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib', 770 'android_ndk_lib': '<(android_ndk_sysroot)/usr/lib',
771 771
772 # Uses Android's crash report system 772 # Uses Android's crash report system
773 'linux_breakpad%': 0, 773 'linux_breakpad%': 0,
774 774
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
2165 ['OS=="freebsd"', { 2165 ['OS=="freebsd"', {
2166 'target_defaults': { 2166 'target_defaults': {
2167 'ldflags': [ 2167 'ldflags': [
2168 '-Wl,--no-keep-memory', 2168 '-Wl,--no-keep-memory',
2169 ], 2169 ],
2170 }, 2170 },
2171 }], 2171 }],
2172 # Android-specific options; note that most are set above with Linux. 2172 # Android-specific options; note that most are set above with Linux.
2173 ['OS=="android"', { 2173 ['OS=="android"', {
2174 'variables': { 2174 'variables': {
2175 'android_target_arch%': 'arm', # target_arch in android terms. 2175 'target_arch%': 'arm', # target_arch in android terms.
2176 'conditions': [ 2176 'conditions': [
2177 # Android uses x86 instead of ia32 for their target_arch designation. 2177 # Android uses x86 instead of ia32 for their target_arch designation.
2178 ['target_arch=="ia32"', { 2178 ['target_arch=="ia32"', {
2179 'android_target_arch%': 'x86', 2179 'target_arch%': 'x86',
2180 }], 2180 }],
2181 # Use shared stlport library when system one used. 2181 # Use shared stlport library when system one used.
2182 # Figure this out early since it needs symbols from libgcc.a, so it 2182 # Figure this out early since it needs symbols from libgcc.a, so it
2183 # has to be before that in the set of libraries. 2183 # has to be before that in the set of libraries.
2184 ['use_system_stlport==1', { 2184 ['use_system_stlport==1', {
2185 'android_stlport_library': 'stlport', 2185 'android_stlport_library': 'stlport',
2186 }, { 2186 }, {
2187 'android_stlport_library': 'stlport_static', 2187 'android_stlport_library': 'stlport_static',
2188 }], 2188 }],
2189 ], 2189 ],
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 # settings in target dicts. SYMROOT is a special case, because many other 2943 # settings in target dicts. SYMROOT is a special case, because many other
2944 # Xcode variables depend on it, including variables such as 2944 # Xcode variables depend on it, including variables such as
2945 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2945 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2946 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2946 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2947 # files to appear (when present) in the UI as actual files and not red 2947 # files to appear (when present) in the UI as actual files and not red
2948 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2948 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2949 # and therefore SYMROOT, needs to be set at the project level. 2949 # and therefore SYMROOT, needs to be set at the project level.
2950 'SYMROOT': '<(DEPTH)/xcodebuild', 2950 'SYMROOT': '<(DEPTH)/xcodebuild',
2951 }, 2951 },
2952 } 2952 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698