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:
Pawel Pluciennik 2019-10-24 09:44:13 +00:00 committed by Commit Bot service account
parent 402fbcca93
commit 20b416235a

View File

@ -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" ]