xpcom/sample/moz.build

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:f90a9fbe7c2e
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/.
6
7 # If you're copying from this file, you'll likely need to replace
8 # TEST_TOOL_DIRS with DIRS.
9 TEST_TOOL_DIRS += ['program']
10
11 # XPIDL_SOURCES specifies IDL files. The build system runs the xpidl tool
12 # on these files to generate C++ headers and .xpt typelib files.
13 XPIDL_SOURCES += ['nsISample.idl']
14
15 # XPIDL_MODULE specifies where header files from this Makefile are installed,
16 # i.e. dist/include/xpcomsample
17 XPIDL_MODULE = 'xpcomsample'
18
19 # CPP_SOURCES specifies C++ files to be built into a library.
20 UNIFIED_SOURCES += [
21 'nsSample.cpp',
22 'nsSampleModule.cpp',
23 ]
24
25 # EXTRA_COMPONENTS installs components written JavaScript to
26 # dist/bin/components
27 EXTRA_COMPONENTS += [
28 'nsSample.js',
29 'nsSample.manifest',
30 ]
31
32 # LIBRARY_NAME names the library generated by this makefile,
33 # i.e. dist/bin/components/libxpcomsample.so
34 LIBRARY_NAME = 'xpcomsample'
35
36 # IS_COMPONENT indicates that this makefile builds a component shared library.
37 IS_COMPONENT = True
38
39 RESOURCE_FILES.samples += [
40 'xpconnect-sample.html',
41 ]

mercurial