diff --git a/packager/file/file.gyp b/packager/file/file.gyp index de8b41a591..90f5fd61d0 100644 --- a/packager/file/file.gyp +++ b/packager/file/file.gyp @@ -12,6 +12,7 @@ { 'target_name': 'file', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'callback_file.cc', 'callback_file.h', @@ -42,6 +43,7 @@ { 'target_name': 'file_unittest', 'type': '<(gtest_target_type)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'callback_file_unittest.cc', 'file_unittest.cc', diff --git a/packager/hls/hls.gyp b/packager/hls/hls.gyp index c164cff280..65b558df97 100644 --- a/packager/hls/hls.gyp +++ b/packager/hls/hls.gyp @@ -12,6 +12,7 @@ { 'target_name': 'hls_builder', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/hls_notifier.h', 'base/master_playlist.cc', diff --git a/packager/media/base/media_base.gyp b/packager/media/base/media_base.gyp index 268c69ee4f..4c398c09f8 100644 --- a/packager/media/base/media_base.gyp +++ b/packager/media/base/media_base.gyp @@ -12,6 +12,7 @@ { 'target_name': 'media_base', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'aes_cryptor.cc', 'aes_cryptor.h', diff --git a/packager/media/chunking/chunking.gyp b/packager/media/chunking/chunking.gyp index ea34ac3f0d..cf202f2eab 100644 --- a/packager/media/chunking/chunking.gyp +++ b/packager/media/chunking/chunking.gyp @@ -12,6 +12,7 @@ { 'target_name': 'chunking', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'chunking_handler.cc', 'chunking_handler.h', diff --git a/packager/media/codecs/codecs.gyp b/packager/media/codecs/codecs.gyp index ae4537ba4a..9b21d84a74 100644 --- a/packager/media/codecs/codecs.gyp +++ b/packager/media/codecs/codecs.gyp @@ -12,6 +12,7 @@ { 'target_name': 'codecs', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'aac_audio_specific_config.cc', 'aac_audio_specific_config.h', diff --git a/packager/media/crypto/crypto.gyp b/packager/media/crypto/crypto.gyp index 6f216fb985..7081087936 100644 --- a/packager/media/crypto/crypto.gyp +++ b/packager/media/crypto/crypto.gyp @@ -12,6 +12,7 @@ { 'target_name': 'crypto', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'encryption_handler.cc', 'encryption_handler.h', diff --git a/packager/media/demuxer/demuxer.gyp b/packager/media/demuxer/demuxer.gyp index 473124d1cb..52ad477d33 100644 --- a/packager/media/demuxer/demuxer.gyp +++ b/packager/media/demuxer/demuxer.gyp @@ -12,6 +12,7 @@ { 'target_name': 'demuxer', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'demuxer.cc', 'demuxer.h', diff --git a/packager/media/event/media_event.gyp b/packager/media/event/media_event.gyp index 13086b0cc5..2c04a5a92f 100644 --- a/packager/media/event/media_event.gyp +++ b/packager/media/event/media_event.gyp @@ -12,6 +12,7 @@ { 'target_name': 'media_event', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'combined_muxer_listener.cc', 'combined_muxer_listener.h', diff --git a/packager/media/formats/mp2t/mp2t.gyp b/packager/media/formats/mp2t/mp2t.gyp index 64e5562934..655d050b25 100644 --- a/packager/media/formats/mp2t/mp2t.gyp +++ b/packager/media/formats/mp2t/mp2t.gyp @@ -12,6 +12,7 @@ { 'target_name': 'mp2t', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'ac3_header.cc', 'ac3_header.h', diff --git a/packager/media/formats/mp4/mp4.gyp b/packager/media/formats/mp4/mp4.gyp index 9ee4c6638e..ca97ce1387 100644 --- a/packager/media/formats/mp4/mp4.gyp +++ b/packager/media/formats/mp4/mp4.gyp @@ -12,6 +12,7 @@ { 'target_name': 'mp4', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'box.cc', 'box.h', diff --git a/packager/media/formats/packed_audio/packed_audio.gyp b/packager/media/formats/packed_audio/packed_audio.gyp index aa430dc280..130d687f3d 100644 --- a/packager/media/formats/packed_audio/packed_audio.gyp +++ b/packager/media/formats/packed_audio/packed_audio.gyp @@ -12,6 +12,7 @@ { 'target_name': 'packed_audio', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'packed_audio_segmenter.cc', 'packed_audio_segmenter.h', diff --git a/packager/media/formats/webm/webm.gyp b/packager/media/formats/webm/webm.gyp index 9cc94c0147..a469920ee6 100644 --- a/packager/media/formats/webm/webm.gyp +++ b/packager/media/formats/webm/webm.gyp @@ -12,6 +12,7 @@ { 'target_name': 'webm', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'encryptor.cc', 'encryptor.h', diff --git a/packager/media/formats/webvtt/webvtt.gyp b/packager/media/formats/webvtt/webvtt.gyp index b496c2d605..6b6fdcb576 100644 --- a/packager/media/formats/webvtt/webvtt.gyp +++ b/packager/media/formats/webvtt/webvtt.gyp @@ -12,6 +12,7 @@ { 'target_name': 'webvtt', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'text_padder.cc', 'text_padder.h', diff --git a/packager/media/formats/wvm/wvm.gyp b/packager/media/formats/wvm/wvm.gyp index f523b5f92a..b29e1b8127 100644 --- a/packager/media/formats/wvm/wvm.gyp +++ b/packager/media/formats/wvm/wvm.gyp @@ -12,6 +12,7 @@ { 'target_name': 'wvm', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'wvm_media_parser.cc', 'wvm_media_parser.h', diff --git a/packager/media/origin/origin.gyp b/packager/media/origin/origin.gyp index d1c7c8fddf..4986905164 100644 --- a/packager/media/origin/origin.gyp +++ b/packager/media/origin/origin.gyp @@ -12,6 +12,7 @@ { 'target_name': 'origin', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'origin_handler.cc', 'origin_handler.h', diff --git a/packager/media/public/public.gyp b/packager/media/public/public.gyp index 6f5a37212a..f8e07ebfae 100644 --- a/packager/media/public/public.gyp +++ b/packager/media/public/public.gyp @@ -12,6 +12,7 @@ { 'target_name': 'public', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'ad_cue_generator_params.h', 'chunking_params.h', diff --git a/packager/media/replicator/replicator.gyp b/packager/media/replicator/replicator.gyp index fbb723d5bc..4c1c3f899b 100644 --- a/packager/media/replicator/replicator.gyp +++ b/packager/media/replicator/replicator.gyp @@ -12,6 +12,7 @@ { 'target_name': 'replicator', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'replicator.cc', 'replicator.h', diff --git a/packager/media/test/media_test.gyp b/packager/media/test/media_test.gyp index 924bbb40dc..e53c007417 100644 --- a/packager/media/test/media_test.gyp +++ b/packager/media/test/media_test.gyp @@ -12,6 +12,7 @@ { 'target_name': 'run_tests_with_atexit_manager', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'run_tests_with_atexit_manager.cc', ], diff --git a/packager/media/trick_play/trick_play.gyp b/packager/media/trick_play/trick_play.gyp index 4590ab375b..571b0fbab5 100644 --- a/packager/media/trick_play/trick_play.gyp +++ b/packager/media/trick_play/trick_play.gyp @@ -12,6 +12,7 @@ { 'target_name': 'trick_play', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'trick_play_handler.cc', 'trick_play_handler.h', diff --git a/packager/mpd/mpd.gyp b/packager/mpd/mpd.gyp index d3d95834b3..cde23761f9 100644 --- a/packager/mpd/mpd.gyp +++ b/packager/mpd/mpd.gyp @@ -14,6 +14,7 @@ { 'target_name': 'media_info_proto', 'type': 'static_library', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/media_info.proto', ], @@ -28,6 +29,7 @@ # directory shared by MPD and HLS. 'target_name': 'manifest_base', 'type': 'static_library', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/bandwidth_estimator.cc', 'base/bandwidth_estimator.h', @@ -39,6 +41,7 @@ { 'target_name': 'mpd_builder', 'type': 'static_library', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/adaptation_set.cc', 'base/adaptation_set.h', @@ -82,6 +85,7 @@ { 'target_name': 'mpd_mocks', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/mock_mpd_builder.cc', 'base/mock_mpd_builder.h', @@ -96,6 +100,7 @@ { 'target_name': 'mpd_unittest', 'type': '<(gtest_target_type)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'base/adaptation_set_unittest.cc', 'base/bandwidth_estimator_unittest.cc', @@ -125,6 +130,7 @@ { 'target_name': 'mpd_util', 'type': '<(component)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ 'util/mpd_writer.cc', 'util/mpd_writer.h', diff --git a/packager/packager.gyp b/packager/packager.gyp index ab213c7fbe..e936beb317 100644 --- a/packager/packager.gyp +++ b/packager/packager.gyp @@ -12,6 +12,7 @@ { 'target_name': 'libpackager', 'type': '<(libpackager_type)', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ # TODO(kqyang): Clean up the file path. 'app/job_manager.cc', diff --git a/packager/testing/gtest.gyp b/packager/testing/gtest.gyp index 2e5510f897..639a2032df 100644 --- a/packager/testing/gtest.gyp +++ b/packager/testing/gtest.gyp @@ -11,6 +11,7 @@ 'target_name': 'gtest', 'toolsets': ['host', 'target'], 'type': 'static_library', + 'msvs_disabled_warnings': [ 4267, 4819, ], 'sources': [ '<@(gtest_sources)', ], @@ -193,7 +194,7 @@ ], }], ], - 'msvs_disabled_warnings': [4800], + 'msvs_disabled_warnings': [4800, 4819], }, }, { diff --git a/packager/third_party/boringssl/boringssl.gyp b/packager/third_party/boringssl/boringssl.gyp index 75d0829685..f9742cf489 100644 --- a/packager/third_party/boringssl/boringssl.gyp +++ b/packager/third_party/boringssl/boringssl.gyp @@ -34,7 +34,7 @@ }, # TODO(davidben): Fix size_t truncations in BoringSSL. # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], + 'msvs_disabled_warnings': [ 4267, 4819, ], 'conditions': [ ['component == "shared_library"', { 'defines': [ @@ -73,7 +73,7 @@ 'dependencies': [ 'boringssl_asm' ], # TODO(davidben): Fix size_t truncations in BoringSSL. # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], + 'msvs_disabled_warnings': [ 4267, 4819, ], 'conditions': [ ['component == "shared_library"', { 'defines': [ diff --git a/packager/third_party/curl/curl.gyp b/packager/third_party/curl/curl.gyp index 27afa68dfb..158e4e9282 100644 --- a/packager/third_party/curl/curl.gyp +++ b/packager/third_party/curl/curl.gyp @@ -91,7 +91,7 @@ 'source/lib/system_win32.c', 'source/lib/system_win32.h', ], - 'msvs_disabled_warnings': [ 4267, ], + 'msvs_disabled_warnings': [ 4267, 4819, ], }], ], 'defines': [