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

Side by Side Diff: media/media.gyp

Issue 1085843003: Revert of Web MIDI: split build rules for media/midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/base/android/media_jni_registrar.cc ('k') | media/midi/BUILD.gn » ('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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 'formats/webm/webm_info_parser.h', 508 'formats/webm/webm_info_parser.h',
509 'formats/webm/webm_parser.cc', 509 'formats/webm/webm_parser.cc',
510 'formats/webm/webm_parser.h', 510 'formats/webm/webm_parser.h',
511 'formats/webm/webm_stream_parser.cc', 511 'formats/webm/webm_stream_parser.cc',
512 'formats/webm/webm_stream_parser.h', 512 'formats/webm/webm_stream_parser.h',
513 'formats/webm/webm_tracks_parser.cc', 513 'formats/webm/webm_tracks_parser.cc',
514 'formats/webm/webm_tracks_parser.h', 514 'formats/webm/webm_tracks_parser.h',
515 'formats/webm/webm_video_client.cc', 515 'formats/webm/webm_video_client.cc',
516 'formats/webm/webm_video_client.h', 516 'formats/webm/webm_video_client.h',
517 'formats/webm/webm_webvtt_parser.cc', 517 'formats/webm/webm_webvtt_parser.cc',
518 'midi/midi_manager.cc',
519 'midi/midi_manager.h',
520 'midi/midi_manager_alsa.cc',
521 'midi/midi_manager_alsa.h',
522 'midi/midi_manager_android.cc',
523 'midi/midi_manager_mac.cc',
524 'midi/midi_manager_mac.h',
525 'midi/midi_manager_usb.cc',
526 'midi/midi_manager_usb.h',
527 'midi/midi_manager_win.cc',
528 'midi/midi_manager_win.h',
529 'midi/midi_message_queue.cc',
530 'midi/midi_message_queue.h',
531 'midi/midi_message_util.cc',
532 'midi/midi_message_util.h',
533 'midi/midi_port_info.cc',
534 'midi/midi_port_info.h',
535 'midi/midi_scheduler.cc',
536 'midi/midi_scheduler.h',
537 'midi/usb_midi_descriptor_parser.cc',
538 'midi/usb_midi_descriptor_parser.h',
539 'midi/usb_midi_device.h',
540 'midi/usb_midi_device_android.cc',
541 'midi/usb_midi_device_android.h',
542 'midi/usb_midi_device_factory_android.cc',
543 'midi/usb_midi_device_factory_android.h',
544 'midi/usb_midi_input_stream.cc',
545 'midi/usb_midi_input_stream.h',
546 'midi/usb_midi_jack.h',
547 'midi/usb_midi_output_stream.cc',
548 'midi/usb_midi_output_stream.h',
518 'ozone/media_ozone_platform.cc', 549 'ozone/media_ozone_platform.cc',
519 'ozone/media_ozone_platform.h', 550 'ozone/media_ozone_platform.h',
520 'renderers/audio_renderer_impl.cc', 551 'renderers/audio_renderer_impl.cc',
521 'renderers/audio_renderer_impl.h', 552 'renderers/audio_renderer_impl.h',
522 'renderers/default_renderer_factory.cc', 553 'renderers/default_renderer_factory.cc',
523 'renderers/default_renderer_factory.h', 554 'renderers/default_renderer_factory.h',
524 'renderers/gpu_video_accelerator_factories.h', 555 'renderers/gpu_video_accelerator_factories.h',
525 'renderers/renderer_impl.cc', 556 'renderers/renderer_impl.cc',
526 'renderers/renderer_impl.h', 557 'renderers/renderer_impl.h',
527 'renderers/video_renderer_impl.cc', 558 'renderers/video_renderer_impl.cc',
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 }], 952 }],
922 ['OS=="mac"', { 953 ['OS=="mac"', {
923 'dependencies': [ 954 'dependencies': [
924 '../third_party/decklink/decklink.gyp:decklink', 955 '../third_party/decklink/decklink.gyp:decklink',
925 ], 956 ],
926 'link_settings': { 957 'link_settings': {
927 'libraries': [ 958 'libraries': [
928 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', 959 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
929 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', 960 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
930 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', 961 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
962 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework',
931 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', 963 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
932 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 964 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
933 '$(SDKROOT)/System/Library/Frameworks/QTKit.framework', 965 '$(SDKROOT)/System/Library/Frameworks/QTKit.framework',
934 ], 966 ],
935 }, 967 },
936 }], 968 }],
937 ['OS=="win"', { 969 ['OS=="win"', {
970 'dependencies': [
971 '../device/usb/usb.gyp:device_usb',
972 ],
938 'link_settings': { 973 'link_settings': {
939 'libraries': [ 974 'libraries': [
940 '-lmf.lib', 975 '-lmf.lib',
941 '-lmfplat.lib', 976 '-lmfplat.lib',
942 '-lmfreadwrite.lib', 977 '-lmfreadwrite.lib',
943 '-lmfuuid.lib', 978 '-lmfuuid.lib',
944 ], 979 ],
945 }, 980 },
946 # Specify delayload for media.dll. 981 # Specify delayload for media.dll.
947 'msvs_settings': { 982 'msvs_settings': {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 'sources': [ 1089 'sources': [
1055 'filters/source_buffer_platform.h', 1090 'filters/source_buffer_platform.h',
1056 'filters/source_buffer_platform_lowmem.cc', 1091 'filters/source_buffer_platform_lowmem.cc',
1057 ] 1092 ]
1058 }, { # 'use_low_memory_buffer==0' 1093 }, { # 'use_low_memory_buffer==0'
1059 'sources': [ 1094 'sources': [
1060 'filters/source_buffer_platform.cc', 1095 'filters/source_buffer_platform.cc',
1061 'filters/source_buffer_platform.h', 1096 'filters/source_buffer_platform.h',
1062 ] 1097 ]
1063 }], 1098 }],
1099 ['use_udev==1', {
1100 'dependencies': [
1101 '../device/udev_linux/udev.gyp:udev_linux',
1102 ],
1103 }],
1064 ], # conditions 1104 ], # conditions
1065 'target_conditions': [ 1105 'target_conditions': [
1066 ['OS == "ios" and _toolset != "host"', { 1106 ['OS == "ios" and _toolset != "host"', {
1067 'sources/': [ 1107 'sources/': [
1068 # Pull in specific Mac files for iOS (which have been filtered out 1108 # Pull in specific Mac files for iOS (which have been filtered out
1069 # by file name rules). 1109 # by file name rules).
1070 ['include', '^base/mac/coremedia_glue\\.h$'], 1110 ['include', '^base/mac/coremedia_glue\\.h$'],
1071 ['include', '^base/mac/coremedia_glue\\.mm$'], 1111 ['include', '^base/mac/coremedia_glue\\.mm$'],
1072 ['include', '^base/mac/corevideo_glue\\.h$'], 1112 ['include', '^base/mac/corevideo_glue\\.h$'],
1073 ['include', '^base/mac/videotoolbox_glue\\.h$'], 1113 ['include', '^base/mac/videotoolbox_glue\\.h$'],
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 'formats/webm/cluster_builder.h', 1265 'formats/webm/cluster_builder.h',
1226 'formats/webm/opus_packet_builder.cc', 1266 'formats/webm/opus_packet_builder.cc',
1227 'formats/webm/opus_packet_builder.h', 1267 'formats/webm/opus_packet_builder.h',
1228 'formats/webm/tracks_builder.cc', 1268 'formats/webm/tracks_builder.cc',
1229 'formats/webm/tracks_builder.h', 1269 'formats/webm/tracks_builder.h',
1230 'formats/webm/webm_cluster_parser_unittest.cc', 1270 'formats/webm/webm_cluster_parser_unittest.cc',
1231 'formats/webm/webm_content_encodings_client_unittest.cc', 1271 'formats/webm/webm_content_encodings_client_unittest.cc',
1232 'formats/webm/webm_parser_unittest.cc', 1272 'formats/webm/webm_parser_unittest.cc',
1233 'formats/webm/webm_tracks_parser_unittest.cc', 1273 'formats/webm/webm_tracks_parser_unittest.cc',
1234 'formats/webm/webm_webvtt_parser_unittest.cc', 1274 'formats/webm/webm_webvtt_parser_unittest.cc',
1275 'midi/midi_manager_unittest.cc',
1276 'midi/midi_manager_usb_unittest.cc',
1277 'midi/midi_message_queue_unittest.cc',
1278 'midi/midi_message_util_unittest.cc',
1279 'midi/usb_midi_descriptor_parser_unittest.cc',
1280 'midi/usb_midi_input_stream_unittest.cc',
1281 'midi/usb_midi_output_stream_unittest.cc',
1235 'renderers/audio_renderer_impl_unittest.cc', 1282 'renderers/audio_renderer_impl_unittest.cc',
1236 'renderers/renderer_impl_unittest.cc', 1283 'renderers/renderer_impl_unittest.cc',
1237 'renderers/video_renderer_impl_unittest.cc', 1284 'renderers/video_renderer_impl_unittest.cc',
1238 'test/pipeline_integration_test.cc', 1285 'test/pipeline_integration_test.cc',
1239 'test/pipeline_integration_test_base.cc', 1286 'test/pipeline_integration_test_base.cc',
1240 'video/capture/fake_video_capture_device_unittest.cc', 1287 'video/capture/fake_video_capture_device_unittest.cc',
1241 'video/capture/video_capture_device_unittest.cc', 1288 'video/capture/video_capture_device_unittest.cc',
1242 'video/h264_poc_unittest.cc', 1289 'video/h264_poc_unittest.cc',
1243 ], 1290 ],
1244 'include_dirs': [ 1291 'include_dirs': [
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 'formats/mpeg/mpeg1_audio_stream_parser_unittest.cc', 1404 'formats/mpeg/mpeg1_audio_stream_parser_unittest.cc',
1358 ], 1405 ],
1359 }], 1406 }],
1360 # TODO(wolenetz): Fix size_t to int truncations in win64. See 1407 # TODO(wolenetz): Fix size_t to int truncations in win64. See
1361 # http://crbug.com/171009 1408 # http://crbug.com/171009
1362 ['OS=="win" and target_arch=="x64"', { 1409 ['OS=="win" and target_arch=="x64"', {
1363 'msvs_disabled_warnings': [ 4267, ], 1410 'msvs_disabled_warnings': [ 4267, ],
1364 }], 1411 }],
1365 ['OS=="mac"', { 1412 ['OS=="mac"', {
1366 'sources': [ 1413 'sources': [
1414 'midi/midi_manager_mac_unittest.cc',
1367 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', 1415 'video/capture/mac/video_capture_device_factory_mac_unittest.mm',
1368 ] 1416 ]
1369 }], 1417 }],
1418 ['use_alsa==1', {
1419 'sources': [
1420 'midi/midi_manager_alsa_unittest.cc',
1421 ]
1422 }],
1370 ['use_x11==1', { 1423 ['use_x11==1', {
1371 'dependencies': [ 1424 'dependencies': [
1372 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1425 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1373 ], 1426 ],
1374 }], 1427 }],
1375 ], 1428 ],
1376 }, 1429 },
1377 { 1430 {
1378 # GN version: //media:media_perftests 1431 # GN version: //media:media_perftests
1379 'target_name': 'media_perftests', 1432 'target_name': 'media_perftests',
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 # GN: //media/base/android:media_android_jni_headers 1699 # GN: //media/base/android:media_android_jni_headers
1647 'target_name': 'media_android_jni_headers', 1700 'target_name': 'media_android_jni_headers',
1648 'type': 'none', 1701 'type': 'none',
1649 'sources': [ 1702 'sources': [
1650 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', 1703 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java',
1651 'base/android/java/src/org/chromium/media/AudioRecordInput.java', 1704 'base/android/java/src/org/chromium/media/AudioRecordInput.java',
1652 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', 1705 'base/android/java/src/org/chromium/media/MediaCodecBridge.java',
1653 'base/android/java/src/org/chromium/media/MediaDrmBridge.java', 1706 'base/android/java/src/org/chromium/media/MediaDrmBridge.java',
1654 'base/android/java/src/org/chromium/media/MediaPlayerBridge.java', 1707 'base/android/java/src/org/chromium/media/MediaPlayerBridge.java',
1655 'base/android/java/src/org/chromium/media/MediaPlayerListener.java', 1708 'base/android/java/src/org/chromium/media/MediaPlayerListener.java',
1709 'base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java' ,
1710 'base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroi d.java',
1656 'base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.j ava', 1711 'base/android/java/src/org/chromium/media/WebAudioMediaCodecBridge.j ava',
1657 ], 1712 ],
1658 'variables': { 1713 'variables': {
1659 'jni_gen_package': 'media', 1714 'jni_gen_package': 'media',
1660 }, 1715 },
1661 'includes': ['../build/jni_generator.gypi'], 1716 'includes': ['../build/jni_generator.gypi'],
1662 }, 1717 },
1663 { 1718 {
1664 # GN: //media/base/android:video_capture_android_jni_headers 1719 # GN: //media/base/android:video_capture_android_jni_headers
1665 'target_name': 'video_capture_android_jni_headers', 1720 'target_name': 'video_capture_android_jni_headers',
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 '../build/isolate.gypi', 1948 '../build/isolate.gypi',
1894 ], 1949 ],
1895 'sources': [ 1950 'sources': [
1896 'media_unittests.isolate', 1951 'media_unittests.isolate',
1897 ], 1952 ],
1898 }, 1953 },
1899 ], 1954 ],
1900 }], 1955 }],
1901 ], 1956 ],
1902 } 1957 }
OLDNEW
« no previous file with comments | « media/base/android/media_jni_registrar.cc ('k') | media/midi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698