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

Side by Side Diff: build/common.gypi

Issue 8897008: Download SwiftShader component if WebGL is blacklisted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 ['enable_register_protocol_handler==1', { 1163 ['enable_register_protocol_handler==1', {
1164 'defines': [ 1164 'defines': [
1165 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', 1165 'ENABLE_REGISTER_PROTOCOL_HANDLER=1',
1166 ], 1166 ],
1167 }], 1167 }],
1168 ['enable_web_intents==1', { 1168 ['enable_web_intents==1', {
1169 'defines': [ 1169 'defines': [
1170 'ENABLE_WEB_INTENTS=1', 1170 'ENABLE_WEB_INTENTS=1',
1171 ], 1171 ],
1172 }], 1172 }],
1173 ['OS=="win" and branding=="Chrome"', {
1174 'defines': ['ENABLE_SWIFTSHADER'],
1175 }],
1173 ], # conditions for 'target_defaults' 1176 ], # conditions for 'target_defaults'
1174 'target_conditions': [ 1177 'target_conditions': [
1175 ['enable_wexit_time_destructors==1', { 1178 ['enable_wexit_time_destructors==1', {
1176 'conditions': [ 1179 'conditions': [
1177 [ 'clang==1', { 1180 [ 'clang==1', {
1178 'cflags': [ 1181 'cflags': [
1179 '-Wexit-time-destructors', 1182 '-Wexit-time-destructors',
1180 ], 1183 ],
1181 'xcode_settings': { 1184 'xcode_settings': {
1182 'WARNING_CFLAGS': [ 1185 'WARNING_CFLAGS': [
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 # settings in target dicts. SYMROOT is a special case, because many other 2663 # settings in target dicts. SYMROOT is a special case, because many other
2661 # Xcode variables depend on it, including variables such as 2664 # Xcode variables depend on it, including variables such as
2662 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2665 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2663 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2666 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2664 # files to appear (when present) in the UI as actual files and not red 2667 # files to appear (when present) in the UI as actual files and not red
2665 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2668 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2666 # and therefore SYMROOT, needs to be set at the project level. 2669 # and therefore SYMROOT, needs to be set at the project level.
2667 'SYMROOT': '<(DEPTH)/xcodebuild', 2670 'SYMROOT': '<(DEPTH)/xcodebuild',
2668 }, 2671 },
2669 } 2672 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698