Bug 1111063 - Support XPCOMBinary with msvcrt=static. r=glandium
authorR Kent James <kent@caspia.com>
Fri, 12 Dec 2014 16:33:00 -0500
changeset 220456 9a464275ec43005ac308056a5b52c5b5cce087d8
parent 220455 dcd53978a8c083eaff79d67247b8941cee1c84b0
child 220457 b56aec18ea9e6e36935fa7008b62b0170fc1b731
push id53097
push userryanvm@gmail.com
push dateThu, 18 Dec 2014 23:49:44 +0000
treeherdermozilla-inbound@df5938ac7dfa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1111063
milestone37.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 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
-