Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
[gecko.git] / build / templates.mozbuild
blob0dff49d667ed6ef58eb17be0e14adad1f1f05741
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 @template
8 def GeckoBinary():
9     '''Template for binaries using Gecko.
11     This template is meant to be used in other templates.
12     '''
13     USE_LIBS += [
14         'mozalloc',
15         'nspr',
16         'xpcomglue_s',
17         'xul',
18     ]
21 @template
22 def XPCOMBinaryComponent(name):
23     '''Template defining an XPCOM binary component for Gecko.
25     name is the name of the component.
26     '''
27     LIBRARY_NAME = name
29     GeckoBinary()
31     IS_COMPONENT = True