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

Unified Diff: media/media_cdm.gypi

Issue 1230793009: Initial support for the desktop media pipeline on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build_ffmpegsumo is gone! yay Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | media/media_variables.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_cdm.gypi
diff --git a/media/media_cdm.gypi b/media/media_cdm.gypi
index 1068aa1580ff9980a39a898d44a69e307e141acd..53abdddf101cebebbe4c970f721d91de717f2216 100644
--- a/media/media_cdm.gypi
+++ b/media/media_cdm.gypi
@@ -3,20 +3,16 @@
# found in the LICENSE file.
{
+ 'includes': [
+ 'media_variables.gypi',
+ ],
'variables': {
- 'conditions': [
- ['OS == "android"', {
- # Android doesn't use ffmpeg.
- 'use_ffmpeg%': 0,
- }, { # 'OS != "android"'
- 'use_ffmpeg%': 1,
- }],
- ],
# Set |use_fake_video_decoder| to 1 to ignore input frames in |clearkeycdm|,
# and produce video frames filled with a solid color instead.
'use_fake_video_decoder%': 0,
- # Set |use_libvpx| to 1 to use libvpx for VP8 decoding in |clearkeycdm|.
- 'use_libvpx%': 0,
+ # Set |use_libvpx_in_clear_key_cdm| to 1 to use libvpx for VP8 decoding in
+ # |clearkeycdm|.
+ 'use_libvpx_in_clear_key_cdm%': 0,
},
'conditions': [
['enable_pepper_cdms==1', {
@@ -39,7 +35,7 @@
'cdm/ppapi/external_clear_key/fake_cdm_video_decoder.h',
],
}],
- ['use_ffmpeg == 1' , {
+ ['media_use_ffmpeg == 1' , {
'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'],
'dependencies': [
'<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
@@ -49,13 +45,13 @@
'cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h',
],
}],
- ['use_ffmpeg == 1 and use_fake_video_decoder == 0' , {
+ ['media_use_ffmpeg == 1 and use_fake_video_decoder == 0' , {
'sources': [
'cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc',
'cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.h',
],
}],
- ['use_libvpx == 1 and use_fake_video_decoder == 0' , {
+ ['use_libvpx_in_clear_key_cdm == 1 and use_fake_video_decoder == 0' , {
'defines': ['CLEAR_KEY_CDM_USE_LIBVPX_DECODER'],
'dependencies': [
'<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
« no previous file with comments | « media/media.gyp ('k') | media/media_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698