xref: /aosp_15_r20/external/angle/build/config/buildflags_paint_preview.gni (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1# Copyright 2019 The Chromium Authors
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/cast.gni")
6import("//build/config/features.gni")
7
8declare_args() {
9  # Enable basic paint preview support. Does not work on iOS. Should
10  # not be included with Chromecast hardware devices.
11  # Used by //components/paint_preview and //third_party/harfbuzz-ng.
12  # TODO(crbug.com/webrtc/11223) Move back this file in
13  # //components/paint_preview/ once WebRTC doesn't roll harfbuzz-ng anymore,
14  # for consistency sake.
15  enable_paint_preview = !is_castos && !is_cast_android && !is_ios
16}
17