dom/serviceworkers/moz.build
author Brian Hackett <bhackett1024@gmail.com>
Fri, 31 Aug 2018 05:35:36 -1000
changeset 434430 d8447a4c32e7d4d991773f478f9dd2996628c51c
parent 425710 6503e9d70bf5ac804d023a88915f7c4429ab7c65
child 448218 21bc8b9a89ac7658f85a4f2e0fd278e012f2e32e
permissions -rw-r--r--
Bug 1486616 - Execute record/replay triggers when finalizing deferred things, r=mccr8.

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM: Service Workers")

# Public stuff.
EXPORTS.mozilla.dom += [
    'ServiceWorker.h',
    'ServiceWorkerActors.h',
    'ServiceWorkerContainer.h',
    'ServiceWorkerDescriptor.h',
    'ServiceWorkerEvents.h',
    'ServiceWorkerInfo.h',
    'ServiceWorkerInterceptController.h',
    'ServiceWorkerIPCUtils.h',
    'ServiceWorkerManager.h',
    'ServiceWorkerManagerChild.h',
    'ServiceWorkerManagerParent.h',
    'ServiceWorkerRegistrar.h',
    'ServiceWorkerRegistration.h',
    'ServiceWorkerRegistrationDescriptor.h',
    'ServiceWorkerRegistrationInfo.h',
    'ServiceWorkerUtils.h',
]

UNIFIED_SOURCES += [
    'RemoteServiceWorkerContainerImpl.cpp',
    'RemoteServiceWorkerImpl.cpp',
    'RemoteServiceWorkerRegistrationImpl.cpp',
    'ServiceWorker.cpp',
    'ServiceWorkerActors.cpp',
    'ServiceWorkerChild.cpp',
    'ServiceWorkerCloneData.cpp',
    'ServiceWorkerContainer.cpp',
    'ServiceWorkerContainerChild.cpp',
    'ServiceWorkerContainerImpl.cpp',
    'ServiceWorkerContainerParent.cpp',
    'ServiceWorkerContainerProxy.cpp',
    'ServiceWorkerDescriptor.cpp',
    'ServiceWorkerEvents.cpp',
    'ServiceWorkerImpl.cpp',
    'ServiceWorkerInfo.cpp',
    'ServiceWorkerInterceptController.cpp',
    'ServiceWorkerJob.cpp',
    'ServiceWorkerJobQueue.cpp',
    'ServiceWorkerManager.cpp',
    'ServiceWorkerManagerChild.cpp',
    'ServiceWorkerManagerParent.cpp',
    'ServiceWorkerManagerService.cpp',
    'ServiceWorkerParent.cpp',
    'ServiceWorkerPrivate.cpp',
    'ServiceWorkerProxy.cpp',
    'ServiceWorkerRegisterJob.cpp',
    'ServiceWorkerRegistrar.cpp',
    'ServiceWorkerRegistration.cpp',
    'ServiceWorkerRegistrationChild.cpp',
    'ServiceWorkerRegistrationDescriptor.cpp',
    'ServiceWorkerRegistrationImpl.cpp',
    'ServiceWorkerRegistrationInfo.cpp',
    'ServiceWorkerRegistrationParent.cpp',
    'ServiceWorkerRegistrationProxy.cpp',
    'ServiceWorkerScriptCache.cpp',
    'ServiceWorkerUnregisterJob.cpp',
    'ServiceWorkerUpdateJob.cpp',
    'ServiceWorkerUpdaterChild.cpp',
    'ServiceWorkerUpdaterParent.cpp',
    'ServiceWorkerUtils.cpp',
]

IPDL_SOURCES += [
    'IPCServiceWorkerDescriptor.ipdlh',
    'IPCServiceWorkerRegistrationDescriptor.ipdlh',
    'PServiceWorker.ipdl',
    'PServiceWorkerContainer.ipdl',
    'PServiceWorkerManager.ipdl',
    'PServiceWorkerRegistration.ipdl',
    'PServiceWorkerUpdater.ipdl',
    'ServiceWorkerRegistrarTypes.ipdlh',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/js/xpconnect/loader',
]

MOCHITEST_MANIFESTS += [
    'test/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += [
    'test/chrome.ini',
]

BROWSER_CHROME_MANIFESTS += [
    'test/browser.ini',
    'test/isolated/multi-e10s-update/browser.ini',
]

TEST_DIRS += ['test/gtest']