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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("heap") { | 7 source_set("heap") { |
8 # This target is a logical part of the platform and only the platform target | 8 # This target is a logical part of the platform and only the platform target |
9 # should depend on it. | 9 # should depend on it. |
10 visibility = [ "//third_party/WebKit/Source/platform" ] | 10 visibility = [ "//third_party/WebKit/Source/platform" ] |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "BlinkGC.h", | 13 "BlinkGC.h", |
14 "BlinkGCInterruptor.cpp", | 14 "BlinkGCInterruptor.cpp", |
15 "BlinkGCInterruptor.h", | 15 "BlinkGCInterruptor.h", |
16 "BlinkGCMemoryDumpProvider.cpp", | 16 "BlinkGCMemoryDumpProvider.cpp", |
17 "BlinkGCMemoryDumpProvider.h", | 17 "BlinkGCMemoryDumpProvider.h", |
18 "CallbackStack.cpp", | 18 "CallbackStack.cpp", |
19 "CallbackStack.h", | 19 "CallbackStack.h", |
20 "GCInfo.cpp", | 20 "GCInfo.cpp", |
21 "GCInfo.h", | 21 "GCInfo.h", |
22 "GCTaskRunner.h", | 22 "GCTaskRunner.h", |
23 "GarbageCollected.h", | 23 "GarbageCollected.h", |
24 "Handle.h", | 24 "Handle.h", |
25 "Heap.cpp", | 25 "Heap.cpp", |
26 "Heap.h", | 26 "Heap.h", |
27 "HeapAllocator.cpp", | 27 "HeapAllocator.cpp", |
28 "HeapAllocator.h", | 28 "HeapAllocator.h", |
| 29 "HeapCompact.cpp", |
| 30 "HeapCompact.h", |
29 "HeapPage.cpp", | 31 "HeapPage.cpp", |
30 "HeapPage.h", | 32 "HeapPage.h", |
31 "InlinedGlobalMarkingVisitor.h", | 33 "InlinedGlobalMarkingVisitor.h", |
32 "MarkingVisitor.h", | 34 "MarkingVisitor.h", |
33 "MarkingVisitorImpl.h", | 35 "MarkingVisitorImpl.h", |
34 "Member.h", | 36 "Member.h", |
35 "PageMemory.cpp", | 37 "PageMemory.cpp", |
36 "PageMemory.h", | 38 "PageMemory.h", |
37 "PagePool.cpp", | 39 "PagePool.cpp", |
38 "PagePool.h", | 40 "PagePool.h", |
39 "Persistent.h", | 41 "Persistent.h", |
40 "PersistentNode.cpp", | 42 "PersistentNode.cpp", |
41 "PersistentNode.h", | 43 "PersistentNode.h", |
42 "SafePoint.cpp", | 44 "SafePoint.cpp", |
43 "SafePoint.h", | 45 "SafePoint.h", |
44 "SelfKeepAlive.h", | 46 "SelfKeepAlive.h", |
| 47 "SparseHeapBitmap.cpp", |
| 48 "SparseHeapBitmap.h", |
45 "StackFrameDepth.cpp", | 49 "StackFrameDepth.cpp", |
46 "StackFrameDepth.h", | 50 "StackFrameDepth.h", |
47 "ThreadState.cpp", | 51 "ThreadState.cpp", |
48 "ThreadState.h", | 52 "ThreadState.h", |
49 "ThreadingTraits.h", | 53 "ThreadingTraits.h", |
50 "TraceTraits.h", | 54 "TraceTraits.h", |
51 "Visitor.cpp", | 55 "Visitor.cpp", |
52 "Visitor.h", | 56 "Visitor.h", |
53 "WrapperVisitor.h", | 57 "WrapperVisitor.h", |
54 ] | 58 ] |
(...skipping 14 matching lines...) Expand all Loading... |
69 "//third_party/WebKit/Source/platform:make_platform_generated", | 73 "//third_party/WebKit/Source/platform:make_platform_generated", |
70 "//third_party/WebKit/Source/platform/heap/asm", | 74 "//third_party/WebKit/Source/platform/heap/asm", |
71 "//third_party/icu", | 75 "//third_party/icu", |
72 "//v8", | 76 "//v8", |
73 ] | 77 ] |
74 } | 78 } |
75 | 79 |
76 test("blink_heap_unittests") { | 80 test("blink_heap_unittests") { |
77 sources = [ | 81 sources = [ |
78 "BlinkGCMemoryDumpProviderTest.cpp", | 82 "BlinkGCMemoryDumpProviderTest.cpp", |
| 83 "HeapCompactTest.cpp", |
79 "HeapTest.cpp", | 84 "HeapTest.cpp", |
80 "PersistentTest.cpp", | 85 "PersistentTest.cpp", |
81 "RunAllTests.cpp", | 86 "RunAllTests.cpp", |
82 ] | 87 ] |
83 | 88 |
84 configs += [ | 89 configs += [ |
85 "//third_party/WebKit/Source/wtf:wtf_config", | 90 "//third_party/WebKit/Source/wtf:wtf_config", |
86 "//third_party/WebKit/Source:config", | 91 "//third_party/WebKit/Source:config", |
87 "//third_party/WebKit/Source:inside_blink", | 92 "//third_party/WebKit/Source:inside_blink", |
88 ] | 93 ] |
89 | 94 |
90 deps = [ | 95 deps = [ |
91 "//base", | 96 "//base", |
92 "//base/test:test_support", | 97 "//base/test:test_support", |
93 "//content/test:test_support", | 98 "//content/test:test_support", |
94 "//testing/gmock", | 99 "//testing/gmock", |
95 "//testing/gtest", | 100 "//testing/gtest", |
96 "//third_party/WebKit/Source/platform:test_support", | 101 "//third_party/WebKit/Source/platform:test_support", |
97 "//third_party/WebKit/Source/wtf", | 102 "//third_party/WebKit/Source/wtf", |
98 ] | 103 ] |
99 if (is_android) { | 104 if (is_android) { |
100 deps += [ | 105 deps += [ |
101 "//base:base_java", | 106 "//base:base_java", |
102 "//content/shell/android:content_shell_assets", | 107 "//content/shell/android:content_shell_assets", |
103 "//net/android:net_java", | 108 "//net/android:net_java", |
104 ] | 109 ] |
105 } | 110 } |
106 } | 111 } |
OLD | NEW |