2011-05-12 18:22:35 +00:00
|
|
|
#
|
2012-05-21 11:12:37 +00: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-05-12 18:22:35 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2011-05-12 18:22:35 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = telemetry
|
2011-06-20 21:47:55 +00:00
|
|
|
XPIDL_MODULE = telemetry
|
|
|
|
MODULE_NAME = telemetry
|
|
|
|
GRE_MODULE = 1
|
|
|
|
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
|
|
|
|
LIBRARY_NAME = telemetry
|
|
|
|
|
2011-06-20 21:47:58 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
|
|
|
Telemetry.h \
|
2012-08-21 21:14:38 +00:00
|
|
|
ProcessedStack.h \
|
2011-06-20 21:47:58 +00:00
|
|
|
TelemetryHistograms.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-06-20 21:47:55 +00:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsITelemetry.idl \
|
|
|
|
$(NULL)
|
2011-05-12 18:22:35 +00:00
|
|
|
|
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
TelemetryPing.manifest \
|
|
|
|
TelemetryPing.js \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-02-08 22:36:01 +00:00
|
|
|
EXTRA_JS_MODULES = \
|
|
|
|
TelemetryStopwatch.jsm \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-06-20 21:47:55 +00:00
|
|
|
CPPSRCS = \
|
|
|
|
Telemetry.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-02-04 17:32:24 +00:00
|
|
|
TEST_DIRS += tests
|
2011-05-12 18:22:35 +00:00
|
|
|
|
2012-02-02 04:42:20 +00:00
|
|
|
ifdef MOZILLA_OFFICIAL
|
|
|
|
DEFINES += -DMOZILLA_OFFICIAL
|
|
|
|
endif
|
|
|
|
|
2011-06-20 21:47:55 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
2011-05-12 18:22:35 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2011-06-20 21:47:55 +00:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|