mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Autoformat everything except tests/examples
Done by:
- Appending an extra newline at the end of src/**/*.{cpp,h,mm,gn}
except src/tests/*
- Running git cl format --full to format the full contents of every
changed file
Bug: none
Change-Id: Id88fc5ed0c5efbbc93b2c6a305c2f98465fe646d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24641
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
d82ef86b79
commit
6328356129
@@ -25,9 +25,7 @@ import("${dawn_root}/scripts/dawn_features.gni")
|
||||
# use the real library from third_party/.
|
||||
if (dawn_supports_glfw_for_windowing) {
|
||||
group("dawn_glfw") {
|
||||
public_deps = [
|
||||
"${dawn_root}/third_party/gn/glfw",
|
||||
]
|
||||
public_deps = [ "${dawn_root}/third_party/gn/glfw" ]
|
||||
}
|
||||
} else if (is_fuchsia) {
|
||||
# The mock implementation of GLFW on Fuchsia
|
||||
@@ -52,9 +50,7 @@ if (dawn_supports_glfw_for_windowing) {
|
||||
"Glfw3Fuchsia.cpp",
|
||||
]
|
||||
public_configs = [ ":dawn_glfw_public_config" ]
|
||||
deps = [
|
||||
"${dawn_root}/src/common",
|
||||
]
|
||||
deps = [ "${dawn_root}/src/common" ]
|
||||
}
|
||||
} else {
|
||||
# Just skip GLFW on other systems
|
||||
@@ -118,9 +114,7 @@ static_library("dawn_utils") {
|
||||
}
|
||||
}
|
||||
|
||||
public_deps = [
|
||||
"${dawn_root}/src/dawn:dawncpp_headers",
|
||||
]
|
||||
public_deps = [ "${dawn_root}/src/dawn:dawncpp_headers" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
@@ -137,9 +131,7 @@ if (dawn_standalone) {
|
||||
"BackendBinding.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"${dawn_root}/src/dawn:dawn_headers",
|
||||
]
|
||||
public_deps = [ "${dawn_root}/src/dawn:dawn_headers" ]
|
||||
|
||||
deps = [
|
||||
":dawn_glfw",
|
||||
|
||||
@@ -20,4 +20,4 @@ namespace utils {
|
||||
void USleep(unsigned int usecs);
|
||||
}
|
||||
|
||||
#endif // UTILS_SYSTEMUTILS_H_
|
||||
#endif // UTILS_SYSTEMUTILS_H_
|
||||
|
||||
Reference in New Issue
Block a user