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

Unified Diff: tools/gn/args.cc

Issue 180743014: Allow the bootstrap binary of GN (the one in TEMPDIR) to build and run on FreeBSD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Submit a clean patch. Created 6 years, 9 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 | tools/gn/bootstrap/bootstrap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/args.cc
diff --git a/tools/gn/args.cc b/tools/gn/args.cc
index 2c4891ca82bb742b3cad77d52afdf2515a43204c..56ef331546ca354bfe79344c9c6c558086b72b8a 100644
--- a/tools/gn/args.cc
+++ b/tools/gn/args.cc
@@ -209,6 +209,8 @@ void Args::SetSystemVarsLocked(Scope* dest) const {
os = "mac";
#elif defined(OS_LINUX)
os = "linux";
+#elif defined(OS_FREEBSD)
+ os = "freebsd";
#else
#error Unknown OS type.
#endif
« no previous file with comments | « no previous file | tools/gn/bootstrap/bootstrap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698