mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
tint->dawn: Move src/common -> src/dawn/common
Also remove stuttering from the target names by dropping the 'dawn_' prefix. Bug: dawn:1275 Change-Id: Iac79f9927010b8e5edeb7e0949092b34431d54dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/79061 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -21,7 +21,7 @@ import("${dawn_root}/scripts/dawn_component.gni")
|
||||
# dependencies of dawn_wire
|
||||
source_set("dawn_wire_headers") {
|
||||
public_deps = [ "${dawn_root}/src/dawn:dawn_headers" ]
|
||||
all_dependent_configs = [ "${dawn_root}/src/common:dawn_public_include_dirs" ]
|
||||
all_dependent_configs = [ "${dawn_root}/src/dawn/common:public_include_dirs" ]
|
||||
sources = [
|
||||
"${dawn_root}/src/include/dawn_wire/Wire.h",
|
||||
"${dawn_root}/src/include/dawn_wire/WireClient.h",
|
||||
@@ -53,10 +53,10 @@ dawn_component("dawn_wire") {
|
||||
|
||||
deps = [
|
||||
":dawn_wire_gen",
|
||||
"${dawn_root}/src/common",
|
||||
"${dawn_root}/src/dawn/common",
|
||||
]
|
||||
|
||||
configs = [ "${dawn_root}/src/common:dawn_internal" ]
|
||||
configs = [ "${dawn_root}/src/dawn/common:internal_config" ]
|
||||
sources = get_target_outputs(":dawn_wire_gen")
|
||||
sources += [
|
||||
"BufferConsumer.h",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "dawn_wire/ChunkedCommandHandler.h"
|
||||
|
||||
#include "common/Alloc.h"
|
||||
#include "dawn/common/Alloc.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef DAWNWIRE_CHUNKEDCOMMANDHANDLER_H_
|
||||
#define DAWNWIRE_CHUNKEDCOMMANDHANDLER_H_
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/Wire.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#ifndef DAWNWIRE_CHUNKEDCOMMANDSERIALIZER_H_
|
||||
#define DAWNWIRE_CHUNKEDCOMMANDSERIALIZER_H_
|
||||
|
||||
#include "common/Alloc.h"
|
||||
#include "common/Compiler.h"
|
||||
#include "dawn/common/Alloc.h"
|
||||
#include "dawn/common/Compiler.h"
|
||||
#include "dawn_wire/Wire.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef DAWNWIRE_WIRERESULT_H_
|
||||
#define DAWNWIRE_WIRERESULT_H_
|
||||
|
||||
#include "common/Compiler.h"
|
||||
#include "dawn/common/Compiler.h"
|
||||
|
||||
namespace dawn::wire {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "dawn_wire/client/Adapter.h"
|
||||
|
||||
#include "common/Log.h"
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn_wire/client/Client.h"
|
||||
|
||||
namespace dawn::wire::client {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "dawn_wire/client/Client.h"
|
||||
|
||||
#include "common/Compiler.h"
|
||||
#include "dawn/common/Compiler.h"
|
||||
#include "dawn_wire/client/Device.h"
|
||||
|
||||
namespace dawn::wire::client {
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#include <dawn/webgpu.h>
|
||||
#include <dawn_wire/Wire.h>
|
||||
|
||||
#include "common/LinkedList.h"
|
||||
#include "common/NonCopyable.h"
|
||||
#include "dawn/common/LinkedList.h"
|
||||
#include "dawn/common/NonCopyable.h"
|
||||
#include "dawn_wire/ChunkedCommandSerializer.h"
|
||||
#include "dawn_wire/WireClient.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/client/Client.h"
|
||||
#include "dawn_wire/client/Device.h"
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "common/Alloc.h"
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Alloc.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/WireClient.h"
|
||||
#include "dawn_wire/client/Client.h"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "dawn_wire/client/ClientMemoryTransferService_mock.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
|
||||
namespace dawn::wire::client {
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
#include "dawn_wire/client/Device.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/Log.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn_wire/client/ApiObjects_autogen.h"
|
||||
#include "dawn_wire/client/Client.h"
|
||||
#include "dawn_wire/client/ObjectAllocator.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include <dawn/webgpu.h>
|
||||
|
||||
#include "common/LinkedList.h"
|
||||
#include "dawn/common/LinkedList.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
#include "dawn_wire/client/ApiObjects_autogen.h"
|
||||
#include "dawn_wire/client/LimitsAndFeatures.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "dawn_wire/client/LimitsAndFeatures.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/SupportedFeatures.h"
|
||||
|
||||
namespace dawn::wire::client {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#ifndef DAWNWIRE_CLIENT_OBJECTALLOCATOR_H_
|
||||
#define DAWNWIRE_CLIENT_OBJECTALLOCATOR_H_
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/Compiler.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/Compiler.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include <dawn/webgpu.h>
|
||||
|
||||
#include "common/LinkedList.h"
|
||||
#include "dawn/common/LinkedList.h"
|
||||
#include "dawn_wire/ObjectType_autogen.h"
|
||||
|
||||
namespace dawn::wire::client {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#ifndef DAWNWIRE_CLIENT_REQUESTTRACKER_H_
|
||||
#define DAWNWIRE_CLIENT_REQUESTTRACKER_H_
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/NonCopyable.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/NonCopyable.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/BufferConsumer_impl.h"
|
||||
#include "dawn_wire/WireCmd_autogen.h"
|
||||
#include "dawn_wire/server/Server.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/WireServer.h"
|
||||
#include "dawn_wire/server/Server.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "dawn_wire/server/ServerMemoryTransferService_mock.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
|
||||
namespace dawn::wire::server {
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn_wire/server/Server.h"
|
||||
|
||||
namespace dawn::wire::server {
|
||||
|
||||
Reference in New Issue
Block a user