|
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 UNIFIED_SOURCES += [ |
|
8 'mozTXTToHTMLConv.cpp', |
|
9 'nsDirIndex.cpp', |
|
10 'nsDirIndexParser.cpp', |
|
11 'nsHTTPCompressConv.cpp', |
|
12 'nsIndexedToHTML.cpp', |
|
13 'nsMultiMixedConv.cpp', |
|
14 'nsTXTToHTMLConv.cpp', |
|
15 'nsUnknownDecoder.cpp', |
|
16 ] |
|
17 |
|
18 if 'ftp' in CONFIG['NECKO_PROTOCOLS']: |
|
19 UNIFIED_SOURCES += [ |
|
20 'nsFTPDirListingConv.cpp', |
|
21 'ParseFTPList.cpp', |
|
22 ] |
|
23 |
|
24 if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'cocoa': |
|
25 UNIFIED_SOURCES += [ |
|
26 'nsBinHexDecoder.cpp', |
|
27 ] |
|
28 |
|
29 FAIL_ON_WARNINGS = True |
|
30 |
|
31 MSVC_ENABLE_PGO = True |
|
32 |
|
33 FINAL_LIBRARY = 'necko' |
|
34 |
|
35 LOCAL_INCLUDES += [ |
|
36 '/netwerk/base/src', |
|
37 ] |