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

Unified Diff: tools/gn/settings.h

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 | « tools/gn/filesystem_utils.cc ('k') | tools/gn/settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/settings.h
diff --git a/tools/gn/settings.h b/tools/gn/settings.h
index f2e8925fdfc21e2c3911d68e4bf9560b69a8ef6e..4dd4c89356cc1d0e9aacdeb22135b45f50acb096 100644
--- a/tools/gn/settings.h
+++ b/tools/gn/settings.h
@@ -28,6 +28,7 @@ class Settings {
public:
enum TargetOS {
UNKNOWN,
+ FREEBSD,
LINUX,
MAC,
WIN
@@ -60,6 +61,7 @@ class Settings {
bool IsMac() const { return target_os_ == MAC; }
bool IsLinux() const { return target_os_ == LINUX; }
+ bool IsFreeBSD() const { return target_os_ == FREEBSD; }
bool IsWin() const { return target_os_ == WIN; }
TargetOS target_os() const { return target_os_; }
« no previous file with comments | « tools/gn/filesystem_utils.cc ('k') | tools/gn/settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698