summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 23:57:57 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 23:57:57 +0000
commitdf353ab1855fca65c4d5e26985f139a26b15240d (patch)
treed38d7188651c44bb7a682724a01bb133df61bbce /build
parenteb6ba338db0ac03b8ab8dfcd90ba4da41213ddea (diff)
downloadchromium_src-df353ab1855fca65c4d5e26985f139a26b15240d.zip
chromium_src-df353ab1855fca65c4d5e26985f139a26b15240d.tar.gz
chromium_src-df353ab1855fca65c4d5e26985f139a26b15240d.tar.bz2
Download SwiftShader component if WebGL is blacklisted
Register with the component updater service if it's discovered that WebGL is blacklisted. Then register the swiftshader library with the GPU data manager. BUG=26001 TEST=Start up chrome on a blacklisted windows machine, wait a while, and open a webgl page Review URL: http://codereview.chromium.org/8897008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index c59f931..5ce9eec 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1180,6 +1180,9 @@
'ENABLE_WEB_INTENTS=1',
],
}],
+ ['OS=="win" and branding=="Chrome"', {
+ 'defines': ['ENABLE_SWIFTSHADER'],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['enable_wexit_time_destructors==1', {