blob: 887898afcfcfc2af4b4e2114e7dc14678c1ac8ea [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:dawn_proc",
"//third_party/dawn/src/dawn:dawncpp",
"//third_party/dawn/src/dawn_native",
]
}
}