naiveproxy/third_party/WebKit/Source/platform/instrumentation/BUILD.gn
2018-02-02 05:49:39 -05:00

61 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.
import("//build/config/jumbo.gni")
jumbo_source_set("instrumentation") {
sources = [
"PlatformInstrumentation.cpp",
"PlatformInstrumentation.h",
"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/network/public/interfaces:interfaces_blink",
"//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",
]
}
jumbo_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" ]
}