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

Side by Side Diff: build/common.gypi

Issue 15864002: Disable NSAssert and GTMDevAssert on release builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« 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 2567 matching lines...) Expand 10 before | Expand all | Expand 10 after
2578 }], 2578 }],
2579 ['OS=="linux" or OS=="android"', { 2579 ['OS=="linux" or OS=="android"', {
2580 'target_conditions': [ 2580 'target_conditions': [
2581 ['_toolset=="target"', { 2581 ['_toolset=="target"', {
2582 'cflags': [ 2582 'cflags': [
2583 '<@(release_extra_cflags)', 2583 '<@(release_extra_cflags)',
2584 ], 2584 ],
2585 }], 2585 }],
2586 ], 2586 ],
2587 }], 2587 }],
2588 ['OS=="ios"', {
2589 'defines': [
2590 'NS_BLOCK_ASSERTIONS=1',
2591 ],
2592 }],
2588 ], 2593 ],
2589 }, 2594 },
2590 # 2595 #
2591 # Concrete configurations 2596 # Concrete configurations
2592 # 2597 #
2593 'Debug': { 2598 'Debug': {
2594 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], 2599 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'],
2595 }, 2600 },
2596 'Release': { 2601 'Release': {
2597 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], 2602 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'],
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
4449 # settings in target dicts. SYMROOT is a special case, because many other 4454 # settings in target dicts. SYMROOT is a special case, because many other
4450 # Xcode variables depend on it, including variables such as 4455 # Xcode variables depend on it, including variables such as
4451 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4456 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4452 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4457 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4453 # files to appear (when present) in the UI as actual files and not red 4458 # files to appear (when present) in the UI as actual files and not red
4454 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4459 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4455 # and therefore SYMROOT, needs to be set at the project level. 4460 # and therefore SYMROOT, needs to be set at the project level.
4456 'SYMROOT': '<(DEPTH)/xcodebuild', 4461 'SYMROOT': '<(DEPTH)/xcodebuild',
4457 }, 4462 },
4458 } 4463 }
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