mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
121 lines
2.9 KiB
Plaintext
121 lines
2.9 KiB
Plaintext
|
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//build/config/jumbo.gni")
|
||
|
import("//testing/test.gni")
|
||
|
|
||
|
jumbo_source_set("heap") {
|
||
|
# This target is a logical part of the platform and only the platform target
|
||
|
# should depend on it.
|
||
|
visibility = [ "//third_party/WebKit/Source/platform" ]
|
||
|
|
||
|
sources = [
|
||
|
"BlinkGC.h",
|
||
|
"BlinkGCMemoryDumpProvider.cpp",
|
||
|
"BlinkGCMemoryDumpProvider.h",
|
||
|
"CallbackStack.cpp",
|
||
|
"CallbackStack.h",
|
||
|
"GCInfo.cpp",
|
||
|
"GCInfo.h",
|
||
|
"GCTaskRunner.h",
|
||
|
"GarbageCollected.h",
|
||
|
"Handle.h",
|
||
|
"Heap.cpp",
|
||
|
"Heap.h",
|
||
|
"HeapAllocator.cpp",
|
||
|
"HeapAllocator.h",
|
||
|
"HeapCompact.cpp",
|
||
|
"HeapCompact.h",
|
||
|
"HeapLinkedStack.h",
|
||
|
"HeapPage.cpp",
|
||
|
"HeapPage.h",
|
||
|
"HeapTerminatedArray.h",
|
||
|
"HeapTerminatedArrayBuilder.h",
|
||
|
"Member.h",
|
||
|
"PageMemory.cpp",
|
||
|
"PageMemory.h",
|
||
|
"PagePool.cpp",
|
||
|
"PagePool.h",
|
||
|
"Persistent.h",
|
||
|
"PersistentNode.cpp",
|
||
|
"PersistentNode.h",
|
||
|
"SafePoint.h",
|
||
|
"SelfKeepAlive.h",
|
||
|
"SparseHeapBitmap.cpp",
|
||
|
"SparseHeapBitmap.h",
|
||
|
"StackFrameDepth.cpp",
|
||
|
"StackFrameDepth.h",
|
||
|
"ThreadState.cpp",
|
||
|
"ThreadState.h",
|
||
|
"ThreadingTraits.h",
|
||
|
"TraceTraits.h",
|
||
|
"Visitor.cpp",
|
||
|
"Visitor.h",
|
||
|
"VisitorImpl.h",
|
||
|
]
|
||
|
|
||
|
configs += [
|
||
|
"//third_party/WebKit/Source:blink_pch",
|
||
|
"//third_party/WebKit/Source:config",
|
||
|
"//third_party/WebKit/Source:non_test_config",
|
||
|
"//third_party/WebKit/Source:inside_blink",
|
||
|
"//third_party/WebKit/Source:features",
|
||
|
"//third_party/WebKit/Source/platform:blink_platform_implementation",
|
||
|
"//build/config/compiler:no_size_t_to_int_warning",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//third_party/WebKit/Source/platform:make_platform_generated",
|
||
|
"//third_party/WebKit/Source/platform/heap/asm",
|
||
|
"//third_party/icu",
|
||
|
"//v8",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
test("blink_heap_unittests") {
|
||
|
deps = [
|
||
|
":blink_heap_unittests_sources",
|
||
|
]
|
||
|
if (is_android) {
|
||
|
deps += [
|
||
|
"//base:base_java",
|
||
|
"//content/shell/android:content_shell_assets",
|
||
|
"//net/android:net_java",
|
||
|
"//ui/android:ui_full_java",
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
jumbo_source_set("blink_heap_unittests_sources") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"BlinkGCMemoryDumpProviderTest.cpp",
|
||
|
"HeapCompactTest.cpp",
|
||
|
"HeapTest.cpp",
|
||
|
"HeapTestUtilities.cpp",
|
||
|
"HeapTestUtilities.h",
|
||
|
"IncrementalMarkingTest.cpp",
|
||
|
"ObjectStartBitmapTest.cpp",
|
||
|
"PersistentTest.cpp",
|
||
|
"RunAllTests.cpp",
|
||
|
]
|
||
|
|
||
|
configs += [
|
||
|
"//third_party/WebKit/Source/platform/wtf:wtf_config",
|
||
|
"//third_party/WebKit/Source:config",
|
||
|
"//third_party/WebKit/Source:inside_blink",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//content/test:test_support",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
"//third_party/WebKit/Source/platform:test_support",
|
||
|
"//third_party/WebKit/Source/platform/wtf",
|
||
|
]
|
||
|
}
|