michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPCSHELL_TESTS_MANIFESTS += ['unit_aus_update/xpcshell.ini'] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': michael@0: MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini'] michael@0: XPCSHELL_TESTS_MANIFESTS += ['unit_base_updater/xpcshell.ini'] michael@0: michael@0: if CONFIG['MOZ_MAINTENANCE_SERVICE']: michael@0: XPCSHELL_TESTS_MANIFESTS += ['unit_service_updater/xpcshell.ini'] michael@0: michael@0: SIMPLE_PROGRAMS = [ michael@0: 'TestAUSHelper', michael@0: 'TestAUSReadStrings', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: '%s.cpp' % s for s in SIMPLE_PROGRAMS michael@0: ] michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/mozapps/update', michael@0: '/toolkit/mozapps/update/common', michael@0: ] michael@0: michael@0: for var in ('MOZ_APP_NAME', 'MOZ_APP_BASENAME', 'MOZ_APP_DISPLAYNAME', michael@0: 'MOZ_APP_VENDOR', 'BIN_SUFFIX', 'MOZ_DEBUG'): michael@0: DEFINES[var] = CONFIG[var] michael@0: michael@0: DEFINES['NS_NO_XPCOM'] = True michael@0: michael@0: if CONFIG['MOZ_MAINTENANCE_SERVICE']: michael@0: DEFINES['MOZ_MAINTENANCE_SERVICE'] = CONFIG['MOZ_MAINTENANCE_SERVICE'] michael@0: michael@0: # For debugging purposes only michael@0: #DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: DEFINES['UNICODE'] = True michael@0: DEFINES['_UNICODE'] = True michael@0: USE_STATIC_LIBS = True michael@0: if CONFIG['GNU_CC']: michael@0: WIN32_EXE_LDFLAGS += ['-municode']