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

Side by Side Diff: media/media_options.gni

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 declare_args() { 5 declare_args() {
6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 6 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
7 # using dlopen. This helps with automated detection of ABI mismatches and 7 # using dlopen. This helps with automated detection of ABI mismatches and
8 # prevents silent errors. 8 # prevents silent errors.
9 link_pulseaudio = false 9 link_pulseaudio = false
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by 44 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by
45 # default since it's not available on the normal Web Platform and costs money. 45 # default since it's not available on the normal Web Platform and costs money.
46 enable_mpeg2ts_stream_parser = false 46 enable_mpeg2ts_stream_parser = false
47 47
48 # Enables browser side Content Decryption Modules. Required for android where 48 # Enables browser side Content Decryption Modules. Required for android where
49 # the typical PPAPI based CDM is not available. 49 # the typical PPAPI based CDM is not available.
50 enable_browser_cdms = is_android 50 enable_browser_cdms = is_android
51 51
52 # Widevine CDM is enabled by default for Chrome builds, and is a platform
53 # feature on Android.
54 enable_widevine = is_chrome_branded || is_android
55
56 # Widevine is distributed as a component for Mac and Win.
57 widevine_cdm_is_component = is_mac || is_win
ddorwin 2014/12/02 23:31:56 ditto
58
52 # TODO(GYP): This should be a platform define. 59 # TODO(GYP): This should be a platform define.
53 is_openbsd = false 60 is_openbsd = false
54 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698