Index: tools/gn/settings.h |
diff --git a/tools/gn/settings.h b/tools/gn/settings.h |
index e66a13f6a35736bfd2383766e8dc5259391318b1..e07ee2e039c48319ec7c437201c167e6666dc03d 100644 |
--- a/tools/gn/settings.h |
+++ b/tools/gn/settings.h |
@@ -26,13 +26,6 @@ |
// the file with the toolchain declaration in it. |
class Settings { |
public: |
- enum TargetOS { |
- UNKNOWN, |
- LINUX, |
- MAC, |
- WIN |
- }; |
- |
// Constructs a toolchain settings. |
// |
// The output_subdir_name is the name we should use for the subdirectory in |
@@ -60,13 +53,6 @@ class Settings { |
return toolchain_label_ == default_toolchain_label_; |
} |
- bool IsMac() const { return target_os_ == MAC; } |
- bool IsLinux() const { return target_os_ == LINUX; } |
- bool IsWin() const { return target_os_ == WIN; } |
- |
- TargetOS target_os() const { return target_os_; } |
- void set_target_os(TargetOS t) { target_os_ = t; } |
- |
const OutputFile& toolchain_output_subdir() const { |
return toolchain_output_subdir_; |
} |
@@ -106,8 +92,6 @@ class Settings { |
Label toolchain_label_; |
Label default_toolchain_label_; |
- TargetOS target_os_; |
- |
mutable ImportManager import_manager_; |
// The subdirectory inside the build output for this toolchain. For the |