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