blob: 52de02897c77727f8b2ff4c4e3d6a94191872cf9 [file] [log] [blame]
# 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")
import("//third_party/WebKit/Source/platform/platform.gni")
blink_platform_sources("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.cpp",
"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",
]
deps = [
"//services/service_manager/public/cpp",
]
}
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" ]
}