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

Unified Diff: tools/gn/output_file.h

Issue 26267003: Add the concept of a source set to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/ninja_target_writer.cc ('k') | tools/gn/secondary/build/config/BUILDCONFIG.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/output_file.h
diff --git a/tools/gn/output_file.h b/tools/gn/output_file.h
index 9c5e4b2c205ae9168d30bb75925536a8d113042f..2e7a0ce1d76bfb6925b22396ce7a6fe791535336 100644
--- a/tools/gn/output_file.h
+++ b/tools/gn/output_file.h
@@ -33,9 +33,12 @@ class OutputFile {
bool operator!=(const OutputFile& other) const {
return value_ != other.value_;
}
+ bool operator<(const OutputFile& other) const {
+ return value_ < other.value_;
+ }
private:
std::string value_;
};
-#endif
+#endif // TOOLS_GN_OUTPUT_FILE_H_
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/gn/secondary/build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698