|
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 XPIDL_SOURCES += [ |
|
8 'nsIFTPChannel.idl', |
|
9 ] |
|
10 |
|
11 XPIDL_MODULE = 'necko_ftp' |
|
12 |
|
13 EXPORTS += [ |
|
14 'ftpCore.h', |
|
15 ] |
|
16 |
|
17 EXPORTS.mozilla.net += [ |
|
18 'FTPChannelChild.h', |
|
19 'FTPChannelParent.h', |
|
20 ] |
|
21 |
|
22 UNIFIED_SOURCES += [ |
|
23 'FTPChannelChild.cpp', |
|
24 'FTPChannelParent.cpp', |
|
25 'nsFTPChannel.cpp', |
|
26 'nsFtpConnectionThread.cpp', |
|
27 'nsFtpControlConnection.cpp', |
|
28 'nsFtpProtocolHandler.cpp', |
|
29 ] |
|
30 |
|
31 IPDL_SOURCES += [ |
|
32 'PFTPChannel.ipdl', |
|
33 ] |
|
34 |
|
35 FAIL_ON_WARNINGS = True |
|
36 |
|
37 MSVC_ENABLE_PGO = True |
|
38 |
|
39 include('/ipc/chromium/chromium-config.mozbuild') |
|
40 |
|
41 FINAL_LIBRARY = 'necko' |
|
42 |
|
43 LOCAL_INCLUDES += [ |
|
44 '../../base/src', |
|
45 ] |