1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pdf / features.gni [blame]
# Copyright 2016 The Chromium Authors
# 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/cast.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_pdf = !is_android && !is_ios && !is_castos && !is_fuchsia
}
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 on Chrome OS.
enable_ink = enable_cros_media_app
# Enable the next generation of ink libraries. This can co-exist with
# `enable_ink` above.
enable_pdf_ink2 = enable_pdf
}