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

Side by Side Diff: media/media_cdm.gypi

Issue 93243003: Add CDM FileIO tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS == "android"', { 8 ['OS == "android"', {
9 # Android doesn't use ffmpeg. 9 # Android doesn't use ffmpeg.
10 'use_ffmpeg%': 0, 10 'use_ffmpeg%': 0,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 }] 72 }]
73 ], 73 ],
74 'defines': ['CDM_IMPLEMENTATION'], 74 'defines': ['CDM_IMPLEMENTATION'],
75 'dependencies': [ 75 'dependencies': [
76 'media', 76 'media',
77 # Include the following for media::AudioBus. 77 # Include the following for media::AudioBus.
78 'shared_memory_support', 78 'shared_memory_support',
79 '<(DEPTH)/base/base.gyp:base', 79 '<(DEPTH)/base/base.gyp:base',
80 ], 80 ],
81 'sources': [ 81 'sources': [
82 'cdm/ppapi/cdm_file_io_test.cc',
83 'cdm/ppapi/cdm_file_io_test.h',
82 'cdm/ppapi/cdm_video_decoder.cc', 84 'cdm/ppapi/cdm_video_decoder.cc',
83 'cdm/ppapi/cdm_video_decoder.h', 85 'cdm/ppapi/cdm_video_decoder.h',
84 'cdm/ppapi/clear_key_cdm.cc', 86 'cdm/ppapi/clear_key_cdm.cc',
85 'cdm/ppapi/clear_key_cdm.h', 87 'cdm/ppapi/clear_key_cdm.h',
86 'cdm/ppapi/clear_key_cdm_common.h', 88 'cdm/ppapi/clear_key_cdm_common.h',
87 ], 89 ],
88 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 90 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
89 'msvs_disabled_warnings': [ 4267, ], 91 'msvs_disabled_warnings': [ 4267, ],
90 }, 92 },
91 { 93 {
92 'target_name': 'clearkeycdmadapter', 94 'target_name': 'clearkeycdmadapter',
93 'type': 'none', 95 'type': 'none',
94 # Check whether the plugin's origin URL is valid. 96 # Check whether the plugin's origin URL is valid.
95 'defines': ['CHECK_DOCUMENT_URL'], 97 'defines': ['CHECK_DOCUMENT_URL'],
96 'dependencies': [ 98 'dependencies': [
97 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp', 99 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
98 'clearkeycdm', 100 'clearkeycdm',
99 ], 101 ],
100 'sources': [ 102 'sources': [
101 'cdm/ppapi/api/content_decryption_module.h', 103 'cdm/ppapi/api/content_decryption_module.h',
102 'cdm/ppapi/cdm_adapter.cc', 104 'cdm/ppapi/cdm_adapter.cc',
103 'cdm/ppapi/cdm_adapter.h', 105 'cdm/ppapi/cdm_adapter.h',
106 'cdm/ppapi/cdm_file_io_impl.cc',
107 'cdm/ppapi/cdm_file_io_impl.h',
104 'cdm/ppapi/cdm_helpers.cc', 108 'cdm/ppapi/cdm_helpers.cc',
105 'cdm/ppapi/cdm_helpers.h', 109 'cdm/ppapi/cdm_helpers.h',
106 'cdm/ppapi/cdm_wrapper.h', 110 'cdm/ppapi/cdm_wrapper.h',
107 'cdm/ppapi/linked_ptr.h', 111 'cdm/ppapi/linked_ptr.h',
108 'cdm/ppapi/supported_cdm_versions.h', 112 'cdm/ppapi/supported_cdm_versions.h',
109 ], 113 ],
110 'conditions': [ 114 'conditions': [
111 ['os_posix == 1 and OS != "mac" and enable_pepper_cdms==1', { 115 ['os_posix == 1 and OS != "mac" and enable_pepper_cdms==1', {
112 'cflags': ['-fvisibility=hidden'], 116 'cflags': ['-fvisibility=hidden'],
113 'type': 'loadable_module', 117 'type': 'loadable_module',
(...skipping 19 matching lines...) Expand all
133 '-Wl,-exported_symbol,_PPP_InitializeModule', 137 '-Wl,-exported_symbol,_PPP_InitializeModule',
134 '-Wl,-exported_symbol,_PPP_ShutdownModule' 138 '-Wl,-exported_symbol,_PPP_ShutdownModule'
135 ], 139 ],
136 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 140 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
137 }, 141 },
138 }], 142 }],
139 ], 143 ],
140 } 144 }
141 ], 145 ],
142 } 146 }
OLDNEW
« media/cdm/ppapi/clear_key_cdm.cc ('K') | « media/cdm/ppapi/clear_key_cdm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698