blob: 9f1cc34954b7492bbe8bc5b46fc81612baa49d6b [file] [log] [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.
declare_args() {
# Enables basic plugin support. This enables support for registering and
# looking up plugins, but does not include support for loading plugins using a
# specific technology like Pepper.
# In particular, the PDF viewer (enable_pdf) requires plugin support, but it
# does not require Pepper support (enable_ppapi).
enable_plugins = !is_android && !is_ios && !is_castos
declare_args() {
# Enables Pepper API (PPAPI) plugin support.
enable_ppapi = enable_plugins && !is_fuchsia
assert(enable_plugins || !enable_ppapi)