mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 09:25:25 +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:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <functional>
|
||||
#include <thread>
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user