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

Side by Side Diff: ppapi/features/features.gni

Issue 2755763002: media: Add build flag for CDM host verification (Closed)
Patch Set: fix cdm_host_file_path.cc Created 3 years, 9 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
« no previous file with comments | « ppapi/features/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chrome_build.gni")
5 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//third_party/widevine/cdm/widevine.gni")
7 9
8 declare_args() { 10 declare_args() {
9 enable_plugins = !is_android && !is_ios && !is_chromecast 11 enable_plugins = !is_android && !is_ios && !is_chromecast
10 } 12 }
11 13
12 # Enables the use of CDMs in pepper plugins. 14 # Enables the use of CDMs in pepper plugins.
13 # 15 #
14 # This is available as a buildflag for C++ preprocessor, see 16 # This is available as a buildflag for C++ preprocessor, see
15 # //ppapi:features. 17 # //ppapi:features.
16 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) 18 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
19
20 # Enables host verification for CDMs.
21 enable_cdm_host_verification = enable_pepper_cdms && (is_mac || is_win) &&
22 (is_chrome_branded || enable_widevine)
OLDNEW
« no previous file with comments | « ppapi/features/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698