mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
66 lines
1.4 KiB
Makefile
66 lines
1.4 KiB
Makefile
# 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/.
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
relativesrcdir = dom/system/gonk
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = domsystemgonk_s
|
|
XPIDL_MODULE = dom_system_gonk
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
CPPSRCS = \
|
|
SystemWorkerManager.cpp \
|
|
$(NULL)
|
|
|
|
XPIDLSRCS = \
|
|
nsIAudioManager.idl \
|
|
nsIRadioInterfaceLayer.idl \
|
|
nsIWorkerHolder.idl \
|
|
$(NULL)
|
|
|
|
LOCAL_INCLUDES = \
|
|
-I$(topsrcdir)/dom/base \
|
|
-I$(topsrcdir)/dom/src/geolocation \
|
|
-I$(topsrcdir)/dom/telephony \
|
|
-I$(topsrcdir)/dom/wifi \
|
|
-I$(topsrcdir)/content/events/src \
|
|
$(NULL)
|
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
CPPSRCS += \
|
|
AudioManager.cpp \
|
|
GonkGPSGeolocationProvider.cpp \
|
|
$(NULL)
|
|
# for our local copy of AudioSystem.h
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/media/libsydneyaudio/src
|
|
endif
|
|
|
|
EXTRA_COMPONENTS = \
|
|
RadioInterfaceLayer.manifest \
|
|
RadioInterfaceLayer.js \
|
|
$(NULL)
|
|
|
|
EXTRA_JS_MODULES = \
|
|
net_worker.js \
|
|
ril_consts.js \
|
|
ril_worker.js \
|
|
systemlibs.js \
|
|
$(NULL)
|
|
|
|
ifdef ENABLE_TESTS
|
|
XPCSHELL_TESTS = tests
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|