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

Side by Side Diff: media/media.gyp

Issue 1993973002: Revert "Revert "media: Move widevine CDM targets to WidevineCdm folder"" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add "cdm_paths" target Created 4 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
« no previous file with comments | « media/cdm_paths.gypi ('k') | media/media_cdm.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # Override to dynamically link the cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 ['include', '^base/mac/corevideo_glue\\.h$'], 1099 ['include', '^base/mac/corevideo_glue\\.h$'],
1100 ['include', '^base/mac/videotoolbox_glue\\.h$'], 1100 ['include', '^base/mac/videotoolbox_glue\\.h$'],
1101 ['include', '^base/mac/videotoolbox_glue\\.mm$'], 1101 ['include', '^base/mac/videotoolbox_glue\\.mm$'],
1102 ['include', '^base/mac/video_frame_mac\\.h$'], 1102 ['include', '^base/mac/video_frame_mac\\.h$'],
1103 ['include', '^base/mac/video_frame_mac\\.cc$'], 1103 ['include', '^base/mac/video_frame_mac\\.cc$'],
1104 ], 1104 ],
1105 }], 1105 }],
1106 ], # target_conditions 1106 ], # target_conditions
1107 }, 1107 },
1108 { 1108 {
1109 # GN version: //media:cdm_paths
1110 'target_name': 'cdm_paths',
1111 'type': 'static_library',
1112 'sources': [
1113 'cdm/cdm_paths.cc',
1114 'cdm/cdm_paths.h',
1115 ],
1116 'dependencies': [
1117 'shared_memory_support',
1118 '../base/base.gyp:base',
1119 ]
1120 },
1121 {
1109 # GN version: //media:media_unittests 1122 # GN version: //media:media_unittests
1110 'target_name': 'media_unittests', 1123 'target_name': 'media_unittests',
1111 'type': '<(gtest_target_type)', 1124 'type': '<(gtest_target_type)',
1112 'dependencies': [ 1125 'dependencies': [
1113 'audio_test_config', 1126 'audio_test_config',
1127 'cdm_paths',
1114 'media', 1128 'media',
1115 'media_features', 1129 'media_features',
1116 'media_test_support', 1130 'media_test_support',
1117 'shared_memory_support', 1131 'shared_memory_support',
1118 '../base/base.gyp:base', 1132 '../base/base.gyp:base',
1119 '../base/base.gyp:base_i18n', 1133 '../base/base.gyp:base_i18n',
1120 '../base/base.gyp:test_support_base', 1134 '../base/base.gyp:test_support_base',
1121 '../gpu/gpu.gyp:command_buffer_common', 1135 '../gpu/gpu.gyp:command_buffer_common',
1122 '../gpu/gpu.gyp:gpu_unittest_utils', 1136 '../gpu/gpu.gyp:gpu_unittest_utils',
1123 '../skia/skia.gyp:skia', 1137 '../skia/skia.gyp:skia',
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 ], 1334 ],
1321 }], 1335 }],
1322 # If ExternalClearKey is built, we can test CdmAdapter. 1336 # If ExternalClearKey is built, we can test CdmAdapter.
1323 ['enable_pepper_cdms == 1', { 1337 ['enable_pepper_cdms == 1', {
1324 'dependencies': [ 1338 'dependencies': [
1325 'clearkeycdm', 1339 'clearkeycdm',
1326 ], 1340 ],
1327 'sources': [ 1341 'sources': [
1328 'cdm/cdm_adapter_unittest.cc', 1342 'cdm/cdm_adapter_unittest.cc',
1329 ], 1343 ],
1344 'conditions': [
1345 ['OS == "mac"', {
1346 'xcode_settings': {
1347 'LD_RUNPATH_SEARCH_PATHS' : [ '@executable_path/<(clearkey_cdm_p ath)' ],
1348 },
1349 }]
1350 ],
1330 }], 1351 }],
1331 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', { 1352 ['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
1332 'sources': [ 1353 'sources': [
1333 'filters/h264_bitstream_buffer_unittest.cc', 1354 'filters/h264_bitstream_buffer_unittest.cc',
1334 ], 1355 ],
1335 }], 1356 }],
1336 ['target_arch=="ia32" or target_arch=="x64"', { 1357 ['target_arch=="ia32" or target_arch=="x64"', {
1337 'sources': [ 1358 'sources': [
1338 'base/simd/convert_rgb_to_yuv_unittest.cc', 1359 'base/simd/convert_rgb_to_yuv_unittest.cc',
1339 ], 1360 ],
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 'dependencies': [ 2311 'dependencies': [
2291 '../build/linux/system.gyp:libdrm', 2312 '../build/linux/system.gyp:libdrm',
2292 ] 2313 ]
2293 }], 2314 }],
2294 ], 2315 ],
2295 } 2316 }
2296 ] 2317 ]
2297 }], 2318 }],
2298 ], 2319 ],
2299 } 2320 }
OLDNEW
« no previous file with comments | « media/cdm_paths.gypi ('k') | media/media_cdm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698