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

@@ -19,7 +19,7 @@ import("${dawn_root}/scripts/dawn_component.gni")
dawn_component("dawn_platform") {
DEFINE_PREFIX = "DAWN_PLATFORM"
configs = [ "${dawn_root}/src/common:dawn_internal" ]
configs = [ "${dawn_root}/src/dawn/common:internal_config" ]
sources = [
"${dawn_root}/src/include/dawn_platform/DawnPlatform.h",
@@ -32,7 +32,7 @@ dawn_component("dawn_platform") {
"tracing/TraceEvent.h",
]
deps = [ "${dawn_root}/src/common" ]
deps = [ "${dawn_root}/src/dawn/common" ]
public_deps = [
# DawnPlatform.h has #include <dawn/webgpu.h>

View File

@@ -15,7 +15,7 @@
#include "dawn_platform/DawnPlatform.h"
#include "dawn_platform/WorkerThread.h"
#include "common/Assert.h"
#include "dawn/common/Assert.h"
namespace dawn::platform {

View File

@@ -18,7 +18,7 @@
#include <functional>
#include <thread>
#include "common/Assert.h"
#include "dawn/common/Assert.h"
namespace {

View File

@@ -15,7 +15,7 @@
#ifndef COMMON_WORKERTHREAD_H_
#define COMMON_WORKERTHREAD_H_
#include "common/NonCopyable.h"
#include "dawn/common/NonCopyable.h"
#include "dawn_platform/DawnPlatform.h"
namespace dawn::platform {

View File

@@ -13,7 +13,7 @@
// limitations under the License.
#include "dawn_platform/tracing/EventTracer.h"
#include "common/Assert.h"
#include "dawn/common/Assert.h"
#include "dawn_platform/DawnPlatform.h"
namespace dawn::platform::tracing {