Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Side by Side Diff: third_party/widevine/cdm/widevine.gni

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698