1# Copyright 2019 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/chromecast_build.gni")
6import("//build/config/features.gni")
7
8declare_args() {
9  # Enable basic paint preview support. Does not work on iOS or Fuchsia. Should
10  # not be included with Chromecast. Not ready for shipping builds yet so
11  # include in unofficial builds.
12  # Used by //components/paint_preview and //third_party/harfbuzz-ng.
13  # TODO(bug/webrtc:11223) Move back this file in //components/paint_preview/
14  #     once WebRTC doesn't roll harfbuzz-ng anymore, for consistency sake.
15  enable_paint_preview = !is_chromecast && !is_ios && !is_fuchsia
16}
17