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

Side by Side Diff: media/BUILD.gn

Issue 2967543004: Revert of Created new target unit_tests in //media/formats. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | media/formats/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 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 "filters/source_buffer_state_unittest.cc", 478 "filters/source_buffer_state_unittest.cc",
479 "filters/source_buffer_stream_unittest.cc", 479 "filters/source_buffer_stream_unittest.cc",
480 "filters/video_cadence_estimator_unittest.cc", 480 "filters/video_cadence_estimator_unittest.cc",
481 "filters/video_decoder_selector_unittest.cc", 481 "filters/video_decoder_selector_unittest.cc",
482 "filters/video_frame_stream_unittest.cc", 482 "filters/video_frame_stream_unittest.cc",
483 "filters/video_renderer_algorithm_unittest.cc", 483 "filters/video_renderer_algorithm_unittest.cc",
484 "filters/vp8_bool_decoder_unittest.cc", 484 "filters/vp8_bool_decoder_unittest.cc",
485 "filters/vp8_parser_unittest.cc", 485 "filters/vp8_parser_unittest.cc",
486 "filters/vp9_parser_unittest.cc", 486 "filters/vp9_parser_unittest.cc",
487 "filters/vp9_raw_bits_reader_unittest.cc", 487 "filters/vp9_raw_bits_reader_unittest.cc",
488 "formats/ac3/ac3_util_unittest.cc",
489 "formats/common/offset_byte_queue_unittest.cc",
490 "formats/webm/cluster_builder.cc",
491 "formats/webm/cluster_builder.h",
492 "formats/webm/opus_packet_builder.cc",
493 "formats/webm/opus_packet_builder.h",
494 "formats/webm/tracks_builder.cc",
495 "formats/webm/tracks_builder.h",
496 "formats/webm/webm_cluster_parser_unittest.cc",
497 "formats/webm/webm_content_encodings_client_unittest.cc",
498 "formats/webm/webm_crypto_helpers_unittest.cc",
499 "formats/webm/webm_parser_unittest.cc",
500 "formats/webm/webm_stream_parser_unittest.cc",
501 "formats/webm/webm_tracks_parser_unittest.cc",
502 "formats/webm/webm_webvtt_parser_unittest.cc",
488 "muxers/webm_muxer_unittest.cc", 503 "muxers/webm_muxer_unittest.cc",
489 "renderers/audio_renderer_impl_unittest.cc", 504 "renderers/audio_renderer_impl_unittest.cc",
490 "renderers/renderer_impl_unittest.cc", 505 "renderers/renderer_impl_unittest.cc",
491 "renderers/skcanvas_video_renderer_unittest.cc", 506 "renderers/skcanvas_video_renderer_unittest.cc",
492 "renderers/video_renderer_impl_unittest.cc", 507 "renderers/video_renderer_impl_unittest.cc",
493 "video/gpu_memory_buffer_video_frame_pool_unittest.cc", 508 "video/gpu_memory_buffer_video_frame_pool_unittest.cc",
494 "video/h264_poc_unittest.cc", 509 "video/h264_poc_unittest.cc",
495 "video/half_float_maker_unittest.cc", 510 "video/half_float_maker_unittest.cc",
496 ] 511 ]
497 512
498 data = [ 513 data = [
499 "test/data/", 514 "test/data/",
500 ] 515 ]
501 516
502 # TODO(wolenetz): Fix size_t to int truncation in win64. 517 # TODO(wolenetz): Fix size_t to int truncation in win64.
503 # See http://crbug.com/171009 518 # See http://crbug.com/171009
504 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 519 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
505 520
506 deps = [ 521 deps = [
507 ":cdm_api", 522 ":cdm_api",
508 ":cdm_paths", 523 ":cdm_paths",
509 ":media", 524 ":media",
510 ":test_support", 525 ":test_support",
511 "//base/test:test_support", 526 "//base/test:test_support",
512 "//crypto", 527 "//crypto",
513 "//gpu:test_support", 528 "//gpu:test_support",
514 "//gpu/command_buffer/common", 529 "//gpu/command_buffer/common",
515 "//media/audio:test_support", 530 "//media/audio:test_support",
516 "//media/base:test_support", 531 "//media/base:test_support",
517 "//media/formats:unit_tests",
518 "//ppapi/features", 532 "//ppapi/features",
519 "//skia", # Direct dependency required to inherit config. 533 "//skia", # Direct dependency required to inherit config.
520 "//testing/gmock", 534 "//testing/gmock",
521 "//testing/gtest", 535 "//testing/gtest",
522 "//third_party/libwebm", 536 "//third_party/libwebm",
523 "//third_party/libyuv", 537 "//third_party/libyuv",
524 "//third_party/widevine/cdm:headers", 538 "//third_party/widevine/cdm:headers",
525 "//ui/gfx:test_support", 539 "//ui/gfx:test_support",
526 "//url", 540 "//url",
527 ] 541 ]
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 # FFmpeg on Android does not include video decoders. 579 # FFmpeg on Android does not include video decoders.
566 sources += [ "filters/ffmpeg_video_decoder_unittest.cc" ] 580 sources += [ "filters/ffmpeg_video_decoder_unittest.cc" ]
567 } 581 }
568 } 582 }
569 583
570 if (current_cpu != "arm" && is_chromeos) { 584 if (current_cpu != "arm" && is_chromeos) {
571 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] 585 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ]
572 } 586 }
573 587
574 if (proprietary_codecs) { 588 if (proprietary_codecs) {
589 sources += [
590 "cdm/cenc_utils_unittest.cc",
591 "filters/h264_to_annex_b_bitstream_converter_unittest.cc",
592 "formats/common/stream_parser_test_base.cc",
593 "formats/common/stream_parser_test_base.h",
594 "formats/mp4/aac_unittest.cc",
595 "formats/mp4/avc_unittest.cc",
596 "formats/mp4/box_reader_unittest.cc",
597 "formats/mp4/es_descriptor_unittest.cc",
598 "formats/mp4/mp4_stream_parser_unittest.cc",
599 "formats/mp4/sample_to_group_iterator_unittest.cc",
600 "formats/mp4/track_run_iterator_unittest.cc",
601 "formats/mpeg/adts_stream_parser_unittest.cc",
602 "formats/mpeg/mpeg1_audio_stream_parser_unittest.cc",
603 ]
604 if (enable_mse_mpeg2ts_stream_parser) {
605 sources += [
606 "formats/mp2t/es_adapter_video_unittest.cc",
607 "formats/mp2t/es_parser_adts_unittest.cc",
608 "formats/mp2t/es_parser_h264_unittest.cc",
609 "formats/mp2t/es_parser_mpeg1audio_unittest.cc",
610 "formats/mp2t/es_parser_test_base.cc",
611 "formats/mp2t/es_parser_test_base.h",
612 "formats/mp2t/mp2t_stream_parser_unittest.cc",
613 "formats/mp2t/timestamp_unroller_unittest.cc",
614 ]
615 }
575 if (media_use_ffmpeg) { 616 if (media_use_ffmpeg) {
576 sources += [ 617 sources += [
577 "filters/ffmpeg_aac_bitstream_converter_unittest.cc", 618 "filters/ffmpeg_aac_bitstream_converter_unittest.cc",
578 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc", 619 "filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc",
579 ] 620 ]
580 } 621 }
581 if (enable_hevc_demuxing) { 622 if (enable_hevc_demuxing) {
582 sources += [ "filters/h265_parser_unittest.cc" ] 623 sources += [ "filters/h265_parser_unittest.cc" ]
583 } 624 }
584 if (enable_hls_sample_aes) { 625 if (enable_hls_sample_aes) {
585 deps += [ "//third_party/boringssl" ] 626 deps += [ "//third_party/boringssl" ]
586 } 627 }
628 if (enable_dolby_vision_demuxing) {
629 sources += [ "formats/mp4/dolby_vision_unittest.cc" ]
630 }
587 } 631 }
588 632
589 if (is_mac || is_ios) { 633 if (is_mac || is_ios) {
590 libs = [ 634 libs = [
591 "AppKit.framework", 635 "AppKit.framework",
592 "Foundation.framework", 636 "Foundation.framework",
593 ] 637 ]
594 } 638 }
595 639
596 configs += [ ":media_config" ] 640 configs += [ ":media_config" ]
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 fuzzer_test("media_mp4_avcc_parser_fuzzer") { 893 fuzzer_test("media_mp4_avcc_parser_fuzzer") {
850 sources = [ 894 sources = [
851 "formats/mp4/mp4_avcc_parser_fuzzer.cc", 895 "formats/mp4/mp4_avcc_parser_fuzzer.cc",
852 ] 896 ]
853 deps = [ 897 deps = [
854 ":media", 898 ":media",
855 "//base", 899 "//base",
856 ] 900 ]
857 } 901 }
858 } 902 }
OLDNEW
« no previous file with comments | « no previous file | media/formats/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698