Source code
Revision control
Copy as Markdown
Other Tools
# 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
Program("update-gtest")
DisableStlWrapping()
LOCAL_INCLUDES += [
"/third_party/googletest/googletest",
"/third_party/googletest/googletest/include",
"/toolkit/mozapps/update/common",
]
SOURCES += [
"/third_party/googletest/googletest/src/gtest-all.cc",
"/third_party/googletest/googletest/src/gtest_main.cc",
"ElevationTypeTests.cpp",
]
USE_LIBS += [
"updatecommon",
]
if CONFIG["OS_ARCH"] == "WINNT":
SOURCES += [
"EnterprisePoliciesFlagFileTests.cpp",
"EnterprisePoliciesTests.cpp",
"TestDirHelpers.cpp",
]
USE_STATIC_MSVCRT = True
DEFINES["UNICODE"] = True
DEFINES["_UNICODE"] = True
OS_LIBS += [
"shlwapi",
"uuid",
]