blob: 4a3aa2e99cfaf7c581153a2fdd198a9d2a354f6d [file] [log] [blame]
# Copyright 2018 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("//third_party/blink/renderer/modules/modules.gni")
blink_modules_sources("webgpu") {
sources = [
"dawn_callback.h",
"dawn_conversions.cc",
"dawn_conversions.h",
"dawn_object.cc",
"dawn_object.h",
"gpu.cc",
"gpu.h",
"gpu_adapter.cc",
"gpu_adapter.h",
"gpu_bind_group.cc",
"gpu_bind_group.h",
"gpu_bind_group_layout.cc",
"gpu_bind_group_layout.h",
"gpu_buffer.cc",
"gpu_buffer.h",
"gpu_buffer_usage.h",
"gpu_canvas_context.cc",
"gpu_canvas_context.h",
"gpu_color_write.h",
"gpu_command_buffer.cc",
"gpu_command_buffer.h",
"gpu_command_encoder.cc",
"gpu_command_encoder.h",
"gpu_compute_pass_encoder.cc",
"gpu_compute_pass_encoder.h",
"gpu_compute_pipeline.cc",
"gpu_compute_pipeline.h",
"gpu_device.cc",
"gpu_device.h",
"gpu_device_lost_info.cc",
"gpu_device_lost_info.h",
"gpu_fence.cc",
"gpu_fence.h",
"gpu_map_mode.h",
"gpu_out_of_memory_error.cc",
"gpu_out_of_memory_error.h",
"gpu_pipeline_layout.cc",
"gpu_pipeline_layout.h",
"gpu_programmable_pass_encoder.cc",
"gpu_programmable_pass_encoder.h",
"gpu_query_set.cc",
"gpu_query_set.h",
"gpu_queue.cc",
"gpu_queue.h",
"gpu_render_bundle.cc",
"gpu_render_bundle.h",
"gpu_render_bundle_encoder.cc",
"gpu_render_bundle_encoder.h",
"gpu_render_pass_encoder.cc",
"gpu_render_pass_encoder.h",
"gpu_render_pipeline.cc",
"gpu_render_pipeline.h",
"gpu_sampler.cc",
"gpu_sampler.h",
"gpu_shader_module.cc",
"gpu_shader_module.h",
"gpu_shader_stage.h",
"gpu_swap_chain.cc",
"gpu_swap_chain.h",
"gpu_texture.cc",
"gpu_texture.h",
"gpu_texture_usage.h",
"gpu_texture_view.cc",
"gpu_texture_view.h",
"gpu_uncaptured_error_event.cc",
"gpu_uncaptured_error_event.h",
"gpu_validation_error.cc",
"gpu_validation_error.h",
]
deps = [
"//gpu/command_buffer/client:webgpu_interface",
"//services/metrics/public/cpp:ukm_builders",
"//third_party/dawn/src/dawn:dawn_headers",
]
}