mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-25 07:53:32 +00:00
BUILD.gn: Fix libdawn_native missing dep on its own headers
BUG=chromium:904736 BUG=chromium:905442 TBR=kainino@chromium.org Change-Id: Ie08b9c82f189e12ba42411e492190731daad5aca Reviewed-on: https://dawn-review.googlesource.com/c/2441 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
2ec59d9fcc
commit
69b44ee6a1
7
BUILD.gn
7
BUILD.gn
@ -337,6 +337,9 @@ source_set("libdawn_native_sources") {
|
|||||||
"${dawn_spirv_tools_dir}:spvtools_val",
|
"${dawn_spirv_tools_dir}:spvtools_val",
|
||||||
"third_party:spirv_cross",
|
"third_party:spirv_cross",
|
||||||
]
|
]
|
||||||
|
public_deps = [
|
||||||
|
":libdawn_native_headers",
|
||||||
|
]
|
||||||
|
|
||||||
# Put the export config public so that dependents use the same declspec.
|
# Put the export config public so that dependents use the same declspec.
|
||||||
public_configs = [ ":libdawn_native_export" ]
|
public_configs = [ ":libdawn_native_export" ]
|
||||||
@ -684,7 +687,9 @@ source_set("libdawn_wire_sources") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shared_library("libdawn_wire") {
|
shared_library("libdawn_wire") {
|
||||||
deps = [ ":libdawn_wire_sources" ]
|
deps = [
|
||||||
|
":libdawn_wire_sources",
|
||||||
|
]
|
||||||
|
|
||||||
# Make headers publically visible
|
# Make headers publically visible
|
||||||
public_deps = [
|
public_deps = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user