xpcom/sample/moz.build
author Ehsan Akhgari <ehsan@mozilla.com>
Sun, 20 Oct 2013 09:42:51 -0400
changeset 166239 0bf3c7b93cabf9287f0b27ec7850f4ab28f1e145
parent 162758 f7276b5995366b949e6fdb758b9960b0450d553d
child 166802 5dd08c88e328c4b821f5880340d15eaff8b3f92b
permissions -rw-r--r--
Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# If you're copying from this file, you'll likely need to replace
# TEST_TOOL_DIRS with DIRS.
TEST_TOOL_DIRS += ['program']

# XPIDL_SOURCES specifies IDL files. The build system runs the xpidl tool
# on these files to generate C++ headers and .xpt typelib files.
XPIDL_SOURCES += ['nsISample.idl']

# MODULE specifies where header files from this Makefile are installed,
# i.e. dist/include/xpcomsample
MODULE = 'xpcomsample'

# CPP_SOURCES specifies C++ files to be built into a library.
CPP_SOURCES += [
    'nsSample.cpp',
    'nsSampleModule.cpp',
]

# EXTRA_COMPONENTS installs components written JavaScript to
# dist/bin/components
EXTRA_COMPONENTS += [
    'nsSample.js',
    'nsSample.manifest',
]

# LIBRARY_NAME names the library generated by this makefile,
# i.e. dist/bin/components/libxpcomsample.so
LIBRARY_NAME = 'xpcomsample'

# IS_COMPONENT indicates that this makefile builds a component shared library.
IS_COMPONENT = True