-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tint->dawn: Move src/dawn_platform -> src/dawn/platform
Bug: dawn:1275 Change-Id: I043c5e6d84e199fe2e753ac43181b125882439bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/79082 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
- Loading branch information
1 parent
20cbe6d
commit b2c4d7a
Showing
39 changed files
with
336 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2020 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. | ||
|
||
import("../../../scripts/dawn_overrides_with_defaults.gni") | ||
|
||
import("${dawn_root}/scripts/dawn_component.gni") | ||
|
||
dawn_component("platform") { | ||
DEFINE_PREFIX = "DAWN_PLATFORM" | ||
|
||
configs = [ "${dawn_root}/src/dawn/common:internal_config" ] | ||
|
||
sources = [ | ||
"${dawn_root}/src/include/dawn/platform/DawnPlatform.h", | ||
"${dawn_root}/src/include/dawn/platform/dawn_platform_export.h", | ||
"DawnPlatform.cpp", | ||
"WorkerThread.cpp", | ||
"WorkerThread.h", | ||
"tracing/EventTracer.cpp", | ||
"tracing/EventTracer.h", | ||
"tracing/TraceEvent.h", | ||
] | ||
|
||
deps = [ "${dawn_root}/src/dawn/common" ] | ||
|
||
public_deps = [ | ||
# DawnPlatform.h has #include <dawn/webgpu.h> | ||
"${dawn_root}/src/dawn:dawn_headers", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.