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

Side by Side Diff: courgette/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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
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 static_library("courgette_lib") { 7 static_library("courgette_lib") {
8 sources = [ 8 sources = [
9 "adjustment_method.cc", 9 "adjustment_method.cc",
10 "adjustment_method_2.cc", 10 "adjustment_method_2.cc",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 "disassembler_win32_x64_unittest.cc", 100 "disassembler_win32_x64_unittest.cc",
101 "encoded_program_unittest.cc", 101 "encoded_program_unittest.cc",
102 "encode_decode_unittest.cc", 102 "encode_decode_unittest.cc",
103 "ensemble_unittest.cc", 103 "ensemble_unittest.cc",
104 "streams_unittest.cc", 104 "streams_unittest.cc",
105 "typedrva_unittest.cc", 105 "typedrva_unittest.cc",
106 "versioning_unittest.cc", 106 "versioning_unittest.cc",
107 "third_party/paged_array_unittest.cc", 107 "third_party/paged_array_unittest.cc",
108 ] 108 ]
109 109
110 if (is_win) { 110 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
111 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 111 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
112 cflags = [ "/wd4267" ]
113 }
114 112
115 deps = [ 113 deps = [
116 ":courgette_lib", 114 ":courgette_lib",
117 "//base", 115 "//base",
118 "//base:i18n", 116 "//base:i18n",
119 "//base/allocator", 117 "//base/allocator",
120 "//base/test:run_all_unittests", 118 "//base/test:run_all_unittests",
121 "//base/test:test_support", 119 "//base/test:test_support",
122 "//testing/gtest", 120 "//testing/gtest",
123 ] 121 ]
124 } 122 }
125 123
126 test("courgette_fuzz") { 124 test("courgette_fuzz") {
127 sources = [ 125 sources = [
128 "base_test_unittest.cc", 126 "base_test_unittest.cc",
129 "base_test_unittest.h", 127 "base_test_unittest.h",
130 "encoded_program_fuzz_unittest.cc", 128 "encoded_program_fuzz_unittest.cc",
131 ] 129 ]
132 deps = [ 130 deps = [
133 ":courgette_lib", 131 ":courgette_lib",
134 "//base", 132 "//base",
135 "//base:i18n", 133 "//base:i18n",
136 "//base/test:test_support", 134 "//base/test:test_support",
137 "//testing/gtest", 135 "//testing/gtest",
138 ] 136 ]
139 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698