Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / netwerk / protocol / websocket / moz.build
blobf1c0c99797c2e81a39963f435215b5638d1adace
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/.
7 XPIDL_SOURCES += [
8     'nsIWebSocketChannel.idl',
9     'nsIWebSocketListener.idl',
12 XPIDL_MODULE = 'necko_websocket'
14 EXPORTS.mozilla.net += [
15     'BaseWebSocketChannel.h',
16     'WebSocketChannel.h',
17     'WebSocketChannelChild.h',
18     'WebSocketChannelParent.h',
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',
30 IPDL_SOURCES += [
31     'PWebSocket.ipdl',
34 FAIL_ON_WARNINGS = True
36 MSVC_ENABLE_PGO = True
38 include('/ipc/chromium/chromium-config.mozbuild')
40 FINAL_LIBRARY = 'xul'
42 LOCAL_INCLUDES += [
43     '../../base/src',
44     '/dom/base',