summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 00:18:50 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 00:18:50 +0000
commited154597ae809d73a5d4001ee5f57699b5f4a1aa (patch)
treeaa5f14513f8efaa67f41c926c7b7eae1bcbdb62d /build/common.gypi
parent518c1efc046a2df03a1da0aab542a384e201f8d2 (diff)
downloadchromium_src-ed154597ae809d73a5d4001ee5f57699b5f4a1aa.zip
chromium_src-ed154597ae809d73a5d4001ee5f57699b5f4a1aa.tar.gz
chromium_src-ed154597ae809d73a5d4001ee5f57699b5f4a1aa.tar.bz2
remove the logic to compute enable_gles since it's broken;
add enable_eglimage Review URL: http://codereview.chromium.org/1747019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi20
1 files changed, 11 insertions, 9 deletions
diff --git a/build/common.gypi b/build/common.gypi
index b1a94cc..7b3b847 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -248,6 +248,12 @@
# Enable new NPDevice API.
'enable_new_npdevice_api%': 0,
+ # Enable OpenGL ES.
+ 'enable_gles%': 0,
+
+ # Enable EGLImage support in OpenMAX
+ 'enable_eglimage%': 0,
+
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
# This will set gcc_version to XY if you are running gcc X.Y.*.
@@ -337,15 +343,6 @@
}, { # GPU plugin not supported
'enable_gpu%': 0,
}],
- # Compute based on OS, target architecture and device whether GLES
- # is supported
- [ 'OS=="linux" and target_arch=="arm" and chromeos==1', {
- # Enable a variable used elsewhere throughout the GYP files to determine
- # whether to compile in the sources for the GLES support.
- 'enable_gles%': 1,
- }, { # GLES not supported
- 'enable_gles%': 0,
- }],
],
# NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
@@ -435,6 +432,11 @@
'ENABLE_GLES=1',
],
}],
+ ['enable_eglimage==1', {
+ 'defines': [
+ 'ENABLE_EGLIMAGE=1',
+ ],
+ }],
['coverage!=0', {
'conditions': [
['OS=="mac"', {