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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 850793004: Update from https://crrev.com/311346 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « build/common.gypi ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
# =============================================================================
« no previous file with comments | « build/common.gypi ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698