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