2012-03-30 21:42:20 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
2012-08-07 00:06:29 -07:00
|
|
|
# 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/.
|
2008-08-16 18:25:01 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2008-08-16 18:25:01 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
2011-07-17 12:09:13 -07:00
|
|
|
LIBRARY_NAME = domworkers_s
|
2008-08-16 18:25:01 -07:00
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
2013-01-02 07:56:38 -08:00
|
|
|
ifndef _MSC_VER
|
|
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
endif # !_MSC_VER
|
2008-08-16 18:25:01 -07:00
|
|
|
|
|
|
|
CPPSRCS = \
|
2011-07-17 12:09:13 -07:00
|
|
|
ChromeWorkerScope.cpp \
|
2012-03-30 21:42:20 -07:00
|
|
|
DOMBindingBase.cpp \
|
2011-07-17 12:09:13 -07:00
|
|
|
Events.cpp \
|
2012-03-30 21:42:20 -07:00
|
|
|
EventListenerManager.cpp \
|
2011-07-17 12:09:13 -07:00
|
|
|
EventTarget.cpp \
|
|
|
|
Exceptions.cpp \
|
2011-08-15 20:40:38 -07:00
|
|
|
File.cpp \
|
|
|
|
FileReaderSync.cpp \
|
2012-04-24 03:58:08 -07:00
|
|
|
ImageData.cpp \
|
2011-07-17 12:09:13 -07:00
|
|
|
Location.cpp \
|
|
|
|
Navigator.cpp \
|
|
|
|
Principal.cpp \
|
|
|
|
RuntimeService.cpp \
|
|
|
|
ScriptLoader.cpp \
|
2013-02-05 15:17:17 -08:00
|
|
|
URL.cpp \
|
2012-12-21 16:16:14 -08:00
|
|
|
TextDecoder.cpp \
|
|
|
|
TextEncoder.cpp \
|
2011-07-17 12:09:13 -07:00
|
|
|
Worker.cpp \
|
|
|
|
WorkerPrivate.cpp \
|
|
|
|
WorkerScope.cpp \
|
2012-03-30 21:42:20 -07:00
|
|
|
XMLHttpRequestEventTarget.cpp \
|
|
|
|
XMLHttpRequestUpload.cpp \
|
2011-07-17 12:09:13 -07:00
|
|
|
XMLHttpRequest.cpp \
|
2012-03-30 21:42:20 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACES = \
|
|
|
|
mozilla/dom/workers \
|
|
|
|
mozilla/dom/workers/bindings \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Public stuff.
|
|
|
|
EXPORTS_mozilla/dom/workers = Workers.h
|
|
|
|
|
|
|
|
# Stuff needed for the bindings, not really public though.
|
|
|
|
EXPORTS_mozilla/dom/workers/bindings = \
|
|
|
|
DOMBindingBase.h \
|
|
|
|
EventListenerManager.h \
|
|
|
|
EventTarget.h \
|
2012-09-20 19:47:47 -07:00
|
|
|
FileReaderSync.h \
|
2013-02-05 15:17:17 -08:00
|
|
|
URL.h \
|
2012-12-21 16:16:14 -08:00
|
|
|
TextDecoder.h \
|
|
|
|
TextEncoder.h \
|
2012-03-30 21:42:20 -07:00
|
|
|
WorkerFeature.h \
|
|
|
|
XMLHttpRequestEventTarget.h \
|
|
|
|
XMLHttpRequestUpload.h \
|
|
|
|
XMLHttpRequest.h \
|
2008-08-16 18:25:01 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2008-09-30 16:56:57 -07:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
-I$(topsrcdir)/content/events/src \
|
2010-11-15 17:39:28 -08:00
|
|
|
-I$(topsrcdir)/dom/base \
|
2012-05-09 03:00:48 -07:00
|
|
|
-I$(topsrcdir)/dom/system \
|
2011-07-17 12:09:13 -07:00
|
|
|
-I$(topsrcdir)/xpcom/build \
|
2008-08-16 18:25:01 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += test
|
2008-08-16 18:25:01 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|