Enable gpu on all targets
Review URL: http://codereview.chromium.org/2853011 git-svn-id: http://src.chromium.org/svn/trunk/src/build@50519 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
46682ed379
Коммит
6524f01c9f
13
common.gypi
13
common.gypi
|
@ -275,6 +275,10 @@
|
|||
# Enable EGLImage support in OpenMAX
|
||||
'enable_eglimage%': 0,
|
||||
|
||||
# Enable a variable used elsewhere throughout the GYP files to determine
|
||||
# whether to compile in the sources for the GPU plugin / process.
|
||||
'enable_gpu%': 1,
|
||||
|
||||
'conditions': [
|
||||
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
||||
# This will set gcc_version to XY if you are running gcc X.Y.*.
|
||||
|
@ -359,15 +363,6 @@
|
|||
'NACL_WIN64',
|
||||
],
|
||||
}],
|
||||
# Compute based on OS and target architecture whether the GPU
|
||||
# plugin / process is supported.
|
||||
[ 'OS=="win" or (OS=="linux" and target_arch!="arm") or OS=="mac"', {
|
||||
# Enable a variable used elsewhere throughout the GYP files to determine
|
||||
# whether to compile in the sources for the GPU plugin / process.
|
||||
'enable_gpu%': 1,
|
||||
}, { # GPU plugin not supported
|
||||
'enable_gpu%': 0,
|
||||
}],
|
||||
],
|
||||
|
||||
# NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
|
||||
|
|
Загрузка…
Ссылка в новой задаче