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

Side by Side Diff: media/mojo/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 | « media/BUILD.gn ('k') | media/mojo/services/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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 source_set("unit_tests") { 7 source_set("unit_tests") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "clients/mojo_audio_decoder_unittest.cc", 10 "clients/mojo_audio_decoder_unittest.cc",
(...skipping 17 matching lines...) Expand all
28 "//media/mojo/interfaces", 28 "//media/mojo/interfaces",
29 "//media/mojo/services:lib", 29 "//media/mojo/services:lib",
30 "//services/service_manager/tests:interfaces", 30 "//services/service_manager/tests:interfaces",
31 "//testing/gmock", 31 "//testing/gmock",
32 "//testing/gtest", 32 "//testing/gtest",
33 "//ui/gfx:test_support", 33 "//ui/gfx:test_support",
34 ] 34 ]
35 } 35 }
36 36
37 test("media_mojo_unittests") { 37 test("media_mojo_unittests") {
38 # crbug.com/676418: Suppress symbol import warnings.
39 if (is_win && is_component_build) {
40 ldflags = [
41 "/ignore:4217",
42 "/ignore:4049",
43 ]
44 }
45
38 deps = [ 46 deps = [
39 ":unit_tests", 47 ":unit_tests",
40 "//mojo/edk/test:run_all_unittests", 48 "//mojo/edk/test:run_all_unittests",
41 ] 49 ]
42 } 50 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698