summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/config/buildflags_paint_preview.gni
blob: 7129e766344bb40585ac5823be0f1ab6e26548b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2019 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/config/chromecast_build.gni")
import("//build/config/features.gni")

declare_args() {
  # Enable basic paint preview support. Does not work on iOS or Fuchsia. Should
  # not be included with Chromecast. Not ready for shipping builds yet so
  # include in unofficial builds.
  # Used by //components/paint_preview and //third_party/harfbuzz-ng.
  # TODO(bug/webrtc:11223) Move back this file in //components/paint_preview/
  #     once WebRTC doesn't roll harfbuzz-ng anymore, for consistency sake.
  enable_paint_preview = !is_chromecast && !is_ios && !is_fuchsia
}