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:
Ben Clayton
2022-02-04 12:51:25 +00:00
parent 7b76192467
commit d9ab69a9c1
413 changed files with 681 additions and 688 deletions

View File

@@ -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",

View File

@@ -14,7 +14,7 @@
#include "dawn_wire/ChunkedCommandHandler.h"
#include "common/Alloc.h"
#include "dawn/common/Alloc.h"
#include <algorithm>
#include <cstring>

View File

@@ -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"

View File

@@ -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"

View File

@@ -15,7 +15,7 @@
#ifndef DAWNWIRE_WIRERESULT_H_
#define DAWNWIRE_WIRERESULT_H_
#include "common/Compiler.h"
#include "dawn/common/Compiler.h"
namespace dawn::wire {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 {

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -14,7 +14,7 @@
#include "dawn_wire/server/ServerMemoryTransferService_mock.h"
#include "common/Assert.h"
#include "dawn/common/Assert.h"
namespace dawn::wire::server {

View File

@@ -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 {