toolkit/components/telemetry/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
michael@0 8
michael@0 9 XPIDL_SOURCES += [
michael@0 10 'nsITelemetry.idl',
michael@0 11 ]
michael@0 12
michael@0 13 XPIDL_MODULE = 'telemetry'
michael@0 14
michael@0 15 EXPORTS.mozilla += [
michael@0 16 'ProcessedStack.h',
michael@0 17 'Telemetry.h',
michael@0 18 'ThreadHangStats.h',
michael@0 19 ]
michael@0 20
michael@0 21 SOURCES += [
michael@0 22 'Telemetry.cpp',
michael@0 23 ]
michael@0 24
michael@0 25 EXTRA_COMPONENTS += [
michael@0 26 'TelemetryStartup.js',
michael@0 27 'TelemetryStartup.manifest'
michael@0 28 ]
michael@0 29
michael@0 30 EXTRA_JS_MODULES += [
michael@0 31 'TelemetryFile.jsm',
michael@0 32 'TelemetryLog.jsm',
michael@0 33 'TelemetryStopwatch.jsm',
michael@0 34 'ThirdPartyCookieProbe.jsm',
michael@0 35 ]
michael@0 36
michael@0 37 EXTRA_PP_JS_MODULES += [
michael@0 38 'TelemetryPing.jsm',
michael@0 39 'UITelemetry.jsm',
michael@0 40 ]
michael@0 41
michael@0 42 FAIL_ON_WARNINGS = True
michael@0 43
michael@0 44 MSVC_ENABLE_PGO = True
michael@0 45
michael@0 46 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 47
michael@0 48 FINAL_LIBRARY = 'xul'
michael@0 49
michael@0 50 GENERATED_FILES = [
michael@0 51 'TelemetryHistogramData.inc',
michael@0 52 ]
michael@0 53
michael@0 54 if CONFIG['MOZILLA_OFFICIAL']:
michael@0 55 DEFINES['MOZILLA_OFFICIAL'] = True
michael@0 56
michael@0 57 LOCAL_INCLUDES += [
michael@0 58 '/xpcom/build',
michael@0 59 '/xpcom/threads',
michael@0 60 ]
michael@0 61

mercurial