[gn build] mac: use frameworks instead of libs where appropriate
authorMark Mentovai <mark@chromium.org>
Thu, 6 Aug 2020 22:57:56 +0000 (18:57 -0400)
committerNico Weber <thakis@chromium.org>
Thu, 6 Aug 2020 22:58:57 +0000 (18:58 -0400)
commit92d58392975b908055e22c9f24dcf8e84cc58a1b
treedb96d393819eaeafba0deff1469ef0f6a329be09
parent039fb7f68af9f89f8116d769a9e4cae458baca38
[gn build] mac: use frameworks instead of libs where appropriate

As of GN 3028c6a426a4, the hack that transformed "libs" ending in
".framework" from -l arguments to -framework arguments has been removed.
Instead, "frameworks" must be used, and the toolchain must provide
support.

Differential Revision: https://reviews.llvm.org/D84219
llvm/utils/gn/build/toolchain/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn