blob: 45fb0b09286a0cf0622c6fbc0d9269ad7b0c0dc2 [file] [log] [blame]
# 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("//skia/features.gni")
source_set("skia_bindings") {
sources = [
"gl_bindings_skia_cmd_buffer.cc",
"gl_bindings_skia_cmd_buffer.h",
"gles2_implementation_with_grcontext_support.cc",
"gles2_implementation_with_grcontext_support.h",
"grcontext_for_gles2_interface.cc",
"grcontext_for_gles2_interface.h",
]
deps = [
"//base",
"//gpu/command_buffer/client:gles2_implementation",
"//gpu/command_buffer/client:gles2_interface",
"//gpu/ipc/common:interfaces",
"//skia",
]
if (skia_use_dawn) {
sources += [
"grcontext_for_webgpu_interface.cc",
"grcontext_for_webgpu_interface.h",
]
deps += [
"//gpu/command_buffer/client:webgpu_interface",
"//third_party/dawn/src/dawn:cpp",
"//third_party/dawn/src/dawn:proc",
"//third_party/dawn/src/dawn/native",
]
}
}