| 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", | |
| 31 "HeapPage.cpp", | 29 "HeapPage.cpp", |
| 32 "HeapPage.h", | 30 "HeapPage.h", |
| 33 "InlinedGlobalMarkingVisitor.h", | 31 "InlinedGlobalMarkingVisitor.h", |
| 34 "MarkingVisitor.h", | 32 "MarkingVisitor.h", |
| 35 "MarkingVisitorImpl.h", | 33 "MarkingVisitorImpl.h", |
| 36 "Member.h", | 34 "Member.h", |
| 37 "PageMemory.cpp", | 35 "PageMemory.cpp", |
| 38 "PageMemory.h", | 36 "PageMemory.h", |
| 39 "PagePool.cpp", | 37 "PagePool.cpp", |
| 40 "PagePool.h", | 38 "PagePool.h", |
| 41 "Persistent.h", | 39 "Persistent.h", |
| 42 "PersistentNode.cpp", | 40 "PersistentNode.cpp", |
| 43 "PersistentNode.h", | 41 "PersistentNode.h", |
| 44 "SafePoint.cpp", | 42 "SafePoint.cpp", |
| 45 "SafePoint.h", | 43 "SafePoint.h", |
| 46 "SelfKeepAlive.h", | 44 "SelfKeepAlive.h", |
| 47 "SparseHeapBitmap.cpp", | |
| 48 "SparseHeapBitmap.h", | |
| 49 "StackFrameDepth.cpp", | 45 "StackFrameDepth.cpp", |
| 50 "StackFrameDepth.h", | 46 "StackFrameDepth.h", |
| 51 "ThreadState.cpp", | 47 "ThreadState.cpp", |
| 52 "ThreadState.h", | 48 "ThreadState.h", |
| 53 "ThreadingTraits.h", | 49 "ThreadingTraits.h", |
| 54 "TraceTraits.h", | 50 "TraceTraits.h", |
| 55 "Visitor.cpp", | 51 "Visitor.cpp", |
| 56 "Visitor.h", | 52 "Visitor.h", |
| 57 "WrapperVisitor.h", | 53 "WrapperVisitor.h", |
| 58 ] | 54 ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 73 "//third_party/WebKit/Source/platform:make_platform_generated", | 69 "//third_party/WebKit/Source/platform:make_platform_generated", |
| 74 "//third_party/WebKit/Source/platform/heap/asm", | 70 "//third_party/WebKit/Source/platform/heap/asm", |
| 75 "//third_party/icu", | 71 "//third_party/icu", |
| 76 "//v8", | 72 "//v8", |
| 77 ] | 73 ] |
| 78 } | 74 } |
| 79 | 75 |
| 80 test("blink_heap_unittests") { | 76 test("blink_heap_unittests") { |
| 81 sources = [ | 77 sources = [ |
| 82 "BlinkGCMemoryDumpProviderTest.cpp", | 78 "BlinkGCMemoryDumpProviderTest.cpp", |
| 83 "HeapCompactTest.cpp", | |
| 84 "HeapTest.cpp", | 79 "HeapTest.cpp", |
| 85 "PersistentTest.cpp", | 80 "PersistentTest.cpp", |
| 86 "RunAllTests.cpp", | 81 "RunAllTests.cpp", |
| 87 ] | 82 ] |
| 88 | 83 |
| 89 configs += [ | 84 configs += [ |
| 90 "//third_party/WebKit/Source/wtf:wtf_config", | 85 "//third_party/WebKit/Source/wtf:wtf_config", |
| 91 "//third_party/WebKit/Source:config", | 86 "//third_party/WebKit/Source:config", |
| 92 "//third_party/WebKit/Source:inside_blink", | 87 "//third_party/WebKit/Source:inside_blink", |
| 93 ] | 88 ] |
| 94 | 89 |
| 95 deps = [ | 90 deps = [ |
| 96 "//base", | 91 "//base", |
| 97 "//base/test:test_support", | 92 "//base/test:test_support", |
| 98 "//content/test:test_support", | 93 "//content/test:test_support", |
| 99 "//testing/gmock", | 94 "//testing/gmock", |
| 100 "//testing/gtest", | 95 "//testing/gtest", |
| 101 "//third_party/WebKit/Source/platform:test_support", | 96 "//third_party/WebKit/Source/platform:test_support", |
| 102 "//third_party/WebKit/Source/wtf", | 97 "//third_party/WebKit/Source/wtf", |
| 103 ] | 98 ] |
| 104 if (is_android) { | 99 if (is_android) { |
| 105 deps += [ | 100 deps += [ |
| 106 "//base:base_java", | 101 "//base:base_java", |
| 107 "//content/shell/android:content_shell_assets", | 102 "//content/shell/android:content_shell_assets", |
| 108 "//net/android:net_java", | 103 "//net/android:net_java", |
| 109 ] | 104 ] |
| 110 } | 105 } |
| 111 } | 106 } |
| OLD | NEW |