blob: 67ce26d61897525614c00c2a87c6b1ff9d765ff8 [file] [log] [blame]
# Copyright 2016 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("//ash/webui/media_app_ui/media_app_ui.gni")
import("//build/config/chromecast_build.gni")
# Most build code won't need to include this file. Instead you can
# unconditionally depend on "//pdf" which will be a no-op when PDF support is
# disabled.
declare_args() {
# Enable ink libraries provided by the ChromeOS media app dependency.
#
# This argument indicates whether the ink libraries provided by the ChromeOS
# media app dependency is enabled. It also determines whether the annotation
# feature is enabled for the PDF viewer.
enable_ink = enable_cros_media_app
# TODO(crbug.com/702993): Currently disabled on Fuchsia because the PDF Viewer
# currently depends on PPAPI. It does not make sense to port PPAPI, which is
# being deprecated, to Fuchsia. Once the PDF Viewer no longer uses PPAPI, the
# PDF Viewer should be enabled on Fuchsia, like on other desktop platforms.
enable_pdf = !is_android && !is_ios && !is_chromecast && !is_fuchsia
}