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/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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 ldflags = [ | 629 ldflags = [ |
630 "/ignore:4217", | 630 "/ignore:4217", |
631 "/ignore:4049", | 631 "/ignore:4049", |
632 ] | 632 ] |
633 } | 633 } |
634 | 634 |
635 deps = [ | 635 deps = [ |
636 ":unit_tests", | 636 ":unit_tests", |
637 "//media/audio:unit_tests", | 637 "//media/audio:unit_tests", |
638 "//media/base:unit_tests", | 638 "//media/base:unit_tests", |
639 "//media/gpu:unit_tests", | |
640 "//media/mojo:unit_tests", | 639 "//media/mojo:unit_tests", |
641 "//media/test:pipeline_integration_tests", | 640 "//media/test:pipeline_integration_tests", |
642 "//media/test:run_all_unittests", | 641 "//media/test:run_all_unittests", |
643 ] | 642 ] |
644 | 643 |
| 644 if (is_android) { |
| 645 deps += [ |
| 646 # The test needs the java dependencies to add the java classes for their |
| 647 # native counterparts to the test apk. |
| 648 "//media/base/android:media_java", |
| 649 "//media/gpu:android_video_decode_accelerator_unittests", |
| 650 "//ui/android:ui_java", |
| 651 ] |
| 652 } |
| 653 |
645 if (enable_media_remoting) { | 654 if (enable_media_remoting) { |
646 deps += [ "//media/remoting:media_remoting_tests" ] | 655 deps += [ "//media/remoting:media_remoting_tests" ] |
647 } | 656 } |
648 | 657 |
649 if (proprietary_codecs) { | 658 if (proprietary_codecs) { |
650 configs += [ "//third_party/opus:opus_config" ] | 659 configs += [ "//third_party/opus:opus_config" ] |
651 } | 660 } |
652 } | 661 } |
653 | 662 |
654 test("media_perftests") { | 663 test("media_perftests") { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 869 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
861 sources = [ | 870 sources = [ |
862 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 871 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
863 ] | 872 ] |
864 deps = [ | 873 deps = [ |
865 ":media", | 874 ":media", |
866 "//base", | 875 "//base", |
867 ] | 876 ] |
868 } | 877 } |
869 } | 878 } |
OLD | NEW |