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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 727 |
728 if (media_use_ffmpeg) { | 728 if (media_use_ffmpeg) { |
729 # Direct dependency required to inherit config. | 729 # Direct dependency required to inherit config. |
730 deps += [ "//third_party/ffmpeg" ] | 730 deps += [ "//third_party/ffmpeg" ] |
731 } | 731 } |
732 } | 732 } |
733 | 733 |
734 # Contains tests for all targets in the "media" folder. | 734 # Contains tests for all targets in the "media" folder. |
735 # TODO(xhwang): Move mojo/capture/remoting tests here where applicable. | 735 # TODO(xhwang): Move mojo/capture/remoting tests here where applicable. |
736 test("media_unittests") { | 736 test("media_unittests") { |
737 # crbug.com/676418: Suppress symbol import warnings. | |
738 if (is_win && is_component_build) { | |
739 ldflags = [ | |
740 "/ignore:4217", | |
741 "/ignore:4049", | |
742 ] | |
743 } | |
744 | |
745 deps = [ | 737 deps = [ |
746 ":unit_tests", | 738 ":unit_tests", |
747 "//media/audio:unit_tests", | 739 "//media/audio:unit_tests", |
748 "//media/base:unit_tests", | 740 "//media/base:unit_tests", |
749 "//media/mojo:unit_tests", | 741 "//media/mojo:unit_tests", |
750 "//media/test:pipeline_integration_tests", | 742 "//media/test:pipeline_integration_tests", |
751 "//media/test:run_all_unittests", | 743 "//media/test:run_all_unittests", |
752 ] | 744 ] |
753 | 745 |
754 if (is_android) { | 746 if (is_android) { |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 971 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
980 sources = [ | 972 sources = [ |
981 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 973 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
982 ] | 974 ] |
983 deps = [ | 975 deps = [ |
984 ":media", | 976 ":media", |
985 "//base", | 977 "//base", |
986 ] | 978 ] |
987 } | 979 } |
988 } | 980 } |
OLD | NEW |