|
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 # These files cannot be built in unified mode because they rely on plarena.h |
|
8 # and they want to force NSPR logging. |
|
9 SOURCES += [ |
|
10 'mozJSComponentLoader.cpp', |
|
11 'mozJSLoaderUtils.cpp', |
|
12 'mozJSSubScriptLoader.cpp', |
|
13 ] |
|
14 |
|
15 EXTRA_JS_MODULES += [ |
|
16 'ISO8601DateUtils.jsm', |
|
17 'XPCOMUtils.jsm', |
|
18 ] |
|
19 |
|
20 FAIL_ON_WARNINGS = True |
|
21 |
|
22 MSVC_ENABLE_PGO = True |
|
23 |
|
24 FINAL_LIBRARY = 'xpconnect_s' |
|
25 |
|
26 DEFINES['JS_THREADSAFE'] = True |
|
27 |
|
28 LOCAL_INCLUDES += [ |
|
29 '../src', |
|
30 '../wrappers', |
|
31 '/content/base/src', |
|
32 ] |
|
33 |