gfx/moz.build
author Mike Conley <mconley@mozilla.com>
Tue, 06 Nov 2018 04:35:00 +0000
changeset 501109 1fafb01078dbb3602bcdac29d40f91f67f71fba3
parent 451571 0f0395687d36597098e4248457ed69f092c39f8f
child 524361 8693cb66569617c4faaefa4d076f947779bb1ff3
permissions -rw-r--r--
Bug 1498233 - Stub out getBrowserForOuterWindowID for GeckoViewTab. r=jchen GeckoViewTab stubs out gBrowser on the root window for WebExtension compatibility. LoginManagerParent also looks for gBrowser on windows that are handling username and password form fills, and expects it to implement getBrowserForOuterWindowID. This patch makes the stub implement getBrowserForOuterWindowID, which just returns the lone GeckoViewTab browser. Differential Revision: https://phabricator.services.mozilla.com/D10750

# -*- 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', 'Graphics')

if CONFIG['MOZ_TREE_CAIRO']:
    DIRS += ['cairo']

DIRS += [
    '2d',
    'ycbcr',
    'angle',
    'src',
    'qcms',
    'gl',
    'layers',
    'graphite2/src',
    'harfbuzz/src',
    'ots/src',
    'thebes',
    'ipc',
    'vr',
    'config',
    'webrender_bindings',
]

if CONFIG['MOZ_ENABLE_SKIA']:
    DIRS += ['skia']

if CONFIG['MOZ_ENABLE_SKIA_PDF_SFNTLY']:
     DIRS += ['sfntly/cpp/src']

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

TEST_DIRS += ['tests']

SPHINX_TREES['gfx'] = 'docs'

with Files('docs/**'):
    SCHEDULES.exclusive = ['docs']