2012-05-21 04:12:37 -07: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-11-02 04:51:38 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2011-11-02 04:51:38 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = dom_battery_s
|
|
|
|
XPIDL_MODULE = dom_battery
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
2012-09-20 00:55:36 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2011-11-02 04:51:38 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
2011-11-02 08:01:32 -07:00
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/battery
|
2011-11-02 04:51:38 -07:00
|
|
|
|
|
|
|
EXPORTS_mozilla/dom/battery = \
|
2011-11-02 08:01:32 -07:00
|
|
|
Constants.h \
|
2011-11-02 08:14:01 -07:00
|
|
|
Types.h \
|
2011-11-02 04:51:38 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2011-11-02 08:01:32 -07:00
|
|
|
BatteryManager.cpp \
|
2011-11-02 04:51:38 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2011-11-02 08:01:32 -07:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2011-11-02 04:51:38 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
XPIDLSRCS = \
|
2011-11-02 05:05:09 -07:00
|
|
|
nsIDOMBatteryManager.idl \
|
2012-07-05 03:05:09 -07:00
|
|
|
nsINavigatorBattery.idl \
|
2011-11-02 04:51:38 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += test
|
2011-11-02 04:51:38 -07:00
|
|
|
|
2011-11-02 08:27:06 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2011-11-02 04:51:38 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-08-24 13:01:30 -07:00
|
|
|
|
|
|
|
XPIDL_FLAGS += \
|
2012-09-11 04:47:42 -07:00
|
|
|
-I$(topsrcdir)/dom/interfaces/base \
|
2012-08-24 13:01:30 -07:00
|
|
|
-I$(topsrcdir)/dom/interfaces/events \
|
|
|
|
$(NULL)
|