xpcom/sample/program/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 27 Nov 2013 22:55:07 +0900
changeset 172551 f4b143a9c6241644470aab2a35e8e8045d0b59ff
parent 172527 e668d88804d15156ee133f019609a3709b007b1e
child 217269 562e8494fb471eec5fd9df66a0f7fca6bea1811d
permissions -rw-r--r--
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal

# -*- 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/.

# We must specify CPP_SOURCES in order to link using the proper c++ linker
# on certain platforms.
SOURCES += [
    'nsTestSample.cpp',
]

# SIMPLE_PROGRAMS compiles a single .cpp file into an executable
SIMPLE_PROGRAMS += [
    'nsTestSample'
]

# Whatever code is going to be linked with the *standalone* glue must be
# built with the XPCOM_GLUE define set.
DEFINES['XPCOM_GLUE'] = True