| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 enable_plugins = (!is_android && !is_ios) || is_chromecast | 9 enable_plugins = !is_android && !is_ios && !is_chromecast |
| 10 } | 10 } |
| 11 | 11 |
| 12 # Enables the use of CDMs in pepper plugins. | 12 # Enables the use of CDMs in pepper plugins. |
| 13 # | 13 # |
| 14 # This is available as a buildflag for C++ preprocessor, see | 14 # This is available as a buildflag for C++ preprocessor, see |
| 15 # //ppapi:features. | 15 # //ppapi:features. |
| 16 enable_pepper_cdms = | 16 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) |
| 17 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast | |
| OLD | NEW |