~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to toolkit/components/telemetry/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
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/.
5
 
 
6
 
DEPTH = @DEPTH@
7
 
topsrcdir = @top_srcdir@
8
 
srcdir = @srcdir@
9
 
VPATH = @srcdir@
10
 
 
11
 
include $(DEPTH)/config/autoconf.mk
12
 
 
13
 
MODULE = telemetry
14
 
XPIDL_MODULE = telemetry
15
 
MODULE_NAME = telemetry
16
 
GRE_MODULE = 1
17
 
 
18
 
LIBXUL_LIBRARY = 1
19
 
EXPORT_LIBRARY = 1
20
 
IS_COMPONENT = 1
21
 
 
22
 
LIBRARY_NAME = telemetry
23
 
 
24
 
EXPORTS_NAMESPACES = mozilla
25
 
 
26
 
EXPORTS_mozilla = \
27
 
  Telemetry.h \
28
 
  ProcessedStack.h \
29
 
  TelemetryHistogramEnums.h \
30
 
  $(NULL)
31
 
 
32
 
XPIDLSRCS = \
33
 
  nsITelemetry.idl \
34
 
  $(NULL)
35
 
 
36
 
EXTRA_COMPONENTS = \
37
 
  TelemetryPing.manifest \
38
 
  TelemetryPing.js \
39
 
  $(NULL)
40
 
 
41
 
EXTRA_JS_MODULES = \
42
 
  TelemetryStopwatch.jsm \
43
 
  $(NULL)
44
 
 
45
 
CPPSRCS = \
46
 
  Telemetry.cpp \
47
 
  $(NULL)
48
 
 
49
 
EXTRA_DSO_LDOPTS += \
50
 
  $(MOZ_COMPONENT_LIBS) \
51
 
  $(MOZ_JS_LIBS) \
52
 
  $(NULL)
53
 
 
54
 
TEST_DIRS += tests
55
 
 
56
 
ifdef MOZILLA_OFFICIAL
57
 
DEFINES += -DMOZILLA_OFFICIAL
58
 
endif
59
 
 
60
 
include $(topsrcdir)/config/config.mk
61
 
include $(topsrcdir)/config/rules.mk
62
 
include $(topsrcdir)/ipc/chromium/chromium-config.mk
63
 
 
64
 
histograms_file := $(srcdir)/Histograms.json
65
 
histogram_enum_file := TelemetryHistogramEnums.h
66
 
histogram_data_file := TelemetryHistogramData.inc
67
 
 
68
 
$(histogram_enum_file): $(histograms_file) $(srcdir)/gen-histogram-enum.py
69
 
        $(PYTHON) $(srcdir)/gen-histogram-enum.py $< > $@
70
 
$(histogram_data_file): $(histograms_file) $(srcdir)/gen-histogram-data.py
71
 
        $(PYTHON) $(srcdir)/gen-histogram-data.py $< > $@
72
 
 
73
 
Telemetry.$(OBJ_SUFFIX): $(histogram_data_file)
74
 
 
75
 
GARBAGE += $(histogram_data_file) $(histogram_enum_file)