OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/features.gni") | |
6 | |
5 declare_args() { | 7 declare_args() { |
6 # Allow widevinecdmadapter to be built in Chromium. | 8 # Allow widevinecdmadapter to be built in Chromium. |
7 enable_widevine = false | 9 enable_widevine = false |
8 } | 10 } |
11 | |
12 # Enables the use of CDMs in pepper plugins. | |
13 # | |
14 # This is available as a buildflag for C++ preprocessor, see | |
15 # //third_party/widevine/cdm:cdm_features. | |
16 enable_pepper_cdms = | |
17 enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast | |
jrummell
2016/10/10 22:45:57
Why did you put the flag in third_party/widevine/c
brettw
2016/10/10 23:43:42
Good idea, done.
| |
OLD | NEW |