Bumping manifests a=b2g-bump
[gecko.git] / netwerk / build / moz.build
blob54d758510121d1cfd4113fee1eb0574683476f0f
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 EXPORTS += [
8     'nsNetCID.h',
11 SOURCES += [
12     'nsNetModule.cpp',
15 FAIL_ON_WARNINGS = True
17 MSVC_ENABLE_PGO = True
19 include('/ipc/chromium/chromium-config.mozbuild')
21 FINAL_LIBRARY = 'xul'
23 LOCAL_INCLUDES += [
24     '../base/src',
25     '../cache',
26     '../dns',
27     '../mime',
28     '../protocol/about',
29     '../protocol/app',
30     '../socket',
31     '../streamconv/converters',
32     '../streamconv/src',
35 protocols = CONFIG['NECKO_PROTOCOLS'].copy()
36 protocols.remove("about")
37 LOCAL_INCLUDES += sorted([
38     '../protocol/%s' % d for d in protocols
41 if CONFIG['OS_ARCH'] == 'WINNT':
42     LOCAL_INCLUDES += [
43         '../system/win32',
44     ]
46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
47     LOCAL_INCLUDES += [
48         '../system/mac',
49     ]
51 if CONFIG['MOZ_ENABLE_QTNETWORK']:
52     LOCAL_INCLUDES += [
53         '../system/qt',
54     ]
56 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
57     LOCAL_INCLUDES += [
58         '../system/android',
59     ]
61 if CONFIG['NECKO_COOKIES']:
62     LOCAL_INCLUDES += [
63         '../cookie',
64     ]
66 if CONFIG['NECKO_WIFI']:
67     LOCAL_INCLUDES += [
68         '../wifi',
69     ]
71 if CONFIG['MOZ_RTSP']:
72     LOCAL_INCLUDES += [
73         '../protocol/rtsp',
74     ]
76 GENERATED_INCLUDES += [
77     '../dns',