Reformat BUILD files.
Change-Id: Iee2f376f7270200b5732726e9c6a3015b0cd4139 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/248928 Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
1e2adcf428
commit
36446f281c
2
BUILD.gn
2
BUILD.gn
@ -566,9 +566,9 @@ optional("gpu") {
|
||||
sources += skia_dawn_sources
|
||||
public_deps += [
|
||||
"//third_party/dawn:dawn_headers",
|
||||
"//third_party/dawn:libdawn_proc",
|
||||
"//third_party/dawn:dawncpp",
|
||||
"//third_party/dawn:libdawn_native_sources",
|
||||
"//third_party/dawn:libdawn_proc",
|
||||
]
|
||||
if (dawn_enable_d3d12) {
|
||||
libs += [
|
||||
|
128
third_party/dawn/BUILD.gn
vendored
128
third_party/dawn/BUILD.gn
vendored
@ -391,70 +391,70 @@ source_set("libdawn_native_sources") {
|
||||
|
||||
if (dawn_enable_d3d12) {
|
||||
libs += [ "dxguid.lib" ]
|
||||
sources +=
|
||||
rebase_path([
|
||||
"src/dawn_native/d3d12/AdapterD3D12.cpp",
|
||||
"src/dawn_native/d3d12/AdapterD3D12.h",
|
||||
"src/dawn_native/d3d12/BackendD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BackendD3D12.h",
|
||||
"src/dawn_native/d3d12/BindGroupD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BindGroupD3D12.h",
|
||||
"src/dawn_native/d3d12/BindGroupLayoutD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BindGroupLayoutD3D12.h",
|
||||
"src/dawn_native/d3d12/BufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BufferD3D12.h",
|
||||
"src/dawn_native/d3d12/CommandAllocatorManager.cpp",
|
||||
"src/dawn_native/d3d12/CommandAllocatorManager.h",
|
||||
"src/dawn_native/d3d12/CommandBufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/CommandBufferD3D12.h",
|
||||
"src/dawn_native/d3d12/CommandRecordingContext.cpp",
|
||||
"src/dawn_native/d3d12/CommandRecordingContext.h",
|
||||
"src/dawn_native/d3d12/CommittedResourceAllocatorD3D12.cpp",
|
||||
"src/dawn_native/d3d12/CommittedResourceAllocatorD3D12.h",
|
||||
"src/dawn_native/d3d12/ComputePipelineD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ComputePipelineD3D12.h",
|
||||
"src/dawn_native/d3d12/D3D12Backend.cpp",
|
||||
"src/dawn_native/d3d12/D3D12Info.cpp",
|
||||
"src/dawn_native/d3d12/D3D12Info.h",
|
||||
"src/dawn_native/d3d12/DescriptorHeapAllocator.cpp",
|
||||
"src/dawn_native/d3d12/DescriptorHeapAllocator.h",
|
||||
"src/dawn_native/d3d12/DeviceD3D12.cpp",
|
||||
"src/dawn_native/d3d12/DeviceD3D12.h",
|
||||
"src/dawn_native/d3d12/Forward.h",
|
||||
"src/dawn_native/d3d12/NativeSwapChainImplD3D12.cpp",
|
||||
"src/dawn_native/d3d12/NativeSwapChainImplD3D12.h",
|
||||
"src/dawn_native/d3d12/PipelineLayoutD3D12.cpp",
|
||||
"src/dawn_native/d3d12/PipelineLayoutD3D12.h",
|
||||
"src/dawn_native/d3d12/PlatformFunctions.cpp",
|
||||
"src/dawn_native/d3d12/PlatformFunctions.h",
|
||||
"src/dawn_native/d3d12/QueueD3D12.cpp",
|
||||
"src/dawn_native/d3d12/QueueD3D12.h",
|
||||
"src/dawn_native/d3d12/RenderPipelineD3D12.cpp",
|
||||
"src/dawn_native/d3d12/RenderPipelineD3D12.h",
|
||||
"src/dawn_native/d3d12/ResourceAllocator.cpp",
|
||||
"src/dawn_native/d3d12/ResourceAllocator.h",
|
||||
"src/dawn_native/d3d12/ResourceAllocatorManagerD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ResourceAllocatorManagerD3D12.h",
|
||||
"src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ResourceHeapAllocationD3D12.h",
|
||||
"src/dawn_native/d3d12/SamplerD3D12.cpp",
|
||||
"src/dawn_native/d3d12/SamplerD3D12.h",
|
||||
"src/dawn_native/d3d12/ShaderModuleD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ShaderModuleD3D12.h",
|
||||
"src/dawn_native/d3d12/StagingBufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/StagingBufferD3D12.h",
|
||||
"src/dawn_native/d3d12/SwapChainD3D12.cpp",
|
||||
"src/dawn_native/d3d12/SwapChainD3D12.h",
|
||||
"src/dawn_native/d3d12/TextureCopySplitter.cpp",
|
||||
"src/dawn_native/d3d12/TextureCopySplitter.h",
|
||||
"src/dawn_native/d3d12/TextureD3D12.cpp",
|
||||
"src/dawn_native/d3d12/TextureD3D12.h",
|
||||
"src/dawn_native/d3d12/UtilsD3D12.cpp",
|
||||
"src/dawn_native/d3d12/UtilsD3D12.h",
|
||||
"src/dawn_native/d3d12/d3d12_platform.h",
|
||||
],
|
||||
".",
|
||||
"$dawn_root")
|
||||
sources += rebase_path(
|
||||
[
|
||||
"src/dawn_native/d3d12/AdapterD3D12.cpp",
|
||||
"src/dawn_native/d3d12/AdapterD3D12.h",
|
||||
"src/dawn_native/d3d12/BackendD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BackendD3D12.h",
|
||||
"src/dawn_native/d3d12/BindGroupD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BindGroupD3D12.h",
|
||||
"src/dawn_native/d3d12/BindGroupLayoutD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BindGroupLayoutD3D12.h",
|
||||
"src/dawn_native/d3d12/BufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/BufferD3D12.h",
|
||||
"src/dawn_native/d3d12/CommandAllocatorManager.cpp",
|
||||
"src/dawn_native/d3d12/CommandAllocatorManager.h",
|
||||
"src/dawn_native/d3d12/CommandBufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/CommandBufferD3D12.h",
|
||||
"src/dawn_native/d3d12/CommandRecordingContext.cpp",
|
||||
"src/dawn_native/d3d12/CommandRecordingContext.h",
|
||||
"src/dawn_native/d3d12/CommittedResourceAllocatorD3D12.cpp",
|
||||
"src/dawn_native/d3d12/CommittedResourceAllocatorD3D12.h",
|
||||
"src/dawn_native/d3d12/ComputePipelineD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ComputePipelineD3D12.h",
|
||||
"src/dawn_native/d3d12/D3D12Backend.cpp",
|
||||
"src/dawn_native/d3d12/D3D12Info.cpp",
|
||||
"src/dawn_native/d3d12/D3D12Info.h",
|
||||
"src/dawn_native/d3d12/DescriptorHeapAllocator.cpp",
|
||||
"src/dawn_native/d3d12/DescriptorHeapAllocator.h",
|
||||
"src/dawn_native/d3d12/DeviceD3D12.cpp",
|
||||
"src/dawn_native/d3d12/DeviceD3D12.h",
|
||||
"src/dawn_native/d3d12/Forward.h",
|
||||
"src/dawn_native/d3d12/NativeSwapChainImplD3D12.cpp",
|
||||
"src/dawn_native/d3d12/NativeSwapChainImplD3D12.h",
|
||||
"src/dawn_native/d3d12/PipelineLayoutD3D12.cpp",
|
||||
"src/dawn_native/d3d12/PipelineLayoutD3D12.h",
|
||||
"src/dawn_native/d3d12/PlatformFunctions.cpp",
|
||||
"src/dawn_native/d3d12/PlatformFunctions.h",
|
||||
"src/dawn_native/d3d12/QueueD3D12.cpp",
|
||||
"src/dawn_native/d3d12/QueueD3D12.h",
|
||||
"src/dawn_native/d3d12/RenderPipelineD3D12.cpp",
|
||||
"src/dawn_native/d3d12/RenderPipelineD3D12.h",
|
||||
"src/dawn_native/d3d12/ResourceAllocator.cpp",
|
||||
"src/dawn_native/d3d12/ResourceAllocator.h",
|
||||
"src/dawn_native/d3d12/ResourceAllocatorManagerD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ResourceAllocatorManagerD3D12.h",
|
||||
"src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ResourceHeapAllocationD3D12.h",
|
||||
"src/dawn_native/d3d12/SamplerD3D12.cpp",
|
||||
"src/dawn_native/d3d12/SamplerD3D12.h",
|
||||
"src/dawn_native/d3d12/ShaderModuleD3D12.cpp",
|
||||
"src/dawn_native/d3d12/ShaderModuleD3D12.h",
|
||||
"src/dawn_native/d3d12/StagingBufferD3D12.cpp",
|
||||
"src/dawn_native/d3d12/StagingBufferD3D12.h",
|
||||
"src/dawn_native/d3d12/SwapChainD3D12.cpp",
|
||||
"src/dawn_native/d3d12/SwapChainD3D12.h",
|
||||
"src/dawn_native/d3d12/TextureCopySplitter.cpp",
|
||||
"src/dawn_native/d3d12/TextureCopySplitter.h",
|
||||
"src/dawn_native/d3d12/TextureD3D12.cpp",
|
||||
"src/dawn_native/d3d12/TextureD3D12.h",
|
||||
"src/dawn_native/d3d12/UtilsD3D12.cpp",
|
||||
"src/dawn_native/d3d12/UtilsD3D12.h",
|
||||
"src/dawn_native/d3d12/d3d12_platform.h",
|
||||
],
|
||||
".",
|
||||
"$dawn_root")
|
||||
}
|
||||
|
||||
if (dawn_enable_metal) {
|
||||
|
Loading…
Reference in New Issue
Block a user