author Masayuki Nakano <>
Tue, 19 Jun 2018 21:00:01 +0900
changeset 479103 cbbdabbed7e04b5ddcb65daa89b625b9ad3ae60b
parent 466980 98389f291fe61e622267ba3e5e99792e6f5d6350
child 486553 66c5f71e12c6df95c8e3e1e63083d59c7f77c7d8
permissions -rw-r--r--
Bug 1215818 - part 1: Add telemetry probe to collect TIP names of TSF which are actually used by the users r=jimm,m_kato We always struggle with a lot of IME bugs on Windows. Currently, any IME vendors should've already released TIP for TSF rather than legacy IMM-IME since IMM-IME is not available on UWP apps. Additionally, due to API limitation, it's difficult to get human-friendly name of IMM-IME. So, let's collect only TIP names of TSF on Windows. This must be enough. Note that we cannot get common-English name even though the API to retrieve TIP name taking language code. Therefore, a TIP may be collected with different name, e.g., one is Japanese name and the other is English name. If we collect GUIDs of TIP, we can avoid this issue. However, it's difficult to collect both GUID and human-friendly name since Telemetry key is up to 72 characters. Currently, I give up to avoid this duplicated issue. Perhaps, this is not so serious issue since most TIP users must match language of TIP and their system language settings. Therefore, this patch collects Locale ID of TIP and description of it. Locale ID is necessary because some TIPs may be named same name for different languages. For example, both Japanese and Hangul IMEs of Microsoft are named as "Microsoft IME". MozReview-Commit-ID: IeSxfeqS62a

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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

CONFIGURE_SUBST_FILES += ['installer/Makefile']

SPHINX_TREES['browser'] = 'docs'

with Files('docs/**'):
    SCHEDULES.exclusive = ['docs']

DIRS += [

DIRS += [

    DIRS += ['installer/windows']


DIST_SUBDIR = 'browser'

# These defines are read in firefox.js

    DEFINES['MOZ_%s_EME' % cdm.upper()] = True

    DEFINES['MOZ_GPSD'] = True

# These files are specified in this to pick up DIST_SUBDIR as set in
# this directory, which is un-set in browser/app.
FINAL_TARGET_FILES += ['app/blocklist.xml']
FINAL_TARGET_FILES.defaults += ['app/permissions']

with Files("**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files(""):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("*.mk"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("**/"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("moz.configure"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("app.mozbuild"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files(""):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files(""):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("LICENSE"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("branding/**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("config/**"):
    BUG_COMPONENT = ("Firefox Build System", "General")

with Files("docs/**"):
    BUG_COMPONENT = ("Toolkit", "Telemetry")

with Files("fonts/**"):
    BUG_COMPONENT = ("Core", "Graphics: Text")

with Files("installer/**"):
    BUG_COMPONENT = ("Firefox", "Installer")

with Files("tools/**"):
    BUG_COMPONENT = ("Firefox", "General")