1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2# vim: set filetype=python: 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini'] 8 9if CONFIG['ENABLE_TESTS']: 10 DIRS += ['gtest'] 11 12XPIDL_SOURCES += [ 13 'nsIProfileMigrator.idl', 14 'nsIProfileUnlocker.idl', 15 'nsIToolkitProfile.idl', 16 'nsIToolkitProfileService.idl', 17] 18 19XPIDL_MODULE = 'toolkitprofile' 20 21UNIFIED_SOURCES += [ 22 'nsProfileLock.cpp' 23] 24 25if CONFIG['OS_ARCH'] == 'WINNT': 26 UNIFIED_SOURCES += [ 27 'ProfileUnlockerWin.cpp' 28 ] 29 30UNIFIED_SOURCES += [ 31 'nsToolkitProfileService.cpp' 32] 33 34LOCAL_INCLUDES += [ 35 '../xre', 36] 37 38FINAL_LIBRARY = 'xul' 39 40JAR_MANIFESTS += ['jar.mn'] 41 42with Files('**'): 43 BUG_COMPONENT = ('Toolkit', 'Startup and Profile System') 44