Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index 7093f78f85736b15e3f312834248ef36751fa589..e9e7006dc6487ab8dcb6a9b59c4a64e1cb39c26c 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -31,6 +31,9 @@ declare_args() { |
# Debug build. |
is_debug = true |
+ # Whether we're a traditional desktop unix. |
+ is_desktop_linux = os == "linux" && os != "chromeos" |
+ |
# Set to true when compiling with the Clang compiler. Typically this is used |
# to configure warnings. |
is_clang = os == "mac" || os == "ios" || os == "linux" || os == "chromeos" |
@@ -160,8 +163,6 @@ if (os == "win") { |
is_win = false |
} |
-is_desktop_linux = is_linux && !is_chromeos |
- |
# ============================================================================= |
# CPU ARCHITECTURE |
# ============================================================================= |