netwerk/build/moz.build

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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',
     9 ]
    11 SOURCES += [
    12     'nsNetModule.cpp',
    13 ]
    15 FAIL_ON_WARNINGS = True
    17 MSVC_ENABLE_PGO = True
    19 LIBRARY_NAME = 'necko'
    21 include('/ipc/chromium/chromium-config.mozbuild')
    23 FINAL_LIBRARY = 'xul'
    25 LOCAL_INCLUDES += [
    26     '../base/src',
    27     '../cache',
    28     '../dns',
    29     '../mime',
    30     '../protocol/about',
    31     '../protocol/app',
    32     '../socket',
    33     '../streamconv/converters',
    34     '../streamconv/src',
    35 ]
    37 protocols = CONFIG['NECKO_PROTOCOLS'].copy()
    38 protocols.remove("about")
    39 LOCAL_INCLUDES += sorted([
    40     '../protocol/%s' % d for d in protocols
    41 ])
    43 if CONFIG['OS_ARCH'] == 'WINNT':
    44     LOCAL_INCLUDES += [
    45         '../system/win32',
    46     ]
    48 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    49     LOCAL_INCLUDES += [
    50         '../system/mac',
    51     ]
    53 if CONFIG['MOZ_ENABLE_QTNETWORK']:
    54     LOCAL_INCLUDES += [
    55         '../system/qt',
    56     ]
    58 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    59     LOCAL_INCLUDES += [
    60         '../system/android',
    61     ]
    63 if CONFIG['NECKO_COOKIES']:
    64     LOCAL_INCLUDES += [
    65         '../cookie',
    66     ]
    68 if CONFIG['NECKO_WIFI']:
    69     LOCAL_INCLUDES += [
    70         '../wifi',
    71     ]
    73 if CONFIG['MOZ_RTSP']:
    74     LOCAL_INCLUDES += [
    75         '../protocol/rtsp',
    76     ]
    78 GENERATED_INCLUDES += [
    79     '../dns',
    80 ]

mercurial