Files
Ben Hearsum 0a41e4fde7 Bug 1756209: add support for pulling campaignid out of builds installed through the Microsoft Store r=mhowell
This is working well for installs done when signed into the Microsoft Store (as long as the signed in account has never installed Firefox before).

The other path -- which is supposed to handle cases where the user is not signed in, does not appear to work, nor does Microsoft's sample code that this is modeled after. It's possible that I'm somehow testing in an invalid way, but it's hard to be certain. At this point I think the best path forward is to go with the code that is _supposed_ to work, and make sure we can distinguish between attributions from a signed in user and a not signed in user - and see if it ends up working in the wild.

Differential Revision: https://phabricator.services.mozilla.com/D141987
2022-04-26 15:55:33 +00:00

27 lines
673 B
Python

# -*- 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 http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Firefox", "Installer")
TEST_DIRS += ["tests/gtest"]
SOURCES += ["nsWindowsPackageManager.cpp"]
LOCAL_INCLUDES += ["/toolkit/components/jsoncpp/include"]
USE_LIBS += ["jsoncpp"]
XPCOM_MANIFESTS += [
"components.conf",
]
XPIDL_MODULE = "windows_package_manager"
XPIDL_SOURCES += ["nsIWindowsPackageManager.idl"]
FINAL_LIBRARY = "xul"