naiveproxy/third_party/WebKit/Source/platform/instrumentation/BUILD.gn
2018-01-29 00:30:36 +08:00

59 lines
1.7 KiB
Plaintext

# Copyright 2017 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.
source_set("instrumentation") {
sources = [
"PlatformInstrumentation.cpp",
"PlatformInstrumentation.h",
"resource_coordinator/BlinkResourceCoordinatorBase.cpp",
"resource_coordinator/BlinkResourceCoordinatorBase.h",
"resource_coordinator/FrameResourceCoordinator.cpp",
"resource_coordinator/FrameResourceCoordinator.h",
"resource_coordinator/RendererResourceCoordinator.cpp",
"resource_coordinator/RendererResourceCoordinator.h",
"tracing/MemoryCacheDumpProvider.cpp",
"tracing/MemoryCacheDumpProvider.h",
"tracing/TraceEvent.h",
"tracing/TracedValue.cpp",
"tracing/TracedValue.h",
"tracing/web_memory_allocator_dump.cc",
"tracing/web_memory_allocator_dump.h",
"tracing/web_process_memory_dump.cc",
"tracing/web_process_memory_dump.h",
]
public_deps = [
"//services/resource_coordinator/public/cpp:resource_coordinator_cpp",
"//services/service_manager/public/interfaces:interfaces_blink",
"//skia",
]
deps = [
"//services/service_manager/public/cpp",
]
configs += [
"//third_party/WebKit/Source/platform:blink_platform_config",
"//third_party/WebKit/Source/platform:blink_platform_implementation",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"tracing/TracedValueTest.cpp",
"tracing/web_process_memory_dump_test.cc",
]
deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
configs += [ "//third_party/WebKit/Source/platform:blink_platform_config" ]
}