Bug 684327 - Package the typelib along with the components so that it's accessible from the test harness. r=khuey

This commit is contained in:
Bobby Holley 2011-09-25 15:38:00 +01:00
parent ccd5a6439b
commit 309a2dc785
3 changed files with 8 additions and 0 deletions

View File

@ -6,3 +6,5 @@ contract @mozilla.org/js/xpc/test/js/ObjectReadOnly;1 {916c4247-253d-4ed0-a425-a
component {e3b86f4e-49c0-487c-a2b0-3a986720a044} xpctest_params.js
contract @mozilla.org/js/xpc/test/js/Params;1 {e3b86f4e-49c0-487c-a2b0-3a986720a044}
interfaces xpctest.xpt

View File

@ -1,2 +1,3 @@
#filter substitution
binary-component @LIBRARY_FILENAME@
interfaces xpctest.xpt

View File

@ -51,3 +51,8 @@ XPIDLSRCS = \
$(NULL)
include $(topsrcdir)/config/rules.mk
componentdir = js/src/xpconnect/tests/components
libs:: $(XPIDL_GEN_DIR)/$(MODULE).xpt
$(INSTALL) $^ $(testxpcobjdir)/$(componentdir)/native
$(INSTALL) $^ $(testxpcobjdir)/$(componentdir)/js