mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-20 10:51:32 +00:00
Another attempt to fix failing gn check --check
in Chromium
Change-Id: I6d1690e5c6f8a4b0a8c5265cd3713698f0ee7cab Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48660 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
42708348b7
commit
536e54bca5
@ -108,6 +108,8 @@ config("tint_unittests_config") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source_set("tint_test_helpers") {
|
source_set("tint_test_helpers") {
|
||||||
|
testonly = true
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"../src/ast/intrinsic_texture_helper_test.cc",
|
"../src/ast/intrinsic_texture_helper_test.cc",
|
||||||
"../src/ast/intrinsic_texture_helper_test.h",
|
"../src/ast/intrinsic_texture_helper_test.h",
|
||||||
@ -128,6 +130,11 @@ source_set("tint_test_helpers") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
configs += [ ":tint_unittests_config" ]
|
configs += [ ":tint_unittests_config" ]
|
||||||
|
|
||||||
|
public_deps = [
|
||||||
|
":gmock_and_gtest",
|
||||||
|
"${tint_root_dir}/src:libtint",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
template("tint_unittests_source_set") {
|
template("tint_unittests_source_set") {
|
||||||
@ -148,11 +155,7 @@ template("tint_unittests_source_set") {
|
|||||||
if (!defined(invoker.deps)) {
|
if (!defined(invoker.deps)) {
|
||||||
deps = []
|
deps = []
|
||||||
}
|
}
|
||||||
deps += [
|
deps += [ ":tint_test_helpers" ]
|
||||||
":gmock_and_gtest",
|
|
||||||
":tint_test_helpers",
|
|
||||||
"${tint_root_dir}/src:libtint_core_src",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user