зеркало из https://github.com/mozilla/gecko-dev.git
Bug 884407 - Only build SpeechRecognitionError when MOZ_WEBSPEECH is enabled. r=smaug
This commit is contained in:
Родитель
eff4ec1a16
Коммит
348ee215c3
|
@ -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']
|
||||
|
|
Загрузка…
Ссылка в новой задаче