| 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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 "test/data/", | 799 "test/data/", |
| 800 | 800 |
| 801 # Needed for isolate script to execute. | 801 # Needed for isolate script to execute. |
| 802 "//testing/scripts/common.py", | 802 "//testing/scripts/common.py", |
| 803 "//testing/xvfb.py", | 803 "//testing/xvfb.py", |
| 804 "//testing/scripts/run_gtest_perf_test.py", | 804 "//testing/scripts/run_gtest_perf_test.py", |
| 805 "//tools/perf/generate_legacy_perf_dashboard_json.py", | 805 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
| 806 ] | 806 ] |
| 807 } | 807 } |
| 808 | 808 |
| 809 # For running the subset of media_unittests that might require audio hardware | 809 # The audio subset of media_unittests. This target exists for running only the |
| 810 # separately on GPU bots. media_unittests includes these too. | 810 # audio tests on the GPU bots (which have audio hardware). |
| 811 test("audio_unittests") { | 811 test("audio_unittests") { |
| 812 deps = [ | 812 deps = [ |
| 813 ":test_support", | 813 ":test_support", |
| 814 "//base/test:test_support", | 814 "//base/test:test_support", |
| 815 "//media/audio:unit_tests", | 815 "//media/audio:unit_tests", |
| 816 "//media/base:test_support", | 816 "//media/base:test_support", |
| 817 "//media/test:run_all_unittests", | 817 "//media/test:run_all_unittests", |
| 818 "//ui/gfx:test_support", | 818 "//ui/gfx:test_support", |
| 819 ] | 819 ] |
| 820 if (is_android) { |
| 821 deps += [ |
| 822 # The test needs the java dependencies to add the java classes for their |
| 823 # native counterparts to the test apk. |
| 824 "//media/base/android:media_java", |
| 825 "//ui/android:ui_java", |
| 826 ] |
| 827 } |
| 820 } | 828 } |
| 821 | 829 |
| 822 static_library("test_support") { | 830 static_library("test_support") { |
| 823 testonly = true | 831 testonly = true |
| 824 sources = [ | 832 sources = [ |
| 825 "renderers/mock_gpu_memory_buffer_video_frame_pool.cc", | 833 "renderers/mock_gpu_memory_buffer_video_frame_pool.cc", |
| 826 "renderers/mock_gpu_memory_buffer_video_frame_pool.h", | 834 "renderers/mock_gpu_memory_buffer_video_frame_pool.h", |
| 827 "renderers/mock_gpu_video_accelerator_factories.cc", | 835 "renderers/mock_gpu_video_accelerator_factories.cc", |
| 828 "renderers/mock_gpu_video_accelerator_factories.h", | 836 "renderers/mock_gpu_video_accelerator_factories.h", |
| 829 "video/mock_video_decode_accelerator.cc", | 837 "video/mock_video_decode_accelerator.cc", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 979 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 972 sources = [ | 980 sources = [ |
| 973 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 981 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 974 ] | 982 ] |
| 975 deps = [ | 983 deps = [ |
| 976 ":media", | 984 ":media", |
| 977 "//base", | 985 "//base", |
| 978 ] | 986 ] |
| 979 } | 987 } |
| 980 } | 988 } |
| OLD | NEW |