Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted
authorKyle Huey <khuey@kylehuey.com>
Fri, 12 Aug 2011 12:07:09 -0400
changeset 74329 27023581b24ac987d8ccb789b169316addc5fd8a
parent 74328 b9854d39643ab27a9fdb938211411536083471be
child 74331 1152582647874054db5be23554d9986860bf0ac9
push id20983
push userkhuey@mozilla.com
push dateSat, 13 Aug 2011 12:28:09 +0000
treeherdermozilla-central@6de555980733 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs678479
milestone8.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted
xpcom/Makefile.in
--- a/xpcom/Makefile.in
+++ b/xpcom/Makefile.in
@@ -85,8 +85,14 @@ endif
 SDK_HEADERS	= xpcom-config.h
 
 ifdef DEHYDRA_PATH
 DIRS += analysis
 endif
 
 include $(topsrcdir)/config/rules.mk
 
+regenerate-idl-parser:
+	$(PYTHON_PATH) \
+	  -I$(topsrcdir)/other-licenses/ply \
+	  -I$(topsrcdir)/xpcom/idl-parser \
+	  $(topsrcdir)/xpcom/idl-parser/header.py --cachedir=$(topsrcdir)/xpcom/idl-parser --regen
+