2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:20 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
# Public stuff.
|
2013-11-05 06:16:24 -08:00
|
|
|
EXPORTS.mozilla.dom += [
|
2014-08-19 06:56:00 -07:00
|
|
|
'ServiceWorkerCommon.h',
|
2013-11-19 15:14:07 -08:00
|
|
|
'ServiceWorkerContainer.h',
|
2014-11-06 07:57:57 -08:00
|
|
|
'ServiceWorkerEvents.h',
|
2015-02-11 03:53:00 -08:00
|
|
|
'ServiceWorkerRegistrar.h',
|
2014-08-19 06:56:00 -07:00
|
|
|
'ServiceWorkerRegistration.h',
|
2013-11-05 06:16:24 -08:00
|
|
|
'WorkerPrivate.h',
|
2013-10-23 06:16:49 -07:00
|
|
|
'WorkerRunnable.h',
|
2013-11-05 06:16:26 -08:00
|
|
|
'WorkerScope.h',
|
2013-11-05 06:16:24 -08:00
|
|
|
]
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla.dom.workers += [
|
2013-11-19 15:15:02 -08:00
|
|
|
'ServiceWorkerManager.h',
|
2014-10-27 10:00:05 -07:00
|
|
|
'WorkerDebuggerManager.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'Workers.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Stuff needed for the bindings, not really public though.
|
|
|
|
EXPORTS.mozilla.dom.workers.bindings += [
|
2014-02-24 05:57:15 -08:00
|
|
|
'DataStore.h',
|
|
|
|
'DataStoreCursor.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'FileReaderSync.h',
|
2013-07-24 00:41:55 -07:00
|
|
|
'Location.h',
|
2013-06-05 07:04:23 -07:00
|
|
|
'MessagePort.h',
|
2013-07-24 00:38:23 -07:00
|
|
|
'Navigator.h',
|
2014-08-29 16:50:06 -07:00
|
|
|
'Performance.h',
|
2013-11-19 15:14:07 -08:00
|
|
|
'ServiceWorker.h',
|
2014-10-27 04:03:00 -07:00
|
|
|
'ServiceWorkerClient.h',
|
|
|
|
'ServiceWorkerClients.h',
|
2013-06-05 07:04:23 -07:00
|
|
|
'SharedWorker.h',
|
2013-04-16 12:24:43 -07:00
|
|
|
'URL.h',
|
|
|
|
'WorkerFeature.h',
|
|
|
|
'XMLHttpRequest.h',
|
|
|
|
'XMLHttpRequestUpload.h',
|
|
|
|
]
|
|
|
|
|
2014-10-27 10:00:05 -07:00
|
|
|
XPIDL_MODULE = 'dom_workers'
|
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIWorkerDebugger.idl',
|
|
|
|
'nsIWorkerDebuggerManager.idl',
|
|
|
|
]
|
|
|
|
|
2014-09-25 07:12:06 -07:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'ChromeWorkerScope.cpp',
|
2014-02-24 05:57:15 -08:00
|
|
|
'DataStore.cpp',
|
|
|
|
'DataStoreCursor.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'FileReaderSync.cpp',
|
|
|
|
'Location.cpp',
|
2013-06-05 07:04:23 -07:00
|
|
|
'MessagePort.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'Navigator.cpp',
|
2014-08-29 16:50:06 -07:00
|
|
|
'Performance.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'Principal.cpp',
|
2013-11-05 06:16:26 -08:00
|
|
|
'RegisterBindings.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'RuntimeService.cpp',
|
|
|
|
'ScriptLoader.cpp',
|
2013-11-19 15:14:07 -08:00
|
|
|
'ServiceWorker.cpp',
|
2014-10-27 04:03:00 -07:00
|
|
|
'ServiceWorkerClient.cpp',
|
|
|
|
'ServiceWorkerClients.cpp',
|
2013-11-19 15:14:07 -08:00
|
|
|
'ServiceWorkerContainer.cpp',
|
2014-05-13 14:49:36 -07:00
|
|
|
'ServiceWorkerEvents.cpp',
|
2013-11-19 15:15:02 -08:00
|
|
|
'ServiceWorkerManager.cpp',
|
2015-02-11 03:53:00 -08:00
|
|
|
'ServiceWorkerRegistrar.cpp',
|
2014-08-19 06:56:00 -07:00
|
|
|
'ServiceWorkerRegistration.cpp',
|
2013-06-05 07:04:23 -07:00
|
|
|
'SharedWorker.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'URL.cpp',
|
2014-10-27 10:00:05 -07:00
|
|
|
'WorkerDebuggerManager.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WorkerPrivate.cpp',
|
2013-10-23 06:16:49 -07:00
|
|
|
'WorkerRunnable.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'WorkerScope.cpp',
|
2014-11-14 18:47:30 -08:00
|
|
|
'WorkerThread.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'XMLHttpRequest.cpp',
|
|
|
|
'XMLHttpRequestUpload.cpp',
|
|
|
|
]
|
|
|
|
|
2015-02-11 03:53:00 -08:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ServiceWorkerRegistrarTypes.ipdlh',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-09-13 09:25:21 -07:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../system',
|
2014-10-25 10:25:22 -07:00
|
|
|
'/dom/base',
|
2013-09-13 09:25:21 -07:00
|
|
|
'/xpcom/build',
|
2013-10-23 06:16:49 -07:00
|
|
|
'/xpcom/threads',
|
2013-11-05 06:16:26 -08:00
|
|
|
]
|
2013-11-18 18:47:14 -08:00
|
|
|
|
2013-12-03 11:31:30 -08:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-25 23:17:24 -07:00
|
|
|
|
|
|
|
TEST_DIRS += [
|
|
|
|
'test/extensions/bootstrap',
|
|
|
|
'test/extensions/traditional',
|
|
|
|
]
|
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += [
|
2014-07-24 17:53:03 -07:00
|
|
|
'test/fetch/mochitest.ini',
|
2014-07-25 23:17:24 -07:00
|
|
|
'test/mochitest.ini',
|
|
|
|
'test/serviceworkers/mochitest.ini',
|
|
|
|
]
|
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
|
2015-02-11 03:53:00 -08:00
|
|
|
|
|
|
|
TEST_DIRS += ['test/gtest']
|