Bug 1111063 - Support XPCOMBinary with msvcrt=static. r=glandium
authorR Kent James <kent@caspia.com>
Fri, 12 Dec 2014 16:33:00 -0500
changeset 233091 9a464275ec43005ac308056a5b52c5b5cce087d8
parent 233090 dcd53978a8c083eaff79d67247b8941cee1c84b0
child 233092 b56aec18ea9e6e36935fa7008b62b0170fc1b731
push id282
push usergijskruitbosch@gmail.com
push dateFri, 19 Dec 2014 21:51:52 +0000
reviewersglandium
bugs1111063
milestone37.0a1
Bug 1111063 - Support XPCOMBinary with msvcrt=static. r=glandium
build/gecko_templates.mozbuild
--- a/build/gecko_templates.mozbuild
+++ b/build/gecko_templates.mozbuild
@@ -149,17 +149,16 @@ def GeckoFramework(name, **kwargs):
     Framework(name)
 
     kwargs.setdefault('mozglue', 'library')
 
     GeckoBinary(**kwargs)
 
 
 @template
-def XPCOMBinaryComponent(name):
+def XPCOMBinaryComponent(name, **kwargs):
     '''Template defining an XPCOM binary component for Gecko.
 
     `name` is the name of the component.
     '''
-    GeckoSharedLibrary(name)
+    GeckoSharedLibrary(name, **kwargs)
 
     IS_COMPONENT = True
-