Bug 1264534 - Create system wrappers for all declared STL headers. r=froydnj

Until now, we had some STL headers listed in the system-headers list
such that they would get a system wrapper, but not all of them.

On the other hand, the STL wrappers do the same job as the system
wrappers (applying default visibility), on top of their own, so the
presence of the STL headers in system-headers wasn't making much of a
difference.

Except we have places in the tree where we can't build with STL wrappers
for a number of reasons. And in that case, we *do* need system wrappers
for the STL headers, but we didn't have system wrappers for all of them.

So instead of relying on the STL headers being listed both in
system-headers and stl-headers, concatenate both lists to create the
system wrappers.
This commit is contained in:
Mike Hommey 2016-06-15 14:44:33 +09:00
Родитель 7c172bb734
Коммит cae8c6bcee
2 изменённых файлов: 1 добавлений и 27 удалений

Просмотреть файл

@ -49,7 +49,7 @@ export:: $(export-preqs)
-DMOZ_SYSTEM_LIBEVENT=$(MOZ_SYSTEM_LIBEVENT) \
-DMOZ_SYSTEM_LIBVPX=$(MOZ_SYSTEM_LIBVPX) \
-DMOZ_SYSTEM_ICU=$(MOZ_SYSTEM_ICU) \
$(srcdir)/system-headers | $(PERL) $(topsrcdir)/nsprpub/config/make-system-wrappers.pl system_wrappers
$(srcdir)/system-headers $(srcdir)/stl-headers | $(PERL) $(topsrcdir)/nsprpub/config/make-system-wrappers.pl system_wrappers
$(INSTALL) system_wrappers $(DIST)
GARBAGE_DIRS += system_wrappers

Просмотреть файл

@ -158,7 +158,6 @@ afxmt.h
afxpriv.h
afxtempl.h
afxwin.h
algorithm
Aliases.h
all.h
alloca.h
@ -315,7 +314,6 @@ camera/CameraParameters.h
Carbon/Carbon.h
CarbonEvents.h
Carbon.h
cassert
c_asm.h
cctype
cderr.h
@ -332,7 +330,6 @@ CFString.h
CFURL.h
CGAffineTransform.h
CheckBox.h
climits
Clipboard.h
cmplrs/stsupport.h
Cocoa/Cocoa.h
@ -363,9 +360,6 @@ crtdbg.h
crt_externs.h
crypt.h
cstddef
cstdio
cstdlib
cstring
ctime
ctype.h
curl/curl.h
@ -387,7 +381,6 @@ dbus/dbus-glib.h
dbus/dbus-glib-lowlevel.h
ddeml.h
Debug.h
deque
dem.h
descrip.h
Devices.h
@ -489,7 +482,6 @@ fstream
fstream.h
ft2build.h
fts.h
functional
gconf/gconf-client.h
Gdiplus.h
gdk/gdk.h
@ -564,12 +556,7 @@ IOKit/IOKitLib.h
IOKit/IOMessage.h
IOKit/pwr_mgt/IOPMLib.h
iomanip
ios
iosfwd
iostream
iostream.h
istream
iterator
JavaControl.h
JavaEmbedding/JavaControl.h
JavaVM/jni.h
@ -632,7 +619,6 @@ libgnome/libgnome.h
libgnomeui/gnome-icon-lookup.h
libgnomeui/gnome-icon-theme.h
libgnomeui/gnome-ui-init.h
limits
limits.h
link.h
#ifdef ANDROID
@ -644,7 +630,6 @@ linux/kernel.h
linux/limits.h
linux/rtc.h
linux/version.h
list
List.h
Lists.h
LListBox.h
@ -715,7 +700,6 @@ MacTypes.h
MacWindows.h
malloc.h
malloc_np.h
map
mapicode.h
mapidefs.h
mapiguid.h
@ -772,7 +756,6 @@ media/stagefright/openmax/OMX_Video.h
media/stagefright/Utils.h
#endif
mem.h
memory
memory.h
Memory.h
MenuBar.h
@ -800,7 +783,6 @@ net/if.h
netinet/in.h
netinet/in_systm.h
netinet/tcp.h
new
newexe.h
new.h
nl_types.h
@ -821,7 +803,6 @@ OpenTptInternet.h
OpenTransport.h
OS.h
osreldate.h
ostream
OSUtils.h
Packages.h
Palettes.h
@ -911,7 +892,6 @@ security.h
secutil.h
semaphore.h
servprov.h
set
setjmp.h
SFNTLayoutTypes.h
SFNTTypes.h
@ -931,7 +911,6 @@ Sound.h
soundcard.h
sqlite3.h
sstream
stack
#ifdef ANDROID
stagefright/AACWriter.h
stagefright/AMRWriter.h
@ -982,7 +961,6 @@ stdio.h
stdlib.h
storage/FindDirectory.h
StorageKit.h
string
StringCompare.h
string.h
String.h
@ -1115,7 +1093,6 @@ ToolUtils.h
tr1/functional
trace.h
Traps.h
type_traits
typeinfo
types.h
Types.h
@ -1164,7 +1141,6 @@ UReanimator.h
URegions.h
URegistrar.h
UResourceMgr.h
utility
#ifdef ANDROID
utils/BitSet.h
utils/CallStack.h
@ -1196,13 +1172,11 @@ UTETextAction.h
UTEViewTextAction.h
UTextEdit.h
UTextTraits.h
utility
utime.h
UWindows.h
values.h
varargs.h
vcclr.h
vector
View.h
Volume.h
wab.h