blob: e593961d7fe921904121a9dcaf1d8cdcc5c690d7 [file] [log] [blame]
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/buildflag_header.gni")
import("//build/config/chromecast_build.gni")
import("//build/config/ui.gni")
declare_args() {
# Determines whether or not the Content Service should support a
# NavigableContentsView based on the Aura framework. For platforms which
# only support Aura-based UI, setting this to |false| means that
# NavigableContentsView will have no actual UI presence.
enable_navigable_contents_view_aura =
use_aura && !is_fuchsia && !is_chromecast
# Determines whether or not the Content Service should support remote
# (i.e., out-of-process) clients embedding NavigableContentsViews within their
# UI. If this is false, only clients in the same process as the Content
# Service may use NavigableContentsView.
#
# Currently only supported on Chrome OS, where
# |enable_navigable_contents_view_aura| is implied and the UI service
# (i.e. Mus) is available.
enable_remote_navigable_contents_view = is_chromeos
}
assert(!enable_remote_navigable_contents_view ||
enable_navigable_contents_view_aura)