Merge m-c to b2g-inbound.
[gecko.git] / dom / workers / moz.build
blob03c660da75b733546b85e11bcc27b71c00b122e2
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     'WorkerScope.h',
15 EXPORTS.mozilla.dom.workers += [
16     'Workers.h',
19 # Stuff needed for the bindings, not really public though.
20 EXPORTS.mozilla.dom.workers.bindings += [
21     'FileReaderSync.h',
22     'Location.h',
23     'MessagePort.h',
24     'Navigator.h',
25     'SharedWorker.h',
26     'URL.h',
27     'WorkerFeature.h',
28     'XMLHttpRequest.h',
29     'XMLHttpRequestUpload.h',
32 SOURCES += [
33     'ChromeWorkerScope.cpp',
34     'File.cpp',
35     'FileReaderSync.cpp',
36     'Location.cpp',
37     'MessagePort.cpp',
38     'Navigator.cpp',
39     'Principal.cpp',
40     'RegisterBindings.cpp',
41     'RuntimeService.cpp',
42     'ScriptLoader.cpp',
43     'SharedWorker.cpp',
44     'URL.cpp',
45     'WorkerPrivate.cpp',
46     'WorkerScope.cpp',
47     'XMLHttpRequest.cpp',
48     'XMLHttpRequestUpload.cpp',
51 FAIL_ON_WARNINGS = True
53 MSVC_ENABLE_PGO = True
55 LOCAL_INCLUDES += [
56     '../base',
57     '../system',
58     '/content/base/src',
59     '/content/events/src',
60     '/xpcom/build',
63 FINAL_LIBRARY = 'gklayout'