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

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

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip 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/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 069f10b98123f4560bee01bcdaaea8cf674e22e3..33c6a2c60b6c706f3a8ab6831896efbb8d0048d7 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -161,6 +161,8 @@ config("compiler") {
configs += [ "//build/config/nacl:compiler" ]
} else if (is_ios || is_mac) {
configs += [ "//build/config/mac:compiler" ]
+ } else if (current_os == "fuchsia") {
+ configs += [ "//build/config/fuchsia:compiler" ]
}
# Applies to all Posix systems.
@@ -298,7 +300,7 @@ config("compiler") {
# Linux/Android common flags setup.
# ---------------------------------
- if (is_linux || is_android) {
+ if (is_linux || is_android || current_os == "fuchsia") {
cflags += [
"-fPIC",
"-pipe", # Use pipes for communicating between sub-processes. Faster.

Powered by Google App Engine
This is Rietveld 408576698