mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-09-13 14:34:00 +00:00
Move ldflags (Metal dependency) to libdawn_native.
Bug: chromium:1003381 Change-Id: I1cb0f0404dde9936f4fb8f64588535a84e50c957 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12600 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Nico Weber <thakis@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
402fbcca93
commit
20b416235a
2
BUILD.gn
2
BUILD.gn
@ -128,7 +128,6 @@ source_set("libdawn_native_sources") {
|
||||
]
|
||||
|
||||
configs += [ ":libdawn_native_internal" ]
|
||||
all_dependent_configs = [ ":libdawn_native_weak_framework" ]
|
||||
libs = []
|
||||
|
||||
# Dependencies that are needed to compile libdawn_native entry points in
|
||||
@ -517,6 +516,7 @@ dawn_component("libdawn_native") {
|
||||
"src/dawn_native/DawnNative.cpp",
|
||||
]
|
||||
configs = [ ":libdawn_native_internal" ]
|
||||
public_configs = [ ":libdawn_native_weak_framework" ]
|
||||
|
||||
if (dawn_enable_d3d12) {
|
||||
sources += [ "src/dawn_native/d3d12/D3D12Backend.cpp" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user