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

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

Issue 2767153004: Move files in wtf/ to platform/wtf/ (Part 12). (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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 # The below is a temporary setup during the WTF migration project: 5 # The below is a temporary setup during the WTF migration project:
6 # https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYC AAJ 6 # https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYC AAJ
7 # 7 #
8 # We are moving wtf/ files to platform/wtf/ incrementally, thus, conceptually, 8 # We are moving wtf/ files to platform/wtf/ incrementally, thus, conceptually,
9 # the "wtf" target in wtf/BUILD.gn is being split into two, in a way that 9 # the "wtf" target in wtf/BUILD.gn is being split into two, in a way that
10 # only wtf/ can refer the contents in platform/wtf/. 10 # only wtf/ can refer the contents in platform/wtf/.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "AddressSanitizer.h", 64 "AddressSanitizer.h",
65 "Alignment.h", 65 "Alignment.h",
66 "Allocator.h", 66 "Allocator.h",
67 "Assertions.cpp", 67 "Assertions.cpp",
68 "Assertions.h", 68 "Assertions.h",
69 "Atomics.h", 69 "Atomics.h",
70 "AutoReset.h", 70 "AutoReset.h",
71 "BitVector.cpp", 71 "BitVector.cpp",
72 "BitVector.h", 72 "BitVector.h",
73 "BitwiseOperations.h", 73 "BitwiseOperations.h",
74 "BloomFilter.h",
75 "ByteOrder.h",
74 "ByteSwap.h", 76 "ByteSwap.h",
75 "CPU.h", 77 "CPU.h",
76 "CheckedNumeric.h", 78 "CheckedNumeric.h",
77 "Compiler.h", 79 "Compiler.h",
78 "ConditionalDestructor.h", 80 "ConditionalDestructor.h",
79 "ContainerAnnotations.h", 81 "ContainerAnnotations.h",
80 "CryptographicallyRandomNumber.cpp", 82 "CryptographicallyRandomNumber.cpp",
81 "CryptographicallyRandomNumber.h", 83 "CryptographicallyRandomNumber.h",
82 "CurrentTime.cpp", 84 "CurrentTime.cpp",
83 "CurrentTime.h", 85 "CurrentTime.h",
84 "DataLog.cpp", 86 "DataLog.cpp",
85 "DataLog.h", 87 "DataLog.h",
88 "DateMath.cpp",
89 "DateMath.h",
86 "Deque.h", 90 "Deque.h",
87 "DoublyLinkedList.h", 91 "DoublyLinkedList.h",
88 "DynamicAnnotations.cpp", 92 "DynamicAnnotations.cpp",
89 "DynamicAnnotations.h", 93 "DynamicAnnotations.h",
94 "FilePrintStream.cpp",
90 "FilePrintStream.h", 95 "FilePrintStream.h",
91 "Forward.h", 96 "Forward.h",
92 "Functional.h", 97 "Functional.h",
93 "GetPtr.h", 98 "GetPtr.h",
94 "HashCountedSet.h", 99 "HashCountedSet.h",
95 "HashFunctions.h", 100 "HashFunctions.h",
96 "HashIterators.h", 101 "HashIterators.h",
97 "HashMap.h", 102 "HashMap.h",
98 "HashSet.h", 103 "HashSet.h",
99 "HashTable.cpp", 104 "HashTable.cpp",
100 "HashTable.h", 105 "HashTable.h",
101 "HashTableDeletedValueType.h", 106 "HashTableDeletedValueType.h",
102 "HashTraits.h", 107 "HashTraits.h",
103 "HexNumber.h", 108 "HexNumber.h",
109 "InstanceCounter.cpp",
104 "InstanceCounter.h", 110 "InstanceCounter.h",
105 "LeakAnnotations.h", 111 "LeakAnnotations.h",
106 "LinkedHashSet.h", 112 "LinkedHashSet.h",
107 "ListHashSet.h", 113 "ListHashSet.h",
108 "Locker.h", 114 "Locker.h",
109 "MathExtras.h", 115 "MathExtras.h",
110 "NonCopyingSort.h", 116 "NonCopyingSort.h",
111 "Noncopyable.h", 117 "Noncopyable.h",
112 "NotFound.h", 118 "NotFound.h",
113 "Optional.h", 119 "Optional.h",
114 "PassRefPtr.h", 120 "PassRefPtr.h",
121 "PrintStream.cpp",
115 "PrintStream.h", 122 "PrintStream.h",
116 "PtrUtil.h", 123 "PtrUtil.h",
117 "RefCounted.h", 124 "RefCounted.h",
118 "RefPtr.h", 125 "RefPtr.h",
126 "RefVector.h",
119 "RetainPtr.h", 127 "RetainPtr.h",
128 "SaturatedArithmetic.h",
120 "SizeAssertions.h", 129 "SizeAssertions.h",
130 "SizeLimits.cpp",
121 "SpinLock.h", 131 "SpinLock.h",
132 "StackUtil.cpp",
122 "StackUtil.h", 133 "StackUtil.h",
123 "StaticConstructors.h", 134 "StaticConstructors.h",
124 "StdLibExtras.h", 135 "StdLibExtras.h",
125 "StringExtras.h", 136 "StringExtras.h",
126 "StringHasher.h", 137 "StringHasher.h",
138 "TerminatedArray.h",
139 "TerminatedArrayBuilder.h",
127 "ThreadRestrictionVerifier.h", 140 "ThreadRestrictionVerifier.h",
128 "ThreadSafeRefCounted.h", 141 "ThreadSafeRefCounted.h",
129 "ThreadSpecific.h", 142 "ThreadSpecific.h",
143 "ThreadSpecificWin.cpp",
130 "Threading.h", 144 "Threading.h",
131 "ThreadingPrimitives.h", 145 "ThreadingPrimitives.h",
146 "ThreadingPthreads.cpp",
147 "ThreadingWin.cpp",
132 "Time.h", 148 "Time.h",
133 "TreeNode.h", 149 "TreeNode.h",
134 "TriState.h", 150 "TriState.h",
135 "TypeTraits.h", 151 "TypeTraits.h",
136 "Vector.h", 152 "Vector.h",
137 "VectorTraits.h", 153 "VectorTraits.h",
154 "WTF.cpp",
138 "WTF.h", 155 "WTF.h",
139 "WTFExport.h", 156 "WTFExport.h",
157 "WTFThreadData.cpp",
140 "WTFThreadData.h", 158 "WTFThreadData.h",
141 "WeakPtr.h", 159 "WeakPtr.h",
142 "allocator/PartitionAllocator.cpp", 160 "allocator/PartitionAllocator.cpp",
143 "allocator/PartitionAllocator.h", 161 "allocator/PartitionAllocator.h",
144 "allocator/Partitions.cpp", 162 "allocator/Partitions.cpp",
145 "allocator/Partitions.h", 163 "allocator/Partitions.h",
146 "build_config.h", 164 "build_config.h",
165 "debug/Alias.h",
166 "debug/CrashLogging.h",
147 "dtoa.cpp", 167 "dtoa.cpp",
148 "dtoa.h", 168 "dtoa.h",
149 "dtoa/bignum-dtoa.cc", 169 "dtoa/bignum-dtoa.cc",
150 "dtoa/bignum-dtoa.h", 170 "dtoa/bignum-dtoa.h",
151 "dtoa/bignum.cc", 171 "dtoa/bignum.cc",
152 "dtoa/bignum.h", 172 "dtoa/bignum.h",
153 "dtoa/cached-powers.cc", 173 "dtoa/cached-powers.cc",
154 "dtoa/cached-powers.h", 174 "dtoa/cached-powers.h",
155 "dtoa/diy-fp.cc", 175 "dtoa/diy-fp.cc",
156 "dtoa/diy-fp.h", 176 "dtoa/diy-fp.h",
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 288
269 public_deps = [ 289 public_deps = [
270 "//base", 290 "//base",
271 "//third_party/icu", 291 "//third_party/icu",
272 ] 292 ]
273 293
274 # Rules changing the |sources| list are temporarily commented out, until 294 # Rules changing the |sources| list are temporarily commented out, until
275 # those files are actually moved to here. 295 # those files are actually moved to here.
276 296
277 if (is_win) { 297 if (is_win) {
278 # sources -= [ "ThreadingPthreads.cpp" ] 298 sources -= [ "ThreadingPthreads.cpp" ]
279 299
280 cflags = [ "/wd4068" ] # Unknown pragma. 300 cflags = [ "/wd4068" ] # Unknown pragma.
281 } else { 301 } else {
282 # Non-Windows. 302 # Non-Windows.
283 # sources -= [ 303 sources -= [
284 # "ThreadSpecificWin.cpp", 304 "ThreadSpecificWin.cpp",
285 # "ThreadingWin.cpp", 305 "ThreadingWin.cpp",
286 # ] 306 ]
287 } 307 }
288 308
289 if (is_android) { 309 if (is_android) {
290 libs = [ "log" ] 310 libs = [ "log" ]
291 } 311 }
292 if (is_linux) { 312 if (is_linux) {
293 libs = [ "dl" ] 313 libs = [ "dl" ]
294 } 314 }
295 315
296 if (is_mac) { 316 if (is_mac) {
297 libs = [ 317 libs = [
298 "CoreFoundation.framework", 318 "CoreFoundation.framework",
299 "Foundation.framework", 319 "Foundation.framework",
300 ] 320 ]
301 } else { 321 } else {
302 sources -= [ 322 sources -= [
303 "text/AtomicStringCF.cpp", 323 "text/AtomicStringCF.cpp",
304 "text/StringImplCF.cpp", 324 "text/StringImplCF.cpp",
305 ] 325 ]
306 } 326 }
307 327
308 if (remove_webcore_debug_symbols) { 328 if (remove_webcore_debug_symbols) {
309 configs -= [ "//build/config/compiler:default_symbols" ] 329 configs -= [ "//build/config/compiler:default_symbols" ]
310 configs += [ "//build/config/compiler:no_symbols" ] 330 configs += [ "//build/config/compiler:no_symbols" ]
311 } 331 }
312 } 332 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/Allocator.md ('k') | third_party/WebKit/Source/platform/wtf/BloomFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698