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

Side by Side Diff: build/common.gypi

Issue 11364072: Changes to build/common.gypi for iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added comment Created 8 years, 1 month 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 'proprietary_codecs%': 1, 465 'proprietary_codecs%': 1,
466 'remoting%': 0, 466 'remoting%': 0,
467 }], 467 }],
468 468
469 ['OS=="ios"', { 469 ['OS=="ios"', {
470 'configuration_policy%': 0, 470 'configuration_policy%': 0,
471 'disable_ftp_support%': 1, 471 'disable_ftp_support%': 1,
472 'enable_automation%': 0, 472 'enable_automation%': 0,
473 'enable_extensions%': 0, 473 'enable_extensions%': 0,
474 'enable_printing%': 0, 474 'enable_printing%': 0,
475 'enable_session_service%': 0,
475 'enable_themes%': 0, 476 'enable_themes%': 0,
476 'enable_webrtc%': 0, 477 'enable_webrtc%': 0,
477 'notifications%': 0, 478 'notifications%': 0,
478 'remoting%': 0, 479 'remoting%': 0,
480 'safe_browsing%': 0,
479 }], 481 }],
480 482
481 # Use GPU accelerated cross process image transport by default 483 # Use GPU accelerated cross process image transport by default
482 # on linux builds with the Aura window manager 484 # on linux builds with the Aura window manager
483 ['use_aura==1 and OS=="linux"', { 485 ['use_aura==1 and OS=="linux"', {
484 'ui_compositor_image_transport%': 1, 486 'ui_compositor_image_transport%': 1,
485 }, { 487 }, {
486 'ui_compositor_image_transport%': 0, 488 'ui_compositor_image_transport%': 0,
487 }], 489 }],
488 490
(...skipping 2787 matching lines...) Expand 10 before | Expand all | Expand 10 after
3276 }, 3278 },
3277 'target_conditions': [ 3279 'target_conditions': [
3278 ['_type=="executable"', { 3280 ['_type=="executable"', {
3279 'configurations': { 3281 'configurations': {
3280 'Release_Base': { 3282 'Release_Base': {
3281 'xcode_settings': { 3283 'xcode_settings': {
3282 'DEPLOYMENT_POSTPROCESSING': 'YES', 3284 'DEPLOYMENT_POSTPROCESSING': 'YES',
3283 'STRIP_INSTALLED_PRODUCT': 'YES', 3285 'STRIP_INSTALLED_PRODUCT': 'YES',
3284 }, 3286 },
3285 }, 3287 },
3288 'Debug_Base': {
3289 'xcode_settings': {
3290 # Remove dSYM to reduce build time.
3291 'DEBUG_INFORMATION_FORMAT': 'dwarf',
3292 },
3293 },
3286 }, 3294 },
3287 'xcode_settings': { 3295 'xcode_settings': {
3288 'conditions': [ 3296 'conditions': [
3289 ['chromium_ios_signing', { 3297 ['chromium_ios_signing', {
3290 # iOS SDK wants everything for device signed. 3298 # iOS SDK wants everything for device signed.
3291 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', 3299 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
3292 }, { 3300 }, {
3293 'CODE_SIGNING_REQUIRED': 'NO', 3301 'CODE_SIGNING_REQUIRED': 'NO',
3294 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': '', 3302 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': '',
3295 }], 3303 }],
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
3645 ['OS=="ios"', { 3653 ['OS=="ios"', {
3646 'conditions': [ 3654 'conditions': [
3647 ['ios_sdk_path==""', { 3655 ['ios_sdk_path==""', {
3648 'SDKROOT': 'iphoneos<(ios_sdk)', # -isysroot 3656 'SDKROOT': 'iphoneos<(ios_sdk)', # -isysroot
3649 }, { 3657 }, {
3650 'SDKROOT': '<(ios_sdk_path)', # -isysroot 3658 'SDKROOT': '<(ios_sdk_path)', # -isysroot
3651 }], 3659 }],
3652 ], 3660 ],
3653 }], 3661 }],
3654 ['OS=="ios"', { 3662 ['OS=="ios"', {
3655 # Just build armv7 since iOS 4.3+ only supports armv7.
3656 'ARCHS': '$(ARCHS_UNIVERSAL_IPHONE_OS)', 3663 'ARCHS': '$(ARCHS_UNIVERSAL_IPHONE_OS)',
3664 # Just build armv7, until armv7s is correctly tested.
3665 'VALID_ARCHS': 'armv7 i386',
3657 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)', 3666 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)',
3658 # Target both iPhone and iPad. 3667 # Target both iPhone and iPad.
3659 'TARGETED_DEVICE_FAMILY': '1,2', 3668 'TARGETED_DEVICE_FAMILY': '1,2',
3660 }], 3669 }],
3661 ], 3670 ],
3662 3671
3663 # The Xcode generator will look for an xcode_settings section at the root 3672 # The Xcode generator will look for an xcode_settings section at the root
3664 # of each dict and use it to apply settings on a file-wide basis. Most 3673 # of each dict and use it to apply settings on a file-wide basis. Most
3665 # settings should not be here, they should be in target-specific 3674 # settings should not be here, they should be in target-specific
3666 # xcode_settings sections, or better yet, should use non-Xcode-specific 3675 # xcode_settings sections, or better yet, should use non-Xcode-specific
3667 # settings in target dicts. SYMROOT is a special case, because many other 3676 # settings in target dicts. SYMROOT is a special case, because many other
3668 # Xcode variables depend on it, including variables such as 3677 # Xcode variables depend on it, including variables such as
3669 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3678 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3670 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3679 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3671 # files to appear (when present) in the UI as actual files and not red 3680 # files to appear (when present) in the UI as actual files and not red
3672 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3681 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3673 # and therefore SYMROOT, needs to be set at the project level. 3682 # and therefore SYMROOT, needs to be set at the project level.
3674 'SYMROOT': '<(DEPTH)/xcodebuild', 3683 'SYMROOT': '<(DEPTH)/xcodebuild',
3675 }, 3684 },
3676 } 3685 }
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