mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1239210 - Don't process WebIDL files when not compiling; r=glandium
The output of WebIDL codegen is a bunch of .h and .cpp files. These aren't relevant when not compiling. This change appears to shave ~3-4s off the "export" tier time for --disable-compile-environment builds on my i7-6700K because WebIDL codegen is currently a long pole in that tier. After this patch, artifact clobber builds are ~43.5s.
This commit is contained in:
parent
d582b3e09c
commit
9154f38899
@ -4,6 +4,8 @@
|
||||
|
||||
webidl_base := $(topsrcdir)/dom/webidl
|
||||
|
||||
ifdef COMPILE_ENVIRONMENT
|
||||
|
||||
# Generated by moz.build
|
||||
include webidlsrcs.mk
|
||||
|
||||
@ -54,6 +56,8 @@ codegen.pp: $(codegen_dependencies)
|
||||
compiletests:
|
||||
$(call SUBMAKE,libs,test)
|
||||
|
||||
endif
|
||||
|
||||
GARBAGE += \
|
||||
codegen.pp \
|
||||
codegen.json \
|
||||
|
Loading…
Reference in New Issue
Block a user