| 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", |
| 639 "//media/mojo:unit_tests", | 640 "//media/mojo:unit_tests", |
| 640 "//media/test:pipeline_integration_tests", | 641 "//media/test:pipeline_integration_tests", |
| 641 "//media/test:run_all_unittests", | 642 "//media/test:run_all_unittests", |
| 642 ] | 643 ] |
| 643 | 644 |
| 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 | |
| 654 if (enable_media_remoting) { | 645 if (enable_media_remoting) { |
| 655 deps += [ "//media/remoting:media_remoting_tests" ] | 646 deps += [ "//media/remoting:media_remoting_tests" ] |
| 656 } | 647 } |
| 657 | 648 |
| 658 if (proprietary_codecs) { | 649 if (proprietary_codecs) { |
| 659 configs += [ "//third_party/opus:opus_config" ] | 650 configs += [ "//third_party/opus:opus_config" ] |
| 660 } | 651 } |
| 661 } | 652 } |
| 662 | 653 |
| 663 test("media_perftests") { | 654 test("media_perftests") { |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 860 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 870 sources = [ | 861 sources = [ |
| 871 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 862 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 872 ] | 863 ] |
| 873 deps = [ | 864 deps = [ |
| 874 ":media", | 865 ":media", |
| 875 "//base", | 866 "//base", |
| 876 ] | 867 ] |
| 877 } | 868 } |
| 878 } | 869 } |
| OLD | NEW |