layout/moz.build
author Petru Lingurar <petru.lingurar@softvision.ro>
Fri, 21 Jun 2019 06:24:43 +0000
changeset 539442 819d3061b8fb3cbc3143ac68e8f521b7e32f362c
parent 512008 69c9fbe4dd38e65a231a683dbd8471f813b54dfe
permissions -rw-r--r--
Bug 1551614 - Call BrowserApp's onCreate() before finish(); r=VladBaicu Fix for the following scenario: - "Don't keep activities" checked - Change system language Upon detecting a locale change in BrowserApp's onCreate() we would call finish() and then return before calling super.onCreate(). This patch introdues the call to super.onCreate() before returning and ensures that the app will die cleanly so that upon restarting Gecko can reinit add-ons that touch the UI. Differential Revision: https://phabricator.services.mozilla.com/D35402

# -*- 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/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'Layout')

DIRS += [
    'style',
    'base',
    'generic',
    'forms',
    'tables',
    'svg',
    'xul',
    'ipc',
    'mathml',
    'inspector',
    'tools/recording',
    'reftests',
    'painting',
]


IPDL_SOURCES = [
    'printing/ipc/PRemotePrintJob.ipdl',
]

if CONFIG['NS_PRINTING']:
    DIRS += ['printing']

TEST_DIRS += [
    'tools/reftest',
]

DIRS += ['build', 'media']

if CONFIG['MOZ_LAYOUT_DEBUGGER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
    DIRS += ['tools/layout-debug']

CRASHTEST_MANIFESTS += ['../testing/crashtest/crashtests.list']