1998-10-28 03:53:57 +00:00
|
|
|
#
|
2012-05-21 11:12:37 +00:00
|
|
|
# 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/.
|
1998-10-28 03:53:57 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
DEPTH = ../..
|
1998-10-28 03:53:57 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-07-23 00:22:57 +00:00
|
|
|
MODULE = dom
|
1999-09-11 00:59:11 +00:00
|
|
|
LIBRARY_NAME = jsdombase_s
|
2004-12-15 04:07:01 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2009-03-11 14:10:19 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
2004-12-15 04:07:01 +00:00
|
|
|
|
2012-02-24 13:19:49 +00:00
|
|
|
DIRS = \
|
|
|
|
test \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-11-09 20:19:19 +00:00
|
|
|
EXTRA_PP_COMPONENTS = \
|
2012-04-26 22:10:04 +00:00
|
|
|
ConsoleAPI.js \
|
|
|
|
ConsoleAPI.manifest \
|
|
|
|
$(NULL)
|
2010-11-09 20:19:19 +00:00
|
|
|
|
2012-01-14 05:09:24 +00:00
|
|
|
EXTRA_JS_MODULES = ConsoleAPIStorage.jsm \
|
2012-04-26 22:10:04 +00:00
|
|
|
$(NULL)
|
2012-01-14 05:09:24 +00:00
|
|
|
|
2012-04-26 22:10:04 +00:00
|
|
|
EXTRA_JS_MODULES += \
|
|
|
|
DOMRequestHelper.jsm \
|
|
|
|
IndexedDBHelper.jsm \
|
|
|
|
$(NULL)
|
2012-03-07 21:45:24 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
XPIDLSRCS = \
|
2012-01-24 10:13:41 +00:00
|
|
|
nsIDOMDOMError.idl \
|
2012-02-24 13:19:49 +00:00
|
|
|
nsIDOMDOMRequest.idl \
|
2009-03-11 14:10:19 +00:00
|
|
|
nsIEntropyCollector.idl \
|
|
|
|
nsIScriptChannel.idl \
|
|
|
|
$(NULL)
|
2003-01-15 20:40:06 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
EXPORTS = \
|
|
|
|
nsDOMCID.h \
|
2010-01-12 13:08:43 +00:00
|
|
|
nsDOMClassInfoClasses.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
nsDOMClassInfoID.h \
|
|
|
|
nsDOMError.h \
|
|
|
|
nsDOMJSUtils.h \
|
|
|
|
nsDOMScriptObjectHolder.h \
|
|
|
|
nsDOMString.h \
|
|
|
|
nsIBaseDOMException.h \
|
|
|
|
nsIDOMClassInfo.h \
|
|
|
|
nsIDOMScriptObjectFactory.h \
|
|
|
|
nsIJSEventListener.h \
|
|
|
|
nsIJSNativeInitializer.h \
|
|
|
|
nsIScriptContext.h \
|
|
|
|
nsIScriptExternalNameSet.h \
|
|
|
|
nsIScriptGlobalObject.h \
|
|
|
|
nsIScriptGlobalObjectOwner.h \
|
|
|
|
nsIScriptNameSpaceManager.h \
|
|
|
|
nsIScriptObjectOwner.h \
|
|
|
|
nsIScriptObjectPrincipal.h \
|
|
|
|
nsIScriptRuntime.h \
|
|
|
|
nsIScriptTimeoutHandler.h \
|
|
|
|
nsPIDOMWindow.h \
|
|
|
|
nsPIWindowRoot.h \
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
nsFocusManager.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
nsWrapperCache.h \
|
2011-04-03 02:14:00 +00:00
|
|
|
nsContentPermissionHelper.h \
|
2011-04-25 02:30:54 +00:00
|
|
|
nsStructuredCloneContainer.h \
|
2012-02-24 02:43:33 +00:00
|
|
|
nsWindowMemoryReporter.h \
|
2009-03-11 14:10:19 +00:00
|
|
|
$(NULL)
|
2006-06-22 21:30:49 +00:00
|
|
|
|
2011-08-12 16:58:43 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom
|
|
|
|
EXPORTS_mozilla/dom = \
|
2012-01-24 10:13:41 +00:00
|
|
|
DOMError.h \
|
2012-02-24 13:19:49 +00:00
|
|
|
DOMRequest.h \
|
2011-08-12 16:58:43 +00:00
|
|
|
StructuredCloneTags.h \
|
2012-03-13 16:42:46 +00:00
|
|
|
ScreenOrientation.h \
|
2011-08-12 16:58:43 +00:00
|
|
|
$(NULL)
|
|
|
|
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
CPPSRCS = \
|
|
|
|
nsBarProps.cpp \
|
|
|
|
nsDOMException.cpp \
|
2004-06-20 16:42:13 +00:00
|
|
|
nsDOMWindowUtils.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsJSEnvironment.cpp \
|
2006-06-13 03:07:47 +00:00
|
|
|
nsJSTimeoutHandler.cpp \
|
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 18:00:39 +00:00
|
|
|
nsFocusManager.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsGlobalWindow.cpp \
|
2003-04-12 03:08:23 +00:00
|
|
|
nsGlobalWindowCommands.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
nsLocation.cpp \
|
|
|
|
nsDOMWindowList.cpp \
|
|
|
|
nsJSUtils.cpp \
|
|
|
|
nsScreen.cpp \
|
|
|
|
nsHistory.cpp \
|
|
|
|
nsMimeTypeArray.cpp \
|
|
|
|
nsPluginArray.cpp \
|
|
|
|
nsWindowRoot.cpp \
|
|
|
|
nsDOMClassInfo.cpp \
|
2004-02-24 03:22:35 +00:00
|
|
|
nsScriptNameSpaceManager.cpp \
|
|
|
|
nsDOMScriptObjectFactory.cpp \
|
2010-03-19 05:02:53 +00:00
|
|
|
nsQueryContentEventResult.cpp \
|
2011-04-03 02:14:00 +00:00
|
|
|
nsContentPermissionHelper.cpp \
|
2011-04-25 02:30:54 +00:00
|
|
|
nsStructuredCloneContainer.cpp \
|
2011-06-23 10:39:48 +00:00
|
|
|
nsDOMNavigationTiming.cpp \
|
|
|
|
nsPerformance.cpp \
|
2012-02-24 02:43:33 +00:00
|
|
|
nsWindowMemoryReporter.cpp \
|
2012-01-24 10:13:41 +00:00
|
|
|
DOMError.cpp \
|
2012-02-24 13:19:49 +00:00
|
|
|
DOMRequest.cpp \
|
2011-11-02 13:44:16 +00:00
|
|
|
Navigator.cpp \
|
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
|
|
|
$(NULL)
|
1998-12-03 00:33:00 +00:00
|
|
|
|
2009-03-11 14:10:19 +00:00
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
2004-07-26 21:49:49 +00:00
|
|
|
|
2006-06-22 21:30:49 +00:00
|
|
|
ifdef MOZ_JSDEBUGGER
|
|
|
|
DEFINES += -DMOZ_JSDEBUGGER
|
|
|
|
endif
|
|
|
|
|
2012-01-09 22:28:47 +00:00
|
|
|
ifdef MOZ_B2G_RIL
|
|
|
|
DEFINES += -DMOZ_B2G_RIL
|
|
|
|
endif
|
|
|
|
|
2010-05-13 17:44:51 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2004-02-24 03:22:35 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2008-06-04 00:00:37 +00:00
|
|
|
|
2010-10-10 22:38:10 +00:00
|
|
|
LOCAL_INCLUDES += \
|
2011-10-14 17:52:47 +00:00
|
|
|
-I$(topsrcdir)/js/xpconnect/src \
|
|
|
|
-I$(topsrcdir)/js/xpconnect/wrappers \
|
2011-06-23 10:39:48 +00:00
|
|
|
-I$(topsrcdir)/xpcom/ds \
|
2010-10-10 22:38:10 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2008-06-04 00:00:37 +00:00
|
|
|
ifdef MOZ_X11
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
|
|
LDFLAGS += $(TK_LIBS)
|
|
|
|
endif
|