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: SOURCES += [ michael@0: 'APZController.cpp', michael@0: 'FrameworkView.cpp', michael@0: 'MetroApp.cpp', michael@0: 'MetroAppShell.cpp', michael@0: 'MetroContracts.cpp', michael@0: 'MetroInput.cpp', michael@0: 'MetroUtils.cpp', michael@0: 'MetroWidget.cpp', michael@0: 'nsMetroFilePicker.cpp', michael@0: 'nsWinMetroUtils.cpp', michael@0: 'ToastNotificationHandler.cpp', michael@0: 'UIAAccessibilityBridge.cpp', michael@0: 'UIABridge.cpp', michael@0: 'WakeLockListener.cpp', michael@0: ] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'MetroUIUtils.js', michael@0: 'MetroUIUtils.manifest', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.widget += [ michael@0: 'MetroD3DCheckHelper.h', michael@0: ] michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'xul' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../', michael@0: '../../shared', michael@0: '../../xpwidgets', michael@0: '/layout/generic', michael@0: '/layout/xul', michael@0: '/toolkit/xre', michael@0: '/xpcom/base', michael@0: ] michael@0: michael@0: DEFINES['MOZ_UNICODE'] = True michael@0: michael@0: for var in ('MOZ_ENABLE_D3D9_LAYER', 'MOZ_ENABLE_D3D10_LAYER'): michael@0: if CONFIG[var]: michael@0: DEFINES[var] = True