2012-02-01 22:09:00 -08: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,
|
2012-02-10 02:04:44 -08:00
|
|
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-12-04 23:58:27 -08:00
|
|
|
|
2011-12-05 22:10:51 -08:00
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2011-12-04 23:58:27 -08:00
|
|
|
|
2012-03-14 15:42:31 -07:00
|
|
|
relativesrcdir = dom/system/gonk
|
2012-02-20 10:30:05 -08:00
|
|
|
|
2011-12-04 23:58:27 -08:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2011-12-05 22:10:51 -08:00
|
|
|
MODULE = dom
|
2012-03-14 15:42:31 -07:00
|
|
|
LIBRARY_NAME = domsystemgonk_s
|
|
|
|
XPIDL_MODULE = dom_system_gonk
|
2011-12-05 22:10:51 -08:00
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
2011-12-04 23:58:27 -08:00
|
|
|
|
2011-12-05 22:10:51 -08:00
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2012-01-09 15:18:23 -08:00
|
|
|
SystemWorkerManager.cpp \
|
2011-12-04 23:58:27 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2011-12-12 10:22:26 -08:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIAudioManager.idl \
|
2012-04-19 14:33:25 -07:00
|
|
|
nsINetworkManager.idl \
|
2012-01-19 12:53:32 -08:00
|
|
|
nsIRadioInterfaceLayer.idl \
|
2012-01-09 15:18:23 -08:00
|
|
|
nsIWorkerHolder.idl \
|
2011-12-12 10:22:26 -08:00
|
|
|
$(NULL)
|
2011-12-06 00:47:35 -08:00
|
|
|
|
2011-12-05 22:10:51 -08:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(topsrcdir)/dom/base \
|
2012-01-19 06:53:51 -08:00
|
|
|
-I$(topsrcdir)/dom/src/geolocation \
|
2011-12-06 00:47:35 -08:00
|
|
|
-I$(topsrcdir)/dom/telephony \
|
2011-12-06 06:14:55 -08:00
|
|
|
-I$(topsrcdir)/dom/wifi \
|
2012-05-07 14:50:25 -07:00
|
|
|
-I$(topsrcdir)/dom/bluetooth \
|
2011-12-05 22:10:51 -08:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2011-12-04 23:58:27 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2012-03-25 02:11:05 -07:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
CPPSRCS += \
|
|
|
|
AudioManager.cpp \
|
2012-05-24 21:04:32 -07:00
|
|
|
AutoMounter.cpp \
|
|
|
|
AutoMounterSetting.cpp \
|
2012-03-25 02:11:05 -07:00
|
|
|
GonkGPSGeolocationProvider.cpp \
|
2012-05-24 21:04:32 -07:00
|
|
|
Volume.cpp \
|
|
|
|
VolumeCommand.cpp \
|
|
|
|
VolumeManager.cpp \
|
2012-03-25 02:11:05 -07:00
|
|
|
$(NULL)
|
|
|
|
# for our local copy of AudioSystem.h
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/media/libsydneyaudio/src
|
|
|
|
endif
|
|
|
|
|
2012-01-19 12:53:32 -08:00
|
|
|
EXTRA_COMPONENTS = \
|
2012-02-14 12:12:11 -08:00
|
|
|
NetworkManager.manifest \
|
|
|
|
NetworkManager.js \
|
2012-01-19 12:53:32 -08:00
|
|
|
RadioInterfaceLayer.manifest \
|
|
|
|
RadioInterfaceLayer.js \
|
2012-04-19 14:33:25 -07:00
|
|
|
RILContentHelper.js \
|
2012-01-19 12:53:32 -08:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES = \
|
2012-03-12 16:45:57 -07:00
|
|
|
net_worker.js \
|
2012-01-19 12:53:32 -08:00
|
|
|
ril_consts.js \
|
|
|
|
ril_worker.js \
|
2012-02-02 10:41:07 -08:00
|
|
|
systemlibs.js \
|
2012-01-19 12:53:32 -08:00
|
|
|
$(NULL)
|
|
|
|
|
2012-02-20 10:30:05 -08:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
XPCSHELL_TESTS = tests
|
|
|
|
endif
|
|
|
|
|
2011-12-04 23:58:27 -08:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-04-22 11:14:36 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|