Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: build/config/fuchsia/BUILD.gn

Issue 2895583004: fuchsia: Let linker know where to find libclang_rt.builtin.a (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/fuchsia/BUILD.gn
diff --git a/build/config/fuchsia/BUILD.gn b/build/config/fuchsia/BUILD.gn
index 9ec7b11ddc5a2eff38f48ce87aa5c2d6fa7d3411..6a5a4da8817858eb38b8e3b67142eab00225af3a 100644
--- a/build/config/fuchsia/BUILD.gn
+++ b/build/config/fuchsia/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/fuchsia/config.gni")
import("//build/config/sysroot.gni")
assert(is_fuchsia)
@@ -22,6 +23,15 @@ config("compiler") {
}
asmflags = cflags
+ # TODO(thakis): Once Fuchsia's libclang_rt.builtin no longer has upstream
+ # patches, we might want to make tools/clang/scripts/update.py build it
+ # and bundle it with the clang package instead of using the library from
+ # the SDK.
scottmg 2017/05/19 19:53:55 Maybe link crbug.com/724204 here.
Nico 2017/05/19 19:54:56 Done.
+ ldflags += [
+ "-resource-dir",
+ rebase_path(fuchsia_sdk, root_build_dir) + "/toolchain_libs/clang/5.0.0",
+ ]
+
libs = [
"mxio",
"magenta",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698