michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'nsNetCID.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'nsNetModule.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: LIBRARY_NAME = 'necko' michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../base/src', michael@0: '../cache', michael@0: '../dns', michael@0: '../mime', michael@0: '../protocol/about', michael@0: '../protocol/app', michael@0: '../socket', michael@0: '../streamconv/converters', michael@0: '../streamconv/src', michael@0: ] michael@0: michael@0: protocols = CONFIG['NECKO_PROTOCOLS'].copy() michael@0: protocols.remove("about") michael@0: LOCAL_INCLUDES += sorted([ michael@0: '../protocol/%s' % d for d in protocols michael@0: ]) michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: LOCAL_INCLUDES += [ michael@0: '../system/win32', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: LOCAL_INCLUDES += [ michael@0: '../system/mac', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_ENABLE_QTNETWORK']: michael@0: LOCAL_INCLUDES += [ michael@0: '../system/qt', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': michael@0: LOCAL_INCLUDES += [ michael@0: '../system/android', michael@0: ] michael@0: michael@0: if CONFIG['NECKO_COOKIES']: michael@0: LOCAL_INCLUDES += [ michael@0: '../cookie', michael@0: ] michael@0: michael@0: if CONFIG['NECKO_WIFI']: michael@0: LOCAL_INCLUDES += [ michael@0: '../wifi', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_RTSP']: michael@0: LOCAL_INCLUDES += [ michael@0: '../protocol/rtsp', michael@0: ] michael@0: michael@0: GENERATED_INCLUDES += [ michael@0: '../dns', michael@0: ]