mozglue/moz.build
author Kartikaya Gupta <kgupta@mozilla.com>
Sun, 09 Apr 2017 17:30:27 -0400
changeset 352100 e3ddc4081b947910affb3c7fb6207e0adfe6a251
parent 346698 d2d83ab67aa33f284978005fb873564161bfea66
child 386054 84946a59ea8a5fae6d77053c5dc8b94ecf2e16e2
permissions -rw-r--r--
Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander The goal of this patch is to remove the call to the sync IPC GetCompositorOptions message from TabChild::InitRenderingState. In order to this, we have InitRenderingState take the CompositorOptions as an argument instead, and propagate that backwards through the call sites. Eventually we can propagate it back to a set of already-sync IPC messages in PCompositorBridge that are used during layers id registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore this patch effectively piggybacks the CompositorOptions sync IPC onto these pre-existing sync IPC messages. The one exception is when we propagate it back to the AdoptChild call. If this message were sync we could just use it like the others and have it return a CompositorOptions. However, it is async, so instead we add another call to GetCompositorOptions here temporarily. This will be removed in the next patch. MozReview-Commit-ID: AtdYOuXmHu4

# -*- 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", "mozglue")

if CONFIG['MOZ_LINKER']:
    DIRS += ['linker']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    DIRS += ['android']

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

if not CONFIG['JS_STANDALONE']:
    TEST_DIRS += ['tests']