Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz

This commit is contained in:
Benoit Jacob 2012-07-12 01:30:17 -04:00
parent 6dd4d1a2be
commit eae0b8c0a9
2 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,6 @@ CPPSRCS = \
DocumentRendererParent.cpp \
DocumentRendererChild.cpp \
ImageData.cpp \
WebGLExtensionCompressedTextureS3TC.cpp \
$(NULL)
ifdef MOZ_WEBGL
@ -52,6 +51,7 @@ CPPSRCS += \
WebGLExtensionTextureFilterAnisotropic.cpp \
WebGLExtensionLoseContext.cpp \
WebGLTexelConversions.cpp \
WebGLExtensionCompressedTextureS3TC.cpp \
$(NULL)
DEFINES += -DUSE_ANGLE

View File

@ -12,8 +12,13 @@ webidl_files = \
XMLHttpRequest.webidl \
XMLHttpRequestEventTarget.webidl \
XMLHttpRequestUpload.webidl \
$(NULL)
ifdef MOZ_WEBGL
webidl_files += \
WebGLRenderingContext.webidl \
$(NULL)
endif
ifdef ENABLE_TESTS
test_webidl_files := \