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: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: SOURCES += [ michael@0: 'nsIEHistoryEnumerator.cpp', michael@0: ] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'FirefoxProfileMigrator.js', michael@0: 'ProfileMigrator.js', michael@0: ] michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: EXTRA_COMPONENTS += [ michael@0: 'IEProfileMigrator.js', michael@0: ] michael@0: DEFINES['HAS_IE_MIGRATOR'] = True michael@0: michael@0: EXTRA_PP_COMPONENTS += [ michael@0: 'BrowserProfileMigrators.manifest', michael@0: 'ChromeProfileMigrator.js', michael@0: ] michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: EXTRA_PP_COMPONENTS += [ michael@0: 'SafariProfileMigrator.js', michael@0: ] michael@0: DEFINES['HAS_SAFARI_MIGRATOR'] = True michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': michael@0: EXTRA_PP_COMPONENTS += [ michael@0: 'SafariProfileMigrator.js', michael@0: ] michael@0: DEFINES['HAS_SAFARI_MIGRATOR'] = True michael@0: michael@0: EXTRA_PP_JS_MODULES += [ michael@0: 'MigrationUtils.jsm', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'browsercomps'