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

Side by Side Diff: third_party/WebKit/Source/wtf/BUILD.gn

Issue 2771783003: Move wtf_unittests to platform/wtf/. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 assert(!is_ios) 5 assert(!is_ios)
6 6
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/WebKit/Source/config.gni") 8 import("//third_party/WebKit/Source/config.gni")
9 9
10 visibility = [ 10 visibility = [
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 "CoreFoundation.framework", 197 "CoreFoundation.framework",
198 "Foundation.framework", 198 "Foundation.framework",
199 ] 199 ]
200 } 200 }
201 201
202 if (remove_webcore_debug_symbols) { 202 if (remove_webcore_debug_symbols) {
203 configs -= [ "//build/config/compiler:default_symbols" ] 203 configs -= [ "//build/config/compiler:default_symbols" ]
204 configs += [ "//build/config/compiler:no_symbols" ] 204 configs += [ "//build/config/compiler:no_symbols" ]
205 } 205 }
206 } 206 }
207
208 test("wtf_unittests") {
209 visibility = [] # Allow re-assignment of list.
210 visibility = [ "*" ]
211
212 sources = [
213 "ASCIICTypeTest.cpp",
214 "AssertionsTest.cpp",
215 "DequeTest.cpp",
216 "FunctionalTest.cpp",
217 "HashMapTest.cpp",
218 "HashSetTest.cpp",
219 "ListHashSetTest.cpp",
220 "MathExtrasTest.cpp",
221 "OptionalTest.cpp",
222 "PassRefPtrTest.cpp",
223 "RefPtrTest.cpp",
224 "StringExtrasTest.cpp",
225 "StringHasherTest.cpp",
226 "TimeTest.cpp",
227 "TreeNodeTest.cpp",
228 "TypeTraitsTest.cpp",
229 "VectorTest.cpp",
230 "dtoa_test.cpp",
231 "testing/RunAllTests.cpp",
232 "text/AtomicStringTest.cpp",
233 "text/CStringTest.cpp",
234 "text/IntegerToStringConversionTest.cpp",
235 "text/StringBufferTest.cpp",
236 "text/StringBuilderTest.cpp",
237 "text/StringImplTest.cpp",
238 "text/StringOperatorsTest.cpp",
239 "text/StringToNumberTest.cpp",
240 "text/StringViewTest.cpp",
241 "text/TextCodecICUTest.cpp",
242 "text/TextCodecLatin1Test.cpp",
243 "text/TextCodecReplacementTest.cpp",
244 "text/TextCodecTest.cpp",
245 "text/TextCodecUTF8Test.cpp",
246 "text/TextCodecUserDefinedTest.cpp",
247 "text/TextEncodingTest.cpp",
248 "text/WTFStringTest.cpp",
249 "typed_arrays/ArrayBufferBuilderTest.cpp",
250 ]
251
252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
253 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
254
255 if (is_win) {
256 cflags = [ "/wd4068" ] # Unknown pragma.
257 }
258
259 configs += [
260 "//third_party/WebKit/Source:config",
261 "//third_party/WebKit/Source:blink_pch",
262 ]
263
264 deps = [
265 ":wtf",
266 "//base",
267 "//base/test:test_support",
268 "//testing/gmock",
269 "//testing/gtest",
270 ]
271 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/AssertionsTest.cpp ('k') | third_party/WebKit/Source/wtf/DequeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698