| 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 20 matching lines...) Expand all Loading... |
| 31 "ByteOrder.h", | 31 "ByteOrder.h", |
| 32 "ByteSwap.h", | 32 "ByteSwap.h", |
| 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.cpp", | |
| 42 "DateMath.h", | 41 "DateMath.h", |
| 43 "Deque.h", | 42 "Deque.h", |
| 43 "Dummy.cpp", |
| 44 "DoublyLinkedList.h", | 44 "DoublyLinkedList.h", |
| 45 "DynamicAnnotations.h", | 45 "DynamicAnnotations.h", |
| 46 "FilePrintStream.cpp", | |
| 47 "FilePrintStream.h", | 46 "FilePrintStream.h", |
| 48 "Forward.h", | 47 "Forward.h", |
| 49 "Functional.h", | 48 "Functional.h", |
| 50 "GetPtr.h", | 49 "GetPtr.h", |
| 51 "HashCountedSet.h", | 50 "HashCountedSet.h", |
| 52 "HashFunctions.h", | 51 "HashFunctions.h", |
| 53 "HashIterators.h", | 52 "HashIterators.h", |
| 54 "HashMap.h", | 53 "HashMap.h", |
| 55 "HashSet.h", | 54 "HashSet.h", |
| 56 "HashTable.h", | 55 "HashTable.h", |
| 57 "HashTableDeletedValueType.h", | 56 "HashTableDeletedValueType.h", |
| 58 "HashTraits.h", | 57 "HashTraits.h", |
| 59 "HexNumber.h", | 58 "HexNumber.h", |
| 60 "InstanceCounter.cpp", | |
| 61 "InstanceCounter.h", | 59 "InstanceCounter.h", |
| 62 "LeakAnnotations.h", | 60 "LeakAnnotations.h", |
| 63 "ListHashSet.h", | 61 "ListHashSet.h", |
| 64 "Locker.h", | 62 "Locker.h", |
| 65 "MathExtras.h", | 63 "MathExtras.h", |
| 66 "NonCopyingSort.h", | 64 "NonCopyingSort.h", |
| 67 "Noncopyable.h", | 65 "Noncopyable.h", |
| 68 "NotFound.h", | 66 "NotFound.h", |
| 69 "Optional.h", | 67 "Optional.h", |
| 70 "PassRefPtr.h", | 68 "PassRefPtr.h", |
| 71 "PrintStream.cpp", | |
| 72 "PrintStream.h", | 69 "PrintStream.h", |
| 73 "PtrUtil.h", | 70 "PtrUtil.h", |
| 74 "RefCounted.h", | 71 "RefCounted.h", |
| 75 "RefPtr.h", | 72 "RefPtr.h", |
| 76 "RefVector.h", | 73 "RefVector.h", |
| 77 "RetainPtr.h", | 74 "RetainPtr.h", |
| 78 "SaturatedArithmetic.h", | 75 "SaturatedArithmetic.h", |
| 79 "SizeAssertions.h", | 76 "SizeAssertions.h", |
| 80 "SizeLimits.cpp", | |
| 81 "SpinLock.h", | 77 "SpinLock.h", |
| 82 "StackUtil.cpp", | |
| 83 "StackUtil.h", | 78 "StackUtil.h", |
| 84 "StaticConstructors.h", | 79 "StaticConstructors.h", |
| 85 "StdLibExtras.h", | 80 "StdLibExtras.h", |
| 86 "StringExtras.h", | 81 "StringExtras.h", |
| 87 "StringHasher.h", | 82 "StringHasher.h", |
| 88 "TerminatedArray.h", | 83 "TerminatedArray.h", |
| 89 "TerminatedArrayBuilder.h", | 84 "TerminatedArrayBuilder.h", |
| 90 "ThreadRestrictionVerifier.h", | 85 "ThreadRestrictionVerifier.h", |
| 91 "ThreadSafeRefCounted.h", | 86 "ThreadSafeRefCounted.h", |
| 92 "ThreadSpecific.h", | 87 "ThreadSpecific.h", |
| 93 "ThreadSpecificWin.cpp", | |
| 94 "Threading.h", | 88 "Threading.h", |
| 95 "ThreadingPrimitives.h", | 89 "ThreadingPrimitives.h", |
| 96 "ThreadingPthreads.cpp", | |
| 97 "ThreadingWin.cpp", | |
| 98 "Time.h", | 90 "Time.h", |
| 99 "TreeNode.h", | 91 "TreeNode.h", |
| 100 "TypeTraits.h", | 92 "TypeTraits.h", |
| 101 "Vector.h", | 93 "Vector.h", |
| 102 "VectorTraits.h", | 94 "VectorTraits.h", |
| 103 "WTF.cpp", | |
| 104 "WTF.h", | 95 "WTF.h", |
| 105 "WTFExport.h", | 96 "WTFExport.h", |
| 106 "WTFThreadData.cpp", | |
| 107 "WTFThreadData.h", | 97 "WTFThreadData.h", |
| 108 "WeakPtr.h", | 98 "WeakPtr.h", |
| 109 "allocator/PartitionAllocator.h", | 99 "allocator/PartitionAllocator.h", |
| 110 "allocator/Partitions.h", | 100 "allocator/Partitions.h", |
| 111 "build_config.h", | 101 "build_config.h", |
| 112 "debug/Alias.h", | 102 "debug/Alias.h", |
| 113 "debug/CrashLogging.h", | 103 "debug/CrashLogging.h", |
| 114 "dtoa.h", | 104 "dtoa.h", |
| 115 "dtoa/bignum-dtoa.h", | 105 "dtoa/bignum-dtoa.h", |
| 116 "dtoa/bignum.h", | 106 "dtoa/bignum.h", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 "//build/config/compiler:no_size_t_to_int_warning", | 178 "//build/config/compiler:no_size_t_to_int_warning", |
| 189 "//third_party/WebKit/Source:features", | 179 "//third_party/WebKit/Source:features", |
| 190 ] | 180 ] |
| 191 | 181 |
| 192 public_deps = [ | 182 public_deps = [ |
| 193 "//base", | 183 "//base", |
| 194 "//third_party/WebKit/Source/platform/wtf:platform_wtf", | 184 "//third_party/WebKit/Source/platform/wtf:platform_wtf", |
| 195 "//third_party/icu", | 185 "//third_party/icu", |
| 196 ] | 186 ] |
| 197 | 187 |
| 198 if (is_win) { | |
| 199 sources -= [ "ThreadingPthreads.cpp" ] | |
| 200 | |
| 201 cflags = [ "/wd4068" ] # Unknown pragma. | |
| 202 } else { | |
| 203 # Non-Windows. | |
| 204 sources -= [ | |
| 205 "ThreadSpecificWin.cpp", | |
| 206 "ThreadingWin.cpp", | |
| 207 ] | |
| 208 } | |
| 209 | |
| 210 if (is_android) { | 188 if (is_android) { |
| 211 libs = [ "log" ] | 189 libs = [ "log" ] |
| 212 } | 190 } |
| 213 if (is_linux) { | 191 if (is_linux) { |
| 214 libs = [ "dl" ] | 192 libs = [ "dl" ] |
| 215 } | 193 } |
| 216 | 194 |
| 217 if (is_mac) { | 195 if (is_mac) { |
| 218 libs = [ | 196 libs = [ |
| 219 "CoreFoundation.framework", | 197 "CoreFoundation.framework", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 ] | 262 ] |
| 285 | 263 |
| 286 deps = [ | 264 deps = [ |
| 287 ":wtf", | 265 ":wtf", |
| 288 "//base", | 266 "//base", |
| 289 "//base/test:test_support", | 267 "//base/test:test_support", |
| 290 "//testing/gmock", | 268 "//testing/gmock", |
| 291 "//testing/gtest", | 269 "//testing/gtest", |
| 292 ] | 270 ] |
| 293 } | 271 } |
| OLD | NEW |