|
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 SOURCES += [ |
|
8 'APZController.cpp', |
|
9 'FrameworkView.cpp', |
|
10 'MetroApp.cpp', |
|
11 'MetroAppShell.cpp', |
|
12 'MetroContracts.cpp', |
|
13 'MetroInput.cpp', |
|
14 'MetroUtils.cpp', |
|
15 'MetroWidget.cpp', |
|
16 'nsMetroFilePicker.cpp', |
|
17 'nsWinMetroUtils.cpp', |
|
18 'ToastNotificationHandler.cpp', |
|
19 'UIAAccessibilityBridge.cpp', |
|
20 'UIABridge.cpp', |
|
21 'WakeLockListener.cpp', |
|
22 ] |
|
23 |
|
24 EXTRA_COMPONENTS += [ |
|
25 'MetroUIUtils.js', |
|
26 'MetroUIUtils.manifest', |
|
27 ] |
|
28 |
|
29 EXPORTS.mozilla.widget += [ |
|
30 'MetroD3DCheckHelper.h', |
|
31 ] |
|
32 |
|
33 include('/ipc/chromium/chromium-config.mozbuild') |
|
34 |
|
35 FINAL_LIBRARY = 'xul' |
|
36 |
|
37 LOCAL_INCLUDES += [ |
|
38 '../', |
|
39 '../../shared', |
|
40 '../../xpwidgets', |
|
41 '/layout/generic', |
|
42 '/layout/xul', |
|
43 '/toolkit/xre', |
|
44 '/xpcom/base', |
|
45 ] |
|
46 |
|
47 DEFINES['MOZ_UNICODE'] = True |
|
48 |
|
49 for var in ('MOZ_ENABLE_D3D9_LAYER', 'MOZ_ENABLE_D3D10_LAYER'): |
|
50 if CONFIG[var]: |
|
51 DEFINES[var] = True |