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

Side by Side Diff: build/common.gypi

Issue 1535633002: Disable Blink assertions on Chromecast device builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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 | third_party/WebKit/Source/config.gni » ('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 3600 matching lines...) Expand 10 before | Expand all | Expand 10 after
3611 }], 3611 }],
3612 ], 3612 ],
3613 }], 3613 }],
3614 ], 3614 ],
3615 }], 3615 }],
3616 ['OS=="ios"', { 3616 ['OS=="ios"', {
3617 'defines': [ 3617 'defines': [
3618 'NS_BLOCK_ASSERTIONS=1', 3618 'NS_BLOCK_ASSERTIONS=1',
3619 ], 3619 ],
3620 }], 3620 }],
3621 # Force disable blink assertions on Cast device builds (overriding DCH ECK_ALWAYS_ON)
3622 # Only defined for Release builds (NDEBUG), otherwise blink won't comp ile.
3623 ['chromecast==1 and OS=="linux" and is_cast_desktop_build==0', {
3624 'defines': ['ENABLE_ASSERT=0'],
3625 }],
3621 ], 3626 ],
3622 }, 3627 },
3623 # 3628 #
3624 # Concrete configurations 3629 # Concrete configurations
3625 # 3630 #
3626 'Debug': { 3631 'Debug': {
3627 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'], 3632 'inherit_from': ['Common_Base', 'x86_Base', 'Debug_Base'],
3628 }, 3633 },
3629 'Release': { 3634 'Release': {
3630 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'], 3635 'inherit_from': ['Common_Base', 'x86_Base', 'Release_Base'],
(...skipping 2778 matching lines...) Expand 10 before | Expand all | Expand 10 after
6409 # settings in target dicts. SYMROOT is a special case, because many other 6414 # settings in target dicts. SYMROOT is a special case, because many other
6410 # Xcode variables depend on it, including variables such as 6415 # Xcode variables depend on it, including variables such as
6411 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6416 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6412 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6417 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6413 # files to appear (when present) in the UI as actual files and not red 6418 # files to appear (when present) in the UI as actual files and not red
6414 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6419 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6415 # and therefore SYMROOT, needs to be set at the project level. 6420 # and therefore SYMROOT, needs to be set at the project level.
6416 'SYMROOT': '<(DEPTH)/xcodebuild', 6421 'SYMROOT': '<(DEPTH)/xcodebuild',
6417 }, 6422 },
6418 } 6423 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698