|
1 # -*- Mode: python; c-basic-offset: 4; 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 |
|
7 if CONFIG['OS_ARCH'] == 'WINNT': |
|
8 SOURCES += [ |
|
9 'nsIEHistoryEnumerator.cpp', |
|
10 ] |
|
11 |
|
12 EXTRA_COMPONENTS += [ |
|
13 'FirefoxProfileMigrator.js', |
|
14 'ProfileMigrator.js', |
|
15 ] |
|
16 |
|
17 if CONFIG['OS_ARCH'] == 'WINNT': |
|
18 EXTRA_COMPONENTS += [ |
|
19 'IEProfileMigrator.js', |
|
20 ] |
|
21 DEFINES['HAS_IE_MIGRATOR'] = True |
|
22 |
|
23 EXTRA_PP_COMPONENTS += [ |
|
24 'BrowserProfileMigrators.manifest', |
|
25 'ChromeProfileMigrator.js', |
|
26 ] |
|
27 |
|
28 if CONFIG['OS_ARCH'] == 'WINNT': |
|
29 EXTRA_PP_COMPONENTS += [ |
|
30 'SafariProfileMigrator.js', |
|
31 ] |
|
32 DEFINES['HAS_SAFARI_MIGRATOR'] = True |
|
33 |
|
34 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
|
35 EXTRA_PP_COMPONENTS += [ |
|
36 'SafariProfileMigrator.js', |
|
37 ] |
|
38 DEFINES['HAS_SAFARI_MIGRATOR'] = True |
|
39 |
|
40 EXTRA_PP_JS_MODULES += [ |
|
41 'MigrationUtils.jsm', |
|
42 ] |
|
43 |
|
44 FINAL_LIBRARY = 'browsercomps' |