blob: 26c597a4abe9f3601344535919eae44910bd8d4e [file] [log] [blame]
# Copyright 2016 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/ui.gni")
source_set("gpu") {
public = [
"command_buffer_metrics.h",
"context_provider_command_buffer.h",
"gpu.h",
]
sources = [
"client_gpu_memory_buffer_manager.cc",
"client_gpu_memory_buffer_manager.h",
"command_buffer_metrics.cc",
"context_provider_command_buffer.cc",
"gpu.cc",
]
public_deps = [
"//cc",
"//gpu/command_buffer/common",
"//gpu/ipc/client",
"//gpu/ipc/common",
"//services/ws/public/mojom",
"//url",
]
deps = [
"//base",
"//gpu",
"//gpu/command_buffer/client",
"//gpu/command_buffer/client:gles2_cmd_helper",
"//gpu/command_buffer/client:gles2_implementation",
"//gpu/command_buffer/client:raster",
"//gpu/command_buffer/client:raster_interface",
"//gpu/command_buffer/client:webgpu",
"//gpu/command_buffer/common:raster",
"//gpu/skia_bindings",
"//mojo/public/cpp/system",
"//services/service_manager/public/cpp",
"//services/ws/public/mojom",
"//ui/gl",
]
if (use_aura || is_mac) {
public += [ "shared_worker_context_provider_factory.h" ]
sources += [ "shared_worker_context_provider_factory.cc" ]
}
}