dom/bindings/test/moz.build

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:7fae7a973b8d
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 DEFINES.update({
8 'IMPL_LIBXUL': True,
9 'MOZILLA_INTERNAL_API': True,
10 })
11
12 # Do NOT export this library. We don't actually want our test code
13 # being added to libxul or anything.
14
15 LIBRARY_NAME = 'dombindings_test_s'
16
17 EXTRA_COMPONENTS += [
18 'TestInterfaceJS.js',
19 'TestInterfaceJS.manifest',
20 ]
21
22 MOCHITEST_MANIFESTS += ['mochitest.ini']
23
24 MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
25
26 TEST_WEBIDL_FILES += [
27 'TestDictionary.webidl',
28 'TestJSImplInheritanceGen.webidl',
29 'TestTypedef.webidl',
30 ]
31
32 PREPROCESSED_TEST_WEBIDL_FILES += [
33 'TestCodeGen.webidl',
34 'TestExampleGen.webidl',
35 'TestJSImplGen.webidl',
36 ]
37
38 WEBIDL_EXAMPLE_INTERFACES += [
39 'TestExampleInterface',
40 'TestExampleProxyInterface',
41 ]
42
43 GENERATED_INCLUDES += ['..']
44 LOCAL_INCLUDES += [
45 '/dom/bindings',
46 '/js/xpconnect/src',
47 '/js/xpconnect/wrappers',
48 ]

mercurial