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