mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted
This commit is contained in:
parent
d219f2ae43
commit
2847154b39
@ -199,7 +199,7 @@ dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
|
|||||||
-I$(topsrcdir)/xpcom/idl-parser \
|
-I$(topsrcdir)/xpcom/idl-parser \
|
||||||
$(srcdir)/qsgen.py \
|
$(srcdir)/qsgen.py \
|
||||||
--idlpath=$(DEPTH)/dist/idl \
|
--idlpath=$(DEPTH)/dist/idl \
|
||||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||||
--header-output dom_quickstubs.h \
|
--header-output dom_quickstubs.h \
|
||||||
--stub-output dom_quickstubs.cpp \
|
--stub-output dom_quickstubs.cpp \
|
||||||
--makedepend-output $(MDDEPDIR)/dom_qsgen.pp \
|
--makedepend-output $(MDDEPDIR)/dom_qsgen.pp \
|
||||||
@ -209,5 +209,10 @@ dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
|
|||||||
GARBAGE += \
|
GARBAGE += \
|
||||||
dom_quickstubs.h \
|
dom_quickstubs.h \
|
||||||
dom_quickstubs.cpp \
|
dom_quickstubs.cpp \
|
||||||
|
xpidl_debug \
|
||||||
$(MDDEPDIR)/dom_qsgen.pp \
|
$(MDDEPDIR)/dom_qsgen.pp \
|
||||||
|
$(wildcard $(topsrcdir)/other-licenses/ply/ply/*.pyc) \
|
||||||
|
$(wildcard $(topsrcdir)/xpcom/idl-parser/*.pyc) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
GARBAGE_DIRS += $(DEPTH)/xpcom/idl-parser/cache
|
||||||
|
@ -1667,7 +1667,7 @@ def main():
|
|||||||
if options.cachedir != '':
|
if options.cachedir != '':
|
||||||
sys.path.append(options.cachedir)
|
sys.path.append(options.cachedir)
|
||||||
if not os.path.isdir(options.cachedir):
|
if not os.path.isdir(options.cachedir):
|
||||||
os.mkdir(options.cachedir)
|
os.makedirs(options.cachedir)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
includePath = options.idlpath.split(':')
|
includePath = options.idlpath.split(':')
|
||||||
|
Loading…
Reference in New Issue
Block a user