| 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 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 22 matching lines...) Expand all Loading... |
| 33 "CPU.h", | 33 "CPU.h", |
| 34 "CheckedNumeric.h", | 34 "CheckedNumeric.h", |
| 35 "Compiler.h", | 35 "Compiler.h", |
| 36 "ConditionalDestructor.h", | 36 "ConditionalDestructor.h", |
| 37 "ContainerAnnotations.h", | 37 "ContainerAnnotations.h", |
| 38 "CryptographicallyRandomNumber.h", | 38 "CryptographicallyRandomNumber.h", |
| 39 "CurrentTime.h", | 39 "CurrentTime.h", |
| 40 "DataLog.h", | 40 "DataLog.h", |
| 41 "DateMath.h", | 41 "DateMath.h", |
| 42 "Deque.h", | 42 "Deque.h", |
| 43 "DoublyLinkedList.h", |
| 43 "Dummy.cpp", | 44 "Dummy.cpp", |
| 44 "DoublyLinkedList.h", | |
| 45 "DynamicAnnotations.h", | 45 "DynamicAnnotations.h", |
| 46 "FilePrintStream.h", | 46 "FilePrintStream.h", |
| 47 "Forward.h", | 47 "Forward.h", |
| 48 "Functional.h", | 48 "Functional.h", |
| 49 "GetPtr.h", | 49 "GetPtr.h", |
| 50 "HashCountedSet.h", | 50 "HashCountedSet.h", |
| 51 "HashFunctions.h", | 51 "HashFunctions.h", |
| 52 "HashIterators.h", | 52 "HashIterators.h", |
| 53 "HashMap.h", | 53 "HashMap.h", |
| 54 "HashSet.h", | 54 "HashSet.h", |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 "CoreFoundation.framework", | 193 "CoreFoundation.framework", |
| 194 "Foundation.framework", | 194 "Foundation.framework", |
| 195 ] | 195 ] |
| 196 } | 196 } |
| 197 | 197 |
| 198 if (remove_webcore_debug_symbols) { | 198 if (remove_webcore_debug_symbols) { |
| 199 configs -= [ "//build/config/compiler:default_symbols" ] | 199 configs -= [ "//build/config/compiler:default_symbols" ] |
| 200 configs += [ "//build/config/compiler:no_symbols" ] | 200 configs += [ "//build/config/compiler:no_symbols" ] |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 | |
| 204 test("wtf_unittests") { | |
| 205 visibility = [] # Allow re-assignment of list. | |
| 206 visibility = [ "*" ] | |
| 207 | |
| 208 sources = [ | |
| 209 "ASCIICTypeTest.cpp", | |
| 210 "AssertionsTest.cpp", | |
| 211 "DequeTest.cpp", | |
| 212 "FunctionalTest.cpp", | |
| 213 "HashMapTest.cpp", | |
| 214 "HashSetTest.cpp", | |
| 215 "ListHashSetTest.cpp", | |
| 216 "MathExtrasTest.cpp", | |
| 217 "OptionalTest.cpp", | |
| 218 "PassRefPtrTest.cpp", | |
| 219 "RefPtrTest.cpp", | |
| 220 "StringExtrasTest.cpp", | |
| 221 "StringHasherTest.cpp", | |
| 222 "TimeTest.cpp", | |
| 223 "TreeNodeTest.cpp", | |
| 224 "TypeTraitsTest.cpp", | |
| 225 "VectorTest.cpp", | |
| 226 "dtoa_test.cpp", | |
| 227 "testing/RunAllTests.cpp", | |
| 228 "text/AtomicStringTest.cpp", | |
| 229 "text/CStringTest.cpp", | |
| 230 "text/IntegerToStringConversionTest.cpp", | |
| 231 "text/StringBufferTest.cpp", | |
| 232 "text/StringBuilderTest.cpp", | |
| 233 "text/StringImplTest.cpp", | |
| 234 "text/StringOperatorsTest.cpp", | |
| 235 "text/StringToNumberTest.cpp", | |
| 236 "text/StringViewTest.cpp", | |
| 237 "text/TextCodecICUTest.cpp", | |
| 238 "text/TextCodecLatin1Test.cpp", | |
| 239 "text/TextCodecReplacementTest.cpp", | |
| 240 "text/TextCodecTest.cpp", | |
| 241 "text/TextCodecUTF8Test.cpp", | |
| 242 "text/TextCodecUserDefinedTest.cpp", | |
| 243 "text/TextEncodingTest.cpp", | |
| 244 "text/WTFStringTest.cpp", | |
| 245 "typed_arrays/ArrayBufferBuilderTest.cpp", | |
| 246 ] | |
| 247 | |
| 248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 249 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 250 | |
| 251 if (is_win) { | |
| 252 cflags = [ "/wd4068" ] # Unknown pragma. | |
| 253 } | |
| 254 | |
| 255 configs += [ | |
| 256 "//third_party/WebKit/Source:config", | |
| 257 "//third_party/WebKit/Source:blink_pch", | |
| 258 ] | |
| 259 | |
| 260 deps = [ | |
| 261 ":wtf", | |
| 262 "//base", | |
| 263 "//base/test:test_support", | |
| 264 "//testing/gmock", | |
| 265 "//testing/gtest", | |
| 266 ] | |
| 267 } | |
| OLD | NEW |