Closed
Bug 855728
Opened 12 years ago
Closed 12 years ago
nsLayoutModule.cpp: error: FakeSpeechRecognitionService.h file not found
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla22
People
(Reporter: jbeich, Assigned: jbeich)
References
Details
Attachments
(1 file, 1 obsolete file)
1.58 KB,
patch
|
Details | Diff | Splinter Review |
It seems --disable-tests doesn't produce Makefile for tests/ directory
and the build subsequently fails because 'export' there is never run.
layout/build/nsLayoutModule.cpp:98:10: fatal error:
'mozilla/dom/FakeSpeechRecognitionService.h' file not found
#include "mozilla/dom/FakeSpeechRecognitionService.h"
^
1 error generated.
probably wrong as I haven't tested without --disable-tests
Attachment #730724 -
Flags: review?(jschoenick)
Updated•12 years ago
|
Comment 3•12 years ago
|
||
Comment on attachment 730724 [details] [diff] [review]
fix
A build peer review would probably be better. :)
Attachment #730724 -
Flags: review?(jschoenick) → review?(gps)
![]() |
||
Comment 4•12 years ago
|
||
So wait, is it purposeful that we're shipping the fake speech recognition service in our release builds?
Comment 5•12 years ago
|
||
Comment on attachment 730724 [details] [diff] [review]
fix
Review of attachment 730724 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM.
Attachment #730724 -
Flags: review?(gps) → review+
Comment 6•12 years ago
|
||
It seems weird to move the .h without the .cpp. And it's weird that the .h is included from nsLayoutModule.cpp if everything is really meant to be under test/ ?
Comment 7•12 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #6)
> It seems weird to move the .h without the .cpp. And it's weird that the .h
> is included from nsLayoutModule.cpp if everything is really meant to be
> under test/ ?
We include the header in nsLayoutModule so we can have a factory of recognition services (instantiable by CID), the fake one being used only for tests -- hence its files being under test/.
It might not really be necessary to move the file in the patch, as we already use the test directory in the Makefile's VPATH.
Attachment #730724 -
Attachment is obsolete: true
Keywords: checkin-needed
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•