|
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 # We must specify CPP_SOURCES in order to link using the proper c++ linker |
|
8 # on certain platforms. |
|
9 SOURCES += [ |
|
10 'nsTestSample.cpp', |
|
11 ] |
|
12 |
|
13 # SIMPLE_PROGRAMS compiles a single .cpp file into an executable |
|
14 SIMPLE_PROGRAMS += [ |
|
15 'nsTestSample' |
|
16 ] |
|
17 |
|
18 # Whatever code is going to be linked with the *standalone* glue must be |
|
19 # built with the XPCOM_GLUE define set. |
|
20 DEFINES['XPCOM_GLUE'] = True |