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

Side by Side Diff: chromecast/media/media.gyp

Issue 1140583002: Adds new libcast_media shared library for cast_shell media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor reformat in media.gyp Created 5 years, 7 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 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'chromecast_branding%': 'Chromium', 8 'chromecast_branding%': 'Chromium',
9 'enable_default_cast_media%': 1,
lcwu1 2015/05/13 01:58:24 nit: I would probably change the gyp var name slig
halliwell 2015/05/13 03:43:33 I think I was going for consistency with the graph
10 'libcast_media_gyp%': '',
gunsch 2015/05/13 03:26:04 I just noticed libcast_graphics does the same thin
halliwell 2015/05/13 03:43:33 We should discuss for sure. The challenge is with
9 }, 11 },
10 'targets': [ 12 'targets': [
11 { 13 {
12 'target_name': 'media_base', 14 'target_name': 'media_base',
13 'type': '<(component)', 15 'type': '<(component)',
14 'dependencies': [ 16 'dependencies': [
15 '../../base/base.gyp:base', 17 '../../base/base.gyp:base',
16 '../../crypto/crypto.gyp:crypto', 18 '../../crypto/crypto.gyp:crypto',
17 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h' , 19 '../../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h' ,
20 '<(libcast_media_gyp):libcast_media_1.0',
18 ], 21 ],
19 'sources': [ 22 'sources': [
20 'base/decrypt_context.cc', 23 'base/decrypt_context.cc',
21 'base/decrypt_context.h', 24 'base/decrypt_context.h',
22 'base/decrypt_context_clearkey.cc', 25 'base/decrypt_context_clearkey.cc',
23 'base/decrypt_context_clearkey.h', 26 'base/decrypt_context_clearkey.h',
24 'base/key_systems_common.cc', 27 'base/key_systems_common.cc',
25 'base/key_systems_common.h', 28 'base/key_systems_common.h',
26 'base/media_caps.cc', 29 'base/media_caps.cc',
27 'base/media_caps.h', 30 'base/media_caps.h',
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 'cma/test/frame_segmenter_for_test.h', 290 'cma/test/frame_segmenter_for_test.h',
288 'cma/test/media_component_device_feeder_for_test.cc', 291 'cma/test/media_component_device_feeder_for_test.cc',
289 'cma/test/media_component_device_feeder_for_test.h', 292 'cma/test/media_component_device_feeder_for_test.h',
290 'cma/test/mock_frame_consumer.cc', 293 'cma/test/mock_frame_consumer.cc',
291 'cma/test/mock_frame_consumer.h', 294 'cma/test/mock_frame_consumer.h',
292 'cma/test/mock_frame_provider.cc', 295 'cma/test/mock_frame_provider.cc',
293 'cma/test/mock_frame_provider.h', 296 'cma/test/mock_frame_provider.h',
294 'cma/test/run_all_unittests.cc', 297 'cma/test/run_all_unittests.cc',
295 ], 298 ],
296 }, 299 },
300 ], # end of targets
301 'conditions': [
302 ['enable_default_cast_media==1', {
303 'targets': [
304 {
305 'target_name': 'libcast_media_1.0',
306 'type': 'shared_library',
307 'dependencies': [
308 '../../chromecast/chromecast.gyp:cast_public_api'
309 ],
310 'include_dirs': [
311 '../..',
312 ],
313 'sources': [
314 'base/cast_media_default.cc',
315 ],
316 }
317 ]
318 }],
297 ], 319 ],
298 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698