widget/windows/winrt/moz.build

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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/.
     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 ]
    24 EXTRA_COMPONENTS += [
    25     'MetroUIUtils.js',
    26     'MetroUIUtils.manifest',
    27 ]
    29 EXPORTS.mozilla.widget += [
    30     'MetroD3DCheckHelper.h',
    31 ]
    33 include('/ipc/chromium/chromium-config.mozbuild')
    35 FINAL_LIBRARY = 'xul'
    37 LOCAL_INCLUDES += [
    38     '../',
    39     '../../shared',
    40     '../../xpwidgets',
    41     '/layout/generic',
    42     '/layout/xul',
    43     '/toolkit/xre',
    44     '/xpcom/base',
    45 ]
    47 DEFINES['MOZ_UNICODE'] = True
    49 for var in ('MOZ_ENABLE_D3D9_LAYER', 'MOZ_ENABLE_D3D10_LAYER'):
    50     if CONFIG[var]:
    51         DEFINES[var] = True

mercurial