Bug 882552 - Change Binder Thread's default priority to 0. r=mwu, r=jlebar
[gecko.git] / hal / Makefile.in
blob7d6fd4d4a66ae8a72b22ea16302954ef90cbf8a0
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = \
10 $(srcdir) \
11 $(srcdir)/android \
12 $(srcdir)/gonk \
13 $(srcdir)/fallback \
14 $(srcdir)/sandbox \
15 $(srcdir)/linux \
16 $(srcdir)/windows \
17 $(srcdir)/cocoa \
18 $(NULL)
20 relativesrcdir = @relativesrcdir@
22 include $(DEPTH)/config/autoconf.mk
24 LIBRARY_NAME = hal_s
25 FORCE_STATIC_LIB = 1
26 LIBXUL_LIBRARY = 1
27 EXPORT_LIBRARY = 1
28 FAIL_ON_WARNINGS = 1
30 MOCHITEST_BROWSER_FILES += \
31 tests/browser_alarms.js \
32 $(NULL)
34 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
35 CMMSRCS += \
36 CocoaSensor.mm \
37 smslib.mm \
38 $(NULL)
39 endif
41 ifdef MOZ_GAMEPAD
42 LOCAL_INCLUDES = -I$(topsrcdir)/dom/base
43 endif
45 include $(topsrcdir)/config/config.mk
46 include $(topsrcdir)/ipc/chromium/chromium-config.mk
47 include $(topsrcdir)/config/rules.mk
49 CFLAGS += $(GLIB_CFLAGS) $(MOZ_DBUS_GLIB_CFLAGS)
50 CXXFLAGS += $(GLIB_CFLAGS) $(MOZ_DBUS_GLIB_CFLAGS)
52 ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
53 # So that we can call nsScreenManagerGonk::GetConfiguration().
54 LOCAL_INCLUDES += -I$(topsrcdir)/widget/gonk
55 LOCAL_INCLUDES += -I$(topsrcdir)/widget/xpwidgets
56 LOCAL_INCLUDES += -I$(ANDROID_SOURCE)/hardware/libhardware_legacy/include
57 endif