|
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 'nsIWebSocketChannel.idl', |
|
9 'nsIWebSocketListener.idl', |
|
10 ] |
|
11 |
|
12 XPIDL_MODULE = 'necko_websocket' |
|
13 |
|
14 EXPORTS.mozilla.net += [ |
|
15 'BaseWebSocketChannel.h', |
|
16 'WebSocketChannel.h', |
|
17 'WebSocketChannelChild.h', |
|
18 'WebSocketChannelParent.h', |
|
19 ] |
|
20 |
|
21 # These files cannot be built in unified mode because they want to force NSPR |
|
22 # logging. |
|
23 SOURCES += [ |
|
24 'BaseWebSocketChannel.cpp', |
|
25 'WebSocketChannel.cpp', |
|
26 'WebSocketChannelChild.cpp', |
|
27 'WebSocketChannelParent.cpp', |
|
28 ] |
|
29 |
|
30 IPDL_SOURCES += [ |
|
31 'PWebSocket.ipdl', |
|
32 ] |
|
33 |
|
34 FAIL_ON_WARNINGS = True |
|
35 |
|
36 MSVC_ENABLE_PGO = True |
|
37 |
|
38 include('/ipc/chromium/chromium-config.mozbuild') |
|
39 |
|
40 FINAL_LIBRARY = 'necko' |
|
41 |
|
42 LOCAL_INCLUDES += [ |
|
43 '../../base/src', |
|
44 '/content/base/src', |
|
45 ] |