OLD | NEW |
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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 ":shared_memory_support", | 517 ":shared_memory_support", |
518 "//base", | 518 "//base", |
519 "//gpu/command_buffer/common", | 519 "//gpu/command_buffer/common", |
520 "//media/base:base_for_cast_ios", | 520 "//media/base:base_for_cast_ios", |
521 "//media/base/mac", | 521 "//media/base/mac", |
522 "//ui/gfx/geometry", | 522 "//ui/gfx/geometry", |
523 ] | 523 ] |
524 } | 524 } |
525 } | 525 } |
526 | 526 |
| 527 # TODO(GYP): Delete this after we've converted everything to GN. |
| 528 # The _run targets exist only for compatibility w/ GYP. |
| 529 group("media_unittests_run") { |
| 530 testonly = true |
| 531 deps = [ |
| 532 ":media_unittests", |
| 533 ] |
| 534 } |
| 535 |
527 test("media_unittests") { | 536 test("media_unittests") { |
528 sources = [ | 537 sources = [ |
529 "blink/skcanvas_video_renderer_unittest.cc", | 538 "blink/skcanvas_video_renderer_unittest.cc", |
530 "capture/content/animated_content_sampler_unittest.cc", | 539 "capture/content/animated_content_sampler_unittest.cc", |
531 "capture/content/capture_resolution_chooser_unittest.cc", | 540 "capture/content/capture_resolution_chooser_unittest.cc", |
532 "capture/content/feedback_signal_accumulator_unittest.cc", | 541 "capture/content/feedback_signal_accumulator_unittest.cc", |
533 "capture/content/smooth_event_sampler_unittest.cc", | 542 "capture/content/smooth_event_sampler_unittest.cc", |
534 "capture/content/video_capture_oracle_unittest.cc", | 543 "capture/content/video_capture_oracle_unittest.cc", |
535 "capture/video/fake_video_capture_device_unittest.cc", | 544 "capture/video/fake_video_capture_device_unittest.cc", |
536 "capture/video/video_capture_device_unittest.cc", | 545 "capture/video/video_capture_device_unittest.cc", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 "formats/webm/webm_content_encodings_client_unittest.cc", | 578 "formats/webm/webm_content_encodings_client_unittest.cc", |
570 "formats/webm/webm_parser_unittest.cc", | 579 "formats/webm/webm_parser_unittest.cc", |
571 "formats/webm/webm_tracks_parser_unittest.cc", | 580 "formats/webm/webm_tracks_parser_unittest.cc", |
572 "formats/webm/webm_webvtt_parser_unittest.cc", | 581 "formats/webm/webm_webvtt_parser_unittest.cc", |
573 "renderers/audio_renderer_impl_unittest.cc", | 582 "renderers/audio_renderer_impl_unittest.cc", |
574 "renderers/renderer_impl_unittest.cc", | 583 "renderers/renderer_impl_unittest.cc", |
575 "renderers/video_renderer_impl_unittest.cc", | 584 "renderers/video_renderer_impl_unittest.cc", |
576 "video/h264_poc_unittest.cc", | 585 "video/h264_poc_unittest.cc", |
577 ] | 586 ] |
578 | 587 |
| 588 data = [ |
| 589 "test/data/", |
| 590 ] |
| 591 |
579 # TODO(wolenetz): Fix size_t to int trunctaion in win64. | 592 # TODO(wolenetz): Fix size_t to int trunctaion in win64. |
580 # See http://crbug.com/171009 | 593 # See http://crbug.com/171009 |
581 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 594 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
582 | 595 |
583 deps = [ | 596 deps = [ |
584 ":media", | 597 ":media", |
585 ":test_support", | 598 ":test_support", |
586 "//base/allocator", | 599 "//base/allocator", |
587 "//base/test:test_support", | 600 "//base/test:test_support", |
588 "//media/audio:unittests", | 601 "//media/audio:unittests", |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 "//media/base:test_support", | 788 "//media/base:test_support", |
776 "//media/test:pipeline_integration_tests", | 789 "//media/test:pipeline_integration_tests", |
777 "//testing/gmock", | 790 "//testing/gmock", |
778 "//testing/gtest", | 791 "//testing/gtest", |
779 "//third_party/ffmpeg", | 792 "//third_party/ffmpeg", |
780 "//ui/gfx/geometry", | 793 "//ui/gfx/geometry", |
781 "//ui/gfx:test_support", | 794 "//ui/gfx:test_support", |
782 ] | 795 ] |
783 } | 796 } |
784 } | 797 } |
OLD | NEW |