Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(893)

Side by Side Diff: media/BUILD.gn

Issue 2581893002: Use the /WX flag to have link warnings treated as errors. (Closed)
Patch Set: Move /WX setter into :compiler and respect fatal_linker_warnings Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/win/BUILD.gn ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 729
730 if (media_use_ffmpeg) { 730 if (media_use_ffmpeg) {
731 # Direct dependency required to inherit config. 731 # Direct dependency required to inherit config.
732 deps += [ "//third_party/ffmpeg" ] 732 deps += [ "//third_party/ffmpeg" ]
733 } 733 }
734 } 734 }
735 735
736 # Contains tests for all targets in the "media" folder. 736 # Contains tests for all targets in the "media" folder.
737 # TODO(xhwang): Move mojo/capture/remoting tests here where applicable. 737 # TODO(xhwang): Move mojo/capture/remoting tests here where applicable.
738 test("media_unittests") { 738 test("media_unittests") {
739 # crbug.com/676418: Suppress symbol import warnings.
740 if (is_win && is_component_build) {
741 ldflags = [
742 "/ignore:4217",
743 "/ignore:4049",
744 ]
745 }
746
739 deps = [ 747 deps = [
740 ":unit_tests", 748 ":unit_tests",
741 "//media/audio:unit_tests", 749 "//media/audio:unit_tests",
742 "//media/base:unit_tests", 750 "//media/base:unit_tests",
743 "//media/mojo:unit_tests", 751 "//media/mojo:unit_tests",
744 "//media/test:pipeline_integration_tests", 752 "//media/test:pipeline_integration_tests",
745 "//media/test:run_all_unittests", 753 "//media/test:run_all_unittests",
746 ] 754 ]
747 755
748 if (is_android) { 756 if (is_android) {
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 fuzzer_test("media_mp4_avcc_parser_fuzzer") { 966 fuzzer_test("media_mp4_avcc_parser_fuzzer") {
959 sources = [ 967 sources = [
960 "formats/mp4/mp4_avcc_parser_fuzzer.cc", 968 "formats/mp4/mp4_avcc_parser_fuzzer.cc",
961 ] 969 ]
962 deps = [ 970 deps = [
963 ":media", 971 ":media",
964 "//base", 972 "//base",
965 ] 973 ]
966 } 974 }
967 } 975 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698