xpcom/sample/program/moz.build
author Alexandre Poirot <poirot.alex@gmail.com>
Thu, 10 Apr 2014 10:35:26 -0400
changeset 196368 e1c19ed25b12e8d8a03c26f7d562561d66c9a521
parent 172551 f4b143a9c6241644470aab2a35e8e8045d0b59ff
child 217269 562e8494fb471eec5fd9df66a0f7fca6bea1811d
permissions -rw-r--r--
Bug 990065 - Ship simulator screen xpcom in b2g desktop package and prevent it from breaking bfcache. r=vingtetun

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