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

Side by Side Diff: media/media.gyp

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