BUILD.gn: Make SPIRV-Cross includes relative to repo.
BUG=chromium:870747 Change-Id: I9dfdc4f88b0f17b9c2a4e102610d9eb125087bba Reviewed-on: https://dawn-review.googlesource.com/1642 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
038a8554ad
commit
299ce6c69c
|
@ -40,7 +40,7 @@ static_library("glad") {
|
||||||
spirv_cross_dir = dawn_spirv_cross_dir
|
spirv_cross_dir = dawn_spirv_cross_dir
|
||||||
|
|
||||||
config("spirv_cross_public") {
|
config("spirv_cross_public") {
|
||||||
include_dirs = [ "." ]
|
include_dirs = [ "${spirv_cross_dir}/.." ]
|
||||||
defines = [ "SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS" ]
|
defines = [ "SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue