2011-10-06 02:15:45 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04: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/.
|
2011-10-06 02:15:45 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2011-10-06 02:15:45 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = \
|
|
|
|
$(srcdir) \
|
2011-11-02 19:28:26 +04:00
|
|
|
$(srcdir)/android \
|
2011-12-20 23:31:53 +04:00
|
|
|
$(srcdir)/gonk \
|
2011-10-06 02:15:45 +04:00
|
|
|
$(srcdir)/fallback \
|
|
|
|
$(srcdir)/sandbox \
|
2011-11-03 14:33:31 +04:00
|
|
|
$(srcdir)/linux \
|
2011-12-05 14:34:27 +04:00
|
|
|
$(srcdir)/windows \
|
2012-03-21 10:36:17 +04:00
|
|
|
$(srcdir)/cocoa \
|
2011-10-06 02:15:45 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2013-06-05 00:30:06 +04:00
|
|
|
relativesrcdir = @relativesrcdir@
|
|
|
|
|
2011-10-06 02:15:45 +04:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = hal_s
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
2012-07-12 23:34:18 +04:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2011-10-06 02:15:45 +04:00
|
|
|
|
2013-06-05 00:30:06 +04:00
|
|
|
MOCHITEST_BROWSER_FILES += \
|
|
|
|
tests/browser_alarms.js \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
2012-03-21 10:36:17 +04:00
|
|
|
CMMSRCS += \
|
|
|
|
CocoaSensor.mm \
|
|
|
|
smslib.mm \
|
|
|
|
$(NULL)
|
2011-11-02 19:28:26 +04:00
|
|
|
endif
|
2011-10-06 02:15:45 +04:00
|
|
|
|
2011-08-03 16:06:00 +04:00
|
|
|
ifdef MOZ_GAMEPAD
|
|
|
|
LOCAL_INCLUDES = -I$(topsrcdir)/dom/base
|
|
|
|
endif
|
|
|
|
|
2011-10-06 02:15:45 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2011-11-03 14:33:31 +04:00
|
|
|
|
2013-03-28 05:20:27 +04:00
|
|
|
CFLAGS += $(GLIB_CFLAGS) $(MOZ_DBUS_GLIB_CFLAGS)
|
|
|
|
CXXFLAGS += $(GLIB_CFLAGS) $(MOZ_DBUS_GLIB_CFLAGS)
|
2012-05-09 01:36:07 +04:00
|
|
|
|
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
# So that we can call nsScreenManagerGonk::GetConfiguration().
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/widget/gonk
|
|
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/widget/xpwidgets
|
2013-05-02 19:42:52 +04:00
|
|
|
LOCAL_INCLUDES += -I$(ANDROID_SOURCE)/hardware/libhardware_legacy/include
|
2012-07-06 14:42:10 +04:00
|
|
|
endif
|