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

Side by Side Diff: build/common.gypi

Issue 11033027: Sets ios_product_name and ios_breakpad flags for iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 2 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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 'linux_breakpad%': 1, 972 'linux_breakpad%': 1,
973 }], 973 }],
974 # All Chrome builds have breakpad symbols, but only process the 974 # All Chrome builds have breakpad symbols, but only process the
975 # symbols from official builds. 975 # symbols from official builds.
976 ['(branding=="Chrome" and buildtype=="Official")', { 976 ['(branding=="Chrome" and buildtype=="Official")', {
977 'linux_dump_symbols%': 1, 977 'linux_dump_symbols%': 1,
978 }], 978 }],
979 ], 979 ],
980 }], # os_posix==1 and OS!="mac" and OS!="ios" 980 }], # os_posix==1 and OS!="mac" and OS!="ios"
981 ['OS=="ios"', { 981 ['OS=="ios"', {
982 # Features unavailable on ios.
stuartmorgan 2012/10/05 12:08:45 Remove this; it's not informative, and isn't actua
pkl (ping after 24h if needed) 2012/10/05 15:27:09 Done.
982 'disable_nacl%': 1, 983 'disable_nacl%': 1,
983 'enable_gpu%': 0, 984 'enable_gpu%': 0,
984 'icu_use_data_file_flag%': 1, 985 'icu_use_data_file_flag%': 1,
985 'use_system_bzip2%': 1, 986 'use_system_bzip2%': 1,
986 'use_system_libxml%': 1, 987 'use_system_libxml%': 1,
987 'use_system_sqlite%': 1, 988 'use_system_sqlite%': 1,
988 989
989 # The Mac SDK is set for iOS builds and passed through to Mac 990 # The Mac SDK is set for iOS builds and passed through to Mac
990 # sub-builds. This allows the Mac sub-build SDK in an iOS build to be 991 # sub-builds. This allows the Mac sub-build SDK in an iOS build to be
991 # overridden from the command line the same way it is for a Mac build. 992 # overridden from the command line the same way it is for a Mac build.
992 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py 10.6)', 993 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py 10.6)',
993 }], 994
995 'conditions': [
996 # ios_product_name is set to the name of the .app bundle as it should
997 # appear on disk.
998 ['(branding=="Chrome" and buildtype=="Official")', {
999 'ios_breakpad%': 1,
stuartmorgan 2012/10/05 12:08:45 This doesn't match what we do on Mac; as I mention
pkl (ping after 24h if needed) 2012/10/05 15:27:09 I looked at the find_sdk.py invocation for Mac. It
1000 'ios_product_name%': 'Chrome',
1001 }, { # else: branding!="Chrome"
1002 'ios_breakpad%': 0,
1003 'ios_product_name%': 'Chromium',
1004 }],
1005 ],
1006 }], # OS=="ios"
994 ['OS=="android"', { 1007 ['OS=="android"', {
995 # Location of Android NDK. 1008 # Location of Android NDK.
996 'variables': { 1009 'variables': {
997 'variables': { 1010 'variables': {
998 'variables': { 1011 'variables': {
999 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)', 1012 'android_ndk_root%': '<!(/bin/echo -n $ANDROID_NDK_ROOT)',
1000 }, 1013 },
1001 'android_ndk_root%': '<(android_ndk_root)', 1014 'android_ndk_root%': '<(android_ndk_root)',
1002 'conditions': [ 1015 'conditions': [
1003 ['target_arch == "ia32"', { 1016 ['target_arch == "ia32"', {
(...skipping 2512 matching lines...) Expand 10 before | Expand all | Expand 10 after
3516 # settings in target dicts. SYMROOT is a special case, because many other 3529 # settings in target dicts. SYMROOT is a special case, because many other
3517 # Xcode variables depend on it, including variables such as 3530 # Xcode variables depend on it, including variables such as
3518 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3531 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3519 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3532 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3520 # files to appear (when present) in the UI as actual files and not red 3533 # files to appear (when present) in the UI as actual files and not red
3521 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3534 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3522 # and therefore SYMROOT, needs to be set at the project level. 3535 # and therefore SYMROOT, needs to be set at the project level.
3523 'SYMROOT': '<(DEPTH)/xcodebuild', 3536 'SYMROOT': '<(DEPTH)/xcodebuild',
3524 }, 3537 },
3525 } 3538 }
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