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

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

Issue 2692273008: Hacky slashy (Closed)
Patch Set: tidy up required gn flags, use sdk Created 3 years, 10 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
Index: build/config/posix/BUILD.gn
diff --git a/build/config/posix/BUILD.gn b/build/config/posix/BUILD.gn
index d7e917af441fb6c7921c349c236404ca571dcfed..9c9cf3ba7c3317214f54c26fcf76a262561b585d 100644
--- a/build/config/posix/BUILD.gn
+++ b/build/config/posix/BUILD.gn
@@ -31,7 +31,7 @@ config("compiler") {
# that is Posix-only. Please see that target for advice on what should go in
# :runtime_library vs. :compiler.
config("runtime_library") {
- if (!is_mac && !is_ios && sysroot != "") {
+ if (!is_mac && !is_ios && !is_fuchsia && sysroot != "") {
# Pass the sysroot to all C compiler variants, the assembler, and linker.
cflags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ]
asmflags = cflags

Powered by Google App Engine
This is Rietveld 408576698