From c9a1f6a59581b4562d5297ad318bb82a502113d9 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Tue, 12 Apr 2022 06:59:11 +0000 Subject: [PATCH] Fix copyright issues in src/include forwarding headers. This CL adds the missing copyrights in the forwarding headers. Bug: tint:1339 Change-Id: I9806d7ef8124a8e0e9a1fbc3452e1946f75d3fb7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86363 Auto-Submit: Dan Sinclair Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/include/CPPLINT.cfg | 1 - src/include/dawn/EnumClassBitmasks.h | 14 ++++++++++++++ src/include/dawn/dawn_proc.h | 14 ++++++++++++++ src/include/dawn/dawn_thread_dispatch_proc.h | 14 ++++++++++++++ src/include/dawn/dawn_wsi.h | 14 ++++++++++++++ src/include/dawn/webgpu.h | 14 ++++++++++++++ src/include/dawn/webgpu_cpp.h | 14 ++++++++++++++ src/include/dawn_native/D3D12Backend.h | 14 ++++++++++++++ src/include/dawn_native/DawnNative.h | 14 ++++++++++++++ src/include/dawn_native/MetalBackend.h | 14 ++++++++++++++ src/include/dawn_native/NullBackend.h | 14 ++++++++++++++ src/include/dawn_native/OpenGLBackend.h | 14 ++++++++++++++ src/include/dawn_native/VulkanBackend.h | 14 ++++++++++++++ src/include/dawn_native/dawn_native_export.h | 14 ++++++++++++++ src/include/dawn_platform/DawnPlatform.h | 14 ++++++++++++++ src/include/dawn_wire/Wire.h | 14 ++++++++++++++ src/include/dawn_wire/WireClient.h | 14 ++++++++++++++ src/include/dawn_wire/WireServer.h | 14 ++++++++++++++ src/include/dawn_wire/dawn_wire_export.h | 14 ++++++++++++++ src/include/webgpu/webgpu.h | 14 ++++++++++++++ src/include/webgpu/webgpu_cpp.h | 14 ++++++++++++++ 21 files changed, 280 insertions(+), 1 deletion(-) delete mode 100644 src/include/CPPLINT.cfg diff --git a/src/include/CPPLINT.cfg b/src/include/CPPLINT.cfg deleted file mode 100644 index 88c6f99113..0000000000 --- a/src/include/CPPLINT.cfg +++ /dev/null @@ -1 +0,0 @@ -filter=-legal/copyright diff --git a/src/include/dawn/EnumClassBitmasks.h b/src/include/dawn/EnumClassBitmasks.h index 2010c04c5b..6e6e37c794 100644 --- a/src/include/dawn/EnumClassBitmasks.h +++ b/src/include/dawn/EnumClassBitmasks.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ #define SRC_INCLUDE_DAWN_ENUMCLASSBITMASKS_H_ diff --git a/src/include/dawn/dawn_proc.h b/src/include/dawn/dawn_proc.h index b60f26440d..2fd5e96848 100644 --- a/src/include/dawn/dawn_proc.h +++ b/src/include/dawn/dawn_proc.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_DAWN_PROC_H_ #define SRC_INCLUDE_DAWN_DAWN_PROC_H_ diff --git a/src/include/dawn/dawn_thread_dispatch_proc.h b/src/include/dawn/dawn_thread_dispatch_proc.h index f07db4f13d..4028e66ff7 100644 --- a/src/include/dawn/dawn_thread_dispatch_proc.h +++ b/src/include/dawn/dawn_thread_dispatch_proc.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ #define SRC_INCLUDE_DAWN_DAWN_THREAD_DISPATCH_PROC_H_ diff --git a/src/include/dawn/dawn_wsi.h b/src/include/dawn/dawn_wsi.h index c20ab80ddb..414ea3a927 100644 --- a/src/include/dawn/dawn_wsi.h +++ b/src/include/dawn/dawn_wsi.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_DAWN_WSI_H_ #define SRC_INCLUDE_DAWN_DAWN_WSI_H_ diff --git a/src/include/dawn/webgpu.h b/src/include/dawn/webgpu.h index 863cc8775a..1efae373bb 100644 --- a/src/include/dawn/webgpu.h +++ b/src/include/dawn/webgpu.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WEBGPU_H_ #define SRC_INCLUDE_DAWN_WEBGPU_H_ diff --git a/src/include/dawn/webgpu_cpp.h b/src/include/dawn/webgpu_cpp.h index f98aa5a32d..45ca2b211a 100644 --- a/src/include/dawn/webgpu_cpp.h +++ b/src/include/dawn/webgpu_cpp.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WEBGPU_CPP_H_ #define SRC_INCLUDE_DAWN_WEBGPU_CPP_H_ diff --git a/src/include/dawn_native/D3D12Backend.h b/src/include/dawn_native/D3D12Backend.h index c399a9435c..8678ba44e3 100644 --- a/src/include/dawn_native/D3D12Backend.h +++ b/src/include/dawn_native/D3D12Backend.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_D3D12BACKEND_H_ diff --git a/src/include/dawn_native/DawnNative.h b/src/include/dawn_native/DawnNative.h index 5019f6d113..75708b66c3 100644 --- a/src/include/dawn_native/DawnNative.h +++ b/src/include/dawn_native/DawnNative.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ #define SRC_INCLUDE_DAWN_NATIVE_DAWNNATIVE_H_ diff --git a/src/include/dawn_native/MetalBackend.h b/src/include/dawn_native/MetalBackend.h index ade5d484c1..27a3c31041 100644 --- a/src/include/dawn_native/MetalBackend.h +++ b/src/include/dawn_native/MetalBackend.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_METALBACKEND_H_ diff --git a/src/include/dawn_native/NullBackend.h b/src/include/dawn_native/NullBackend.h index c0275bc9e1..dbf6e0de1a 100644 --- a/src/include/dawn_native/NullBackend.h +++ b/src/include/dawn_native/NullBackend.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_NULLBACKEND_H_ diff --git a/src/include/dawn_native/OpenGLBackend.h b/src/include/dawn_native/OpenGLBackend.h index dcbe69766a..cc40eb629e 100644 --- a/src/include/dawn_native/OpenGLBackend.h +++ b/src/include/dawn_native/OpenGLBackend.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_OPENGLBACKEND_H_ diff --git a/src/include/dawn_native/VulkanBackend.h b/src/include/dawn_native/VulkanBackend.h index c81d6e69c8..5925028230 100644 --- a/src/include/dawn_native/VulkanBackend.h +++ b/src/include/dawn_native/VulkanBackend.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ #define SRC_INCLUDE_DAWN_NATIVE_VULKANBACKEND_H_ diff --git a/src/include/dawn_native/dawn_native_export.h b/src/include/dawn_native/dawn_native_export.h index b7e2bcb9cb..d9d386ef85 100644 --- a/src/include/dawn_native/dawn_native_export.h +++ b/src/include/dawn_native/dawn_native_export.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ #define SRC_INCLUDE_DAWN_NATIVE_DAWN_NATIVE_EXPORT_H_ diff --git a/src/include/dawn_platform/DawnPlatform.h b/src/include/dawn_platform/DawnPlatform.h index f93fe7b6a9..b364202592 100644 --- a/src/include/dawn_platform/DawnPlatform.h +++ b/src/include/dawn_platform/DawnPlatform.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ #define SRC_INCLUDE_DAWN_PLATFORM_DAWNPLATFORM_H_ diff --git a/src/include/dawn_wire/Wire.h b/src/include/dawn_wire/Wire.h index 9762460ab9..70a081b1e8 100644 --- a/src/include/dawn_wire/Wire.h +++ b/src/include/dawn_wire/Wire.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WIRE_WIRE_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRE_H_ diff --git a/src/include/dawn_wire/WireClient.h b/src/include/dawn_wire/WireClient.h index b05dcf805c..2cd7baa2c9 100644 --- a/src/include/dawn_wire/WireClient.h +++ b/src/include/dawn_wire/WireClient.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRECLIENT_H_ diff --git a/src/include/dawn_wire/WireServer.h b/src/include/dawn_wire/WireServer.h index 6d38c65e86..1868aa8158 100644 --- a/src/include/dawn_wire/WireServer.h +++ b/src/include/dawn_wire/WireServer.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ #define SRC_INCLUDE_DAWN_WIRE_WIRESERVER_H_ diff --git a/src/include/dawn_wire/dawn_wire_export.h b/src/include/dawn_wire/dawn_wire_export.h index d203fe9bf1..d41e6b6cc7 100644 --- a/src/include/dawn_wire/dawn_wire_export.h +++ b/src/include/dawn_wire/dawn_wire_export.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ #define SRC_INCLUDE_DAWN_WIRE_DAWN_WIRE_EXPORT_H_ diff --git a/src/include/webgpu/webgpu.h b/src/include/webgpu/webgpu.h index c9c5704f16..afce939e54 100644 --- a/src/include/webgpu/webgpu.h +++ b/src/include/webgpu/webgpu.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_WEBGPU_WEBGPU_H_ #define SRC_INCLUDE_WEBGPU_WEBGPU_H_ diff --git a/src/include/webgpu/webgpu_cpp.h b/src/include/webgpu/webgpu_cpp.h index 4dfa8ffd76..cd509aff4b 100644 --- a/src/include/webgpu/webgpu_cpp.h +++ b/src/include/webgpu/webgpu_cpp.h @@ -1,3 +1,17 @@ +// Copyright 2022 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_ #define SRC_INCLUDE_WEBGPU_WEBGPU_CPP_H_