xpcom/sample/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/sample/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +# If you're copying from this file, you'll likely need to replace
    1.11 +# TEST_TOOL_DIRS with DIRS.
    1.12 +TEST_TOOL_DIRS += ['program']
    1.13 +
    1.14 +# XPIDL_SOURCES specifies IDL files. The build system runs the xpidl tool
    1.15 +# on these files to generate C++ headers and .xpt typelib files.
    1.16 +XPIDL_SOURCES += ['nsISample.idl']
    1.17 +
    1.18 +# XPIDL_MODULE specifies where header files from this Makefile are installed,
    1.19 +# i.e. dist/include/xpcomsample
    1.20 +XPIDL_MODULE = 'xpcomsample'
    1.21 +
    1.22 +# CPP_SOURCES specifies C++ files to be built into a library.
    1.23 +UNIFIED_SOURCES += [
    1.24 +    'nsSample.cpp',
    1.25 +    'nsSampleModule.cpp',
    1.26 +]
    1.27 +
    1.28 +# EXTRA_COMPONENTS installs components written JavaScript to
    1.29 +# dist/bin/components
    1.30 +EXTRA_COMPONENTS += [
    1.31 +    'nsSample.js',
    1.32 +    'nsSample.manifest',
    1.33 +]
    1.34 +
    1.35 +# LIBRARY_NAME names the library generated by this makefile,
    1.36 +# i.e. dist/bin/components/libxpcomsample.so
    1.37 +LIBRARY_NAME = 'xpcomsample'
    1.38 +
    1.39 +# IS_COMPONENT indicates that this makefile builds a component shared library.
    1.40 +IS_COMPONENT = True
    1.41 +
    1.42 +RESOURCE_FILES.samples += [
    1.43 +    'xpconnect-sample.html',
    1.44 +]

mercurial