# 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/. if CONFIG['OS_ARCH'] == 'WINNT': 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', 'EnterprisePoliciesFlagFileTests.cpp', 'EnterprisePoliciesTests.cpp', 'TestDirHelpers.cpp', ] USE_LIBS += [ 'updatecommon', ] USE_STATIC_MSVCRT = True DEFINES['UNICODE'] = True DEFINES['_UNICODE'] = True OS_LIBS += ['shlwapi']