| 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 "RetainPtr.h", | 73 "RetainPtr.h", |
| 77 "SaturatedArithmetic.h", | 74 "SaturatedArithmetic.h", |
| 78 "SizeAssertions.h", | 75 "SizeAssertions.h", |
| 79 "SizeLimits.cpp", | |
| 80 "SpinLock.h", | 76 "SpinLock.h", |
| 81 "StackUtil.cpp", | |
| 82 "StackUtil.h", | 77 "StackUtil.h", |
| 83 "StaticConstructors.h", | 78 "StaticConstructors.h", |
| 84 "StdLibExtras.h", | 79 "StdLibExtras.h", |
| 85 "StringExtras.h", | 80 "StringExtras.h", |
| 86 "StringHasher.h", | 81 "StringHasher.h", |
| 87 "ThreadRestrictionVerifier.h", | 82 "ThreadRestrictionVerifier.h", |
| 88 "ThreadSafeRefCounted.h", | 83 "ThreadSafeRefCounted.h", |
| 89 "ThreadSpecific.h", | 84 "ThreadSpecific.h", |
| 90 "ThreadSpecificWin.cpp", | |
| 91 "Threading.h", | 85 "Threading.h", |
| 92 "ThreadingPrimitives.h", | 86 "ThreadingPrimitives.h", |
| 93 "ThreadingPthreads.cpp", | |
| 94 "ThreadingWin.cpp", | |
| 95 "Time.h", | 87 "Time.h", |
| 96 "TreeNode.h", | 88 "TreeNode.h", |
| 97 "TypeTraits.h", | 89 "TypeTraits.h", |
| 98 "Vector.h", | 90 "Vector.h", |
| 99 "VectorTraits.h", | 91 "VectorTraits.h", |
| 100 "WTF.cpp", | |
| 101 "WTF.h", | 92 "WTF.h", |
| 102 "WTFExport.h", | 93 "WTFExport.h", |
| 103 "WTFThreadData.cpp", | |
| 104 "WTFThreadData.h", | 94 "WTFThreadData.h", |
| 105 "WeakPtr.h", | 95 "WeakPtr.h", |
| 106 "allocator/PartitionAllocator.h", | 96 "allocator/PartitionAllocator.h", |
| 107 "allocator/Partitions.h", | 97 "allocator/Partitions.h", |
| 108 "build_config.h", | 98 "build_config.h", |
| 109 "debug/Alias.h", | 99 "debug/Alias.h", |
| 110 "debug/CrashLogging.h", | 100 "debug/CrashLogging.h", |
| 111 "dtoa.h", | 101 "dtoa.h", |
| 112 "dtoa/bignum-dtoa.h", | 102 "dtoa/bignum-dtoa.h", |
| 113 "dtoa/bignum.h", | 103 "dtoa/bignum.h", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 "//build/config/compiler:no_size_t_to_int_warning", | 174 "//build/config/compiler:no_size_t_to_int_warning", |
| 185 "//third_party/WebKit/Source:features", | 175 "//third_party/WebKit/Source:features", |
| 186 ] | 176 ] |
| 187 | 177 |
| 188 public_deps = [ | 178 public_deps = [ |
| 189 "//base", | 179 "//base", |
| 190 "//third_party/WebKit/Source/platform/wtf:platform_wtf", | 180 "//third_party/WebKit/Source/platform/wtf:platform_wtf", |
| 191 "//third_party/icu", | 181 "//third_party/icu", |
| 192 ] | 182 ] |
| 193 | 183 |
| 194 if (is_win) { | |
| 195 sources -= [ "ThreadingPthreads.cpp" ] | |
| 196 | |
| 197 cflags = [ "/wd4068" ] # Unknown pragma. | |
| 198 } else { | |
| 199 # Non-Windows. | |
| 200 sources -= [ | |
| 201 "ThreadSpecificWin.cpp", | |
| 202 "ThreadingWin.cpp", | |
| 203 ] | |
| 204 } | |
| 205 | |
| 206 if (is_android) { | 184 if (is_android) { |
| 207 libs = [ "log" ] | 185 libs = [ "log" ] |
| 208 } | 186 } |
| 209 if (is_linux) { | 187 if (is_linux) { |
| 210 libs = [ "dl" ] | 188 libs = [ "dl" ] |
| 211 } | 189 } |
| 212 | 190 |
| 213 if (is_mac) { | 191 if (is_mac) { |
| 214 libs = [ | 192 libs = [ |
| 215 "CoreFoundation.framework", | 193 "CoreFoundation.framework", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 ] | 258 ] |
| 281 | 259 |
| 282 deps = [ | 260 deps = [ |
| 283 ":wtf", | 261 ":wtf", |
| 284 "//base", | 262 "//base", |
| 285 "//base/test:test_support", | 263 "//base/test:test_support", |
| 286 "//testing/gmock", | 264 "//testing/gmock", |
| 287 "//testing/gtest", | 265 "//testing/gtest", |
| 288 ] | 266 ] |
| 289 } | 267 } |
| OLD | NEW |