blob: 559373e9794b8f2f4e1ce7acc535f4e656af8b57 [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("//build/config/chromecast_build.gni")
import("//build/config/features.gni")
declare_args() {
enable_plugins = (!is_android && !is_ios) || is_chromecast
}
# Enables the use of CDMs in pepper plugins.
#
# This is available as a buildflag for C++ preprocessor, see
# //ppapi:features.
enable_pepper_cdms =
enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast