dom/workers/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 TEST_DIRS += ['test']
     9 # Public stuff.
    10 EXPORTS.mozilla.dom += [
    11     'WorkerPrivate.h',
    12     'WorkerRunnable.h',
    13     'WorkerScope.h',
    14 ]
    16 EXPORTS.mozilla.dom.workers += [
    17     'Workers.h',
    18 ]
    20 # Stuff needed for the bindings, not really public though.
    21 EXPORTS.mozilla.dom.workers.bindings += [
    22     'FileReaderSync.h',
    23     'Location.h',
    24     'MessagePort.h',
    25     'Navigator.h',
    26     'SharedWorker.h',
    27     'URL.h',
    28     'WorkerFeature.h',
    29     'XMLHttpRequest.h',
    30     'XMLHttpRequestUpload.h',
    31 ]
    33 SOURCES += [
    34     'ChromeWorkerScope.cpp',
    35     'File.cpp',
    36     'FileReaderSync.cpp',
    37     'Location.cpp',
    38     'MessagePort.cpp',
    39     'Navigator.cpp',
    40     'Principal.cpp',
    41     'RegisterBindings.cpp',
    42     'RuntimeService.cpp',
    43     'ScriptLoader.cpp',
    44     'SharedWorker.cpp',
    45     'URL.cpp',
    46     'WorkerPrivate.cpp',
    47     'WorkerRunnable.cpp',
    48     'WorkerScope.cpp',
    49     'XMLHttpRequest.cpp',
    50     'XMLHttpRequestUpload.cpp',
    51 ]
    53 FAIL_ON_WARNINGS = True
    55 MSVC_ENABLE_PGO = True
    57 LOCAL_INCLUDES += [
    58     '../base',
    59     '../system',
    60     '/content/base/src',
    61     '/xpcom/build',
    62     '/xpcom/threads',
    63 ]
    65 include('/ipc/chromium/chromium-config.mozbuild')
    67 FINAL_LIBRARY = 'gklayout'

mercurial