toolkit/profile/moz.build
author Ed Lee <edilee@mozilla.com>
Fri, 04 Aug 2017 20:38:00 -0700
changeset 642648 02f357c8e98090bcf69c1238ace5e72801f4bdab
parent 414553 a8b9b1f7675ffbf450858dac44146dd8608024f6
child 797868 542f5621bdc8c530e676d239c21ac0bda4e74d42
permissions -rw-r--r--
Bug 1387682 - Screenshots missing when thumbnailer Promise is garbage collected. r=ursula Properly clean up on unload from newTab.js to release strong references in the background thumbnailer. MozReview-Commit-ID: IJNSYjwKUW3

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']

if CONFIG['ENABLE_TESTS']:
    DIRS += ['gtest']

XPIDL_SOURCES += [
    'nsIProfileMigrator.idl',
    'nsIProfileUnlocker.idl',
    'nsIToolkitProfile.idl',
    'nsIToolkitProfileService.idl',
]

XPIDL_MODULE = 'toolkitprofile'

UNIFIED_SOURCES += [
    'nsProfileLock.cpp'
]

if CONFIG['OS_ARCH'] == 'WINNT':
    UNIFIED_SOURCES += [
        'ProfileUnlockerWin.cpp'
    ]

UNIFIED_SOURCES += [
    'nsToolkitProfileService.cpp'
]

LOCAL_INCLUDES += [
    '../xre',
]

FINAL_LIBRARY = 'xul'

JAR_MANIFESTS += ['jar.mn']

with Files('**'):
    BUG_COMPONENT = ('Toolkit', 'Startup and Profile System')