blob: b66bc626fa3786f80c7f89889c5c81d5f4b9d1b2 [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.
# 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( 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