1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/widget/windows/winrt/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +SOURCES += [ 1.11 + 'APZController.cpp', 1.12 + 'FrameworkView.cpp', 1.13 + 'MetroApp.cpp', 1.14 + 'MetroAppShell.cpp', 1.15 + 'MetroContracts.cpp', 1.16 + 'MetroInput.cpp', 1.17 + 'MetroUtils.cpp', 1.18 + 'MetroWidget.cpp', 1.19 + 'nsMetroFilePicker.cpp', 1.20 + 'nsWinMetroUtils.cpp', 1.21 + 'ToastNotificationHandler.cpp', 1.22 + 'UIAAccessibilityBridge.cpp', 1.23 + 'UIABridge.cpp', 1.24 + 'WakeLockListener.cpp', 1.25 +] 1.26 + 1.27 +EXTRA_COMPONENTS += [ 1.28 + 'MetroUIUtils.js', 1.29 + 'MetroUIUtils.manifest', 1.30 +] 1.31 + 1.32 +EXPORTS.mozilla.widget += [ 1.33 + 'MetroD3DCheckHelper.h', 1.34 +] 1.35 + 1.36 +include('/ipc/chromium/chromium-config.mozbuild') 1.37 + 1.38 +FINAL_LIBRARY = 'xul' 1.39 + 1.40 +LOCAL_INCLUDES += [ 1.41 + '../', 1.42 + '../../shared', 1.43 + '../../xpwidgets', 1.44 + '/layout/generic', 1.45 + '/layout/xul', 1.46 + '/toolkit/xre', 1.47 + '/xpcom/base', 1.48 +] 1.49 + 1.50 +DEFINES['MOZ_UNICODE'] = True 1.51 + 1.52 +for var in ('MOZ_ENABLE_D3D9_LAYER', 'MOZ_ENABLE_D3D10_LAYER'): 1.53 + if CONFIG[var]: 1.54 + DEFINES[var] = True