Bug 884407 - Only build SpeechRecognitionError when MOZ_WEBSPEECH is enabled. r=smaug

This commit is contained in:
Guilherme Gonçalves 2013-07-01 09:27:09 -04:00
parent 0bfe31a30c
commit 8178fcade7

View File

@ -16,10 +16,12 @@ EXPORTS += [
]
EXPORTS.mozilla.dom += [
'SpeechRecognitionError.h',
'Touch.h',
]
if CONFIG['MOZ_WEBSPEECH']:
EXPORTS.mozilla.dom += ['SpeechRecognitionError.h']
CPP_SOURCES += [
'DOMWheelEvent.cpp',
'EventTarget.cpp',
@ -60,5 +62,7 @@ CPP_SOURCES += [
'nsIMEStateManager.cpp',
'nsPaintRequest.cpp',
'nsPrivateTextRange.cpp',
'SpeechRecognitionError.cpp',
]
if CONFIG['MOZ_WEBSPEECH']:
CPP_SOURCES += ['SpeechRecognitionError.cpp']