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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 "WTF.h", | 101 "WTF.h", |
102 "WTFExport.h", | 102 "WTFExport.h", |
103 "WTFThreadData.cpp", | 103 "WTFThreadData.cpp", |
104 "WTFThreadData.h", | 104 "WTFThreadData.h", |
105 "WeakPtr.h", | 105 "WeakPtr.h", |
106 "allocator/PartitionAllocator.h", | 106 "allocator/PartitionAllocator.h", |
107 "allocator/Partitions.h", | 107 "allocator/Partitions.h", |
108 "build_config.h", | 108 "build_config.h", |
109 "debug/Alias.h", | 109 "debug/Alias.h", |
110 "debug/CrashLogging.h", | 110 "debug/CrashLogging.h", |
111 "dtoa.cpp", | |
112 "dtoa.h", | 111 "dtoa.h", |
113 "dtoa/bignum-dtoa.cc", | |
114 "dtoa/bignum-dtoa.h", | 112 "dtoa/bignum-dtoa.h", |
115 "dtoa/bignum.cc", | |
116 "dtoa/bignum.h", | 113 "dtoa/bignum.h", |
117 "dtoa/cached-powers.cc", | |
118 "dtoa/cached-powers.h", | 114 "dtoa/cached-powers.h", |
119 "dtoa/diy-fp.cc", | |
120 "dtoa/diy-fp.h", | 115 "dtoa/diy-fp.h", |
121 "dtoa/double-conversion.cc", | |
122 "dtoa/double-conversion.h", | 116 "dtoa/double-conversion.h", |
123 "dtoa/double.h", | 117 "dtoa/double.h", |
124 "dtoa/fast-dtoa.cc", | |
125 "dtoa/fast-dtoa.h", | 118 "dtoa/fast-dtoa.h", |
126 "dtoa/fixed-dtoa.cc", | |
127 "dtoa/fixed-dtoa.h", | 119 "dtoa/fixed-dtoa.h", |
128 "dtoa/strtod.cc", | |
129 "dtoa/strtod.h", | 120 "dtoa/strtod.h", |
130 "dtoa/utils.h", | 121 "dtoa/utils.h", |
131 "text/ASCIIFastPath.h", | 122 "text/ASCIIFastPath.h", |
132 "text/AtomicString.cpp", | |
133 "text/AtomicString.h", | 123 "text/AtomicString.h", |
134 "text/AtomicStringCF.cpp", | |
135 "text/AtomicStringHash.h", | 124 "text/AtomicStringHash.h", |
136 "text/AtomicStringTable.cpp", | |
137 "text/AtomicStringTable.h", | 125 "text/AtomicStringTable.h", |
138 "text/Base64.cpp", | 126 "text/Base64.cpp", |
139 "text/Base64.h", | 127 "text/Base64.h", |
140 "text/CString.cpp", | |
141 "text/CString.h", | 128 "text/CString.h", |
142 "text/CharacterNames.h", | 129 "text/CharacterNames.h", |
143 "text/Collator.h", | 130 "text/Collator.h", |
144 "text/IntegerToStringConversion.h", | 131 "text/IntegerToStringConversion.h", |
145 "text/ParsingUtilities.h", | 132 "text/ParsingUtilities.h", |
146 "text/StringBuffer.h", | 133 "text/StringBuffer.h", |
147 "text/StringBuilder.cpp", | |
148 "text/StringBuilder.h", | 134 "text/StringBuilder.h", |
149 "text/StringConcatenate.cpp", | |
150 "text/StringConcatenate.h", | 135 "text/StringConcatenate.h", |
151 "text/StringHash.h", | 136 "text/StringHash.h", |
152 "text/StringImpl.cpp", | |
153 "text/StringImpl.h", | 137 "text/StringImpl.h", |
154 "text/StringImplCF.cpp", | |
155 "text/StringImplMac.mm", | |
156 "text/StringMac.mm", | |
157 "text/StringOperators.h", | 138 "text/StringOperators.h", |
158 "text/StringStatics.cpp", | |
159 "text/StringToNumber.cpp", | |
160 "text/StringToNumber.h", | 139 "text/StringToNumber.h", |
161 "text/StringUTF8Adaptor.h", | 140 "text/StringUTF8Adaptor.h", |
162 "text/StringView.cpp", | |
163 "text/StringView.h", | 141 "text/StringView.h", |
164 "text/TextCodec.cpp", | 142 "text/TextCodec.cpp", |
165 "text/TextCodec.h", | 143 "text/TextCodec.h", |
166 "text/TextCodecASCIIFastPath.h", | 144 "text/TextCodecASCIIFastPath.h", |
167 "text/TextCodecICU.cpp", | 145 "text/TextCodecICU.cpp", |
168 "text/TextCodecLatin1.cpp", | 146 "text/TextCodecLatin1.cpp", |
169 "text/TextCodecReplacement.cpp", | 147 "text/TextCodecReplacement.cpp", |
170 "text/TextCodecReplacement.h", | 148 "text/TextCodecReplacement.h", |
171 "text/TextCodecUTF16.cpp", | 149 "text/TextCodecUTF16.cpp", |
172 "text/TextCodecUTF8.cpp", | 150 "text/TextCodecUTF8.cpp", |
173 "text/TextCodecUTF8.h", | 151 "text/TextCodecUTF8.h", |
174 "text/TextCodecUserDefined.cpp", | 152 "text/TextCodecUserDefined.cpp", |
175 "text/TextEncoding.cpp", | 153 "text/TextEncoding.cpp", |
176 "text/TextEncodingRegistry.cpp", | 154 "text/TextEncodingRegistry.cpp", |
177 "text/TextPosition.cpp", | 155 "text/TextPosition.cpp", |
178 "text/TextPosition.h", | 156 "text/TextPosition.h", |
179 "text/UTF8.cpp", | |
180 "text/UTF8.h", | 157 "text/UTF8.h", |
181 "text/Unicode.h", | 158 "text/Unicode.h", |
182 "text/WTFString.cpp", | |
183 "text/WTFString.h", | 159 "text/WTFString.h", |
184 "text/icu/CollatorICU.cpp", | 160 "text/icu/CollatorICU.cpp", |
185 "text/icu/UnicodeIcu.h", | 161 "text/icu/UnicodeIcu.h", |
186 "typed_arrays/ArrayBuffer.cpp", | 162 "typed_arrays/ArrayBuffer.cpp", |
187 "typed_arrays/ArrayBuffer.h", | 163 "typed_arrays/ArrayBuffer.h", |
188 "typed_arrays/ArrayBufferBuilder.cpp", | 164 "typed_arrays/ArrayBufferBuilder.cpp", |
189 "typed_arrays/ArrayBufferBuilder.h", | 165 "typed_arrays/ArrayBufferBuilder.h", |
190 "typed_arrays/ArrayBufferContents.cpp", | 166 "typed_arrays/ArrayBufferContents.cpp", |
191 "typed_arrays/ArrayBufferContents.h", | 167 "typed_arrays/ArrayBufferContents.h", |
192 "typed_arrays/ArrayBufferView.cpp", | 168 "typed_arrays/ArrayBufferView.cpp", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 220 } |
245 if (is_linux) { | 221 if (is_linux) { |
246 libs = [ "dl" ] | 222 libs = [ "dl" ] |
247 } | 223 } |
248 | 224 |
249 if (is_mac) { | 225 if (is_mac) { |
250 libs = [ | 226 libs = [ |
251 "CoreFoundation.framework", | 227 "CoreFoundation.framework", |
252 "Foundation.framework", | 228 "Foundation.framework", |
253 ] | 229 ] |
254 } else { | |
255 sources -= [ | |
256 "text/AtomicStringCF.cpp", | |
257 "text/StringImplCF.cpp", | |
258 ] | |
259 } | 230 } |
260 | 231 |
261 if (remove_webcore_debug_symbols) { | 232 if (remove_webcore_debug_symbols) { |
262 configs -= [ "//build/config/compiler:default_symbols" ] | 233 configs -= [ "//build/config/compiler:default_symbols" ] |
263 configs += [ "//build/config/compiler:no_symbols" ] | 234 configs += [ "//build/config/compiler:no_symbols" ] |
264 } | 235 } |
265 } | 236 } |
266 | 237 |
267 test("wtf_unittests") { | 238 test("wtf_unittests") { |
268 visibility = [] # Allow re-assignment of list. | 239 visibility = [] # Allow re-assignment of list. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 ] | 292 ] |
322 | 293 |
323 deps = [ | 294 deps = [ |
324 ":wtf", | 295 ":wtf", |
325 "//base", | 296 "//base", |
326 "//base/test:test_support", | 297 "//base/test:test_support", |
327 "//testing/gmock", | 298 "//testing/gmock", |
328 "//testing/gtest", | 299 "//testing/gtest", |
329 ] | 300 ] |
330 } | 301 } |
OLD | NEW |