2012-07-20 02:10:44 -07:00
|
|
|
# Copyright 2012 Mozilla Foundation and Mozilla contributors
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2011-12-04 23:58:27 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2011-12-05 22:10:51 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2011-12-04 23:58:27 -08:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
relativesrcdir = @relativesrcdir@
|
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-07-16 09:38:18 -07:00
|
|
|
nsIVolume.idl \
|
|
|
|
nsIVolumeService.idl \
|
|
|
|
nsIVolumeStat.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-07-16 09:38:18 -07:00
|
|
|
nsVolume.cpp \
|
|
|
|
nsVolumeService.cpp \
|
|
|
|
nsVolumeStat.cpp \
|
2012-05-24 21:04:32 -07:00
|
|
|
Volume.cpp \
|
|
|
|
VolumeCommand.cpp \
|
|
|
|
VolumeManager.cpp \
|
2012-07-16 09:38:18 -07:00
|
|
|
VolumeServiceIOThread.cpp \
|
|
|
|
VolumeServiceTest.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
|