1*6777b538SAndroid Build Coastguard Worker# Copyright 2019 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker# found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Workerimport("//build/config/cast.gni") 6*6777b538SAndroid Build Coastguard Workerimport("//build/config/features.gni") 7*6777b538SAndroid Build Coastguard Worker 8*6777b538SAndroid Build Coastguard Workerdeclare_args() { 9*6777b538SAndroid Build Coastguard Worker # Enable basic paint preview support. Does not work on iOS. Should 10*6777b538SAndroid Build Coastguard Worker # not be included with Chromecast hardware devices. 11*6777b538SAndroid Build Coastguard Worker # Used by //components/paint_preview and //third_party/harfbuzz-ng. 12*6777b538SAndroid Build Coastguard Worker # TODO(crbug.com/webrtc/11223) Move back this file in 13*6777b538SAndroid Build Coastguard Worker # //components/paint_preview/ once WebRTC doesn't roll harfbuzz-ng anymore, 14*6777b538SAndroid Build Coastguard Worker # for consistency sake. 15*6777b538SAndroid Build Coastguard Worker enable_paint_preview = !is_castos && !is_cast_android && !is_ios 16*6777b538SAndroid Build Coastguard Worker} 17