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

Unified Diff: tools/gn/output_file.cc

Issue 1155303008: Allow directories for GN data lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@path
Patch Set: add dir test Created 5 years, 7 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/output_file.h ('k') | tools/gn/runtime_deps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/output_file.cc
diff --git a/tools/gn/output_file.cc b/tools/gn/output_file.cc
index 1b6db62298bebcac2c7f33fb88cb4a56e7293d08..12845fbfaadf0739125049be427da23cc6a50f12 100644
--- a/tools/gn/output_file.cc
+++ b/tools/gn/output_file.cc
@@ -10,8 +10,12 @@
OutputFile::OutputFile() : value_() {
}
-OutputFile::OutputFile(const base::StringPiece& str)
- : value_(str.data(), str.size()) {
+OutputFile::OutputFile(std::string&& v)
+ : value_(v) {
+}
+
+OutputFile::OutputFile(const std::string& v)
+ : value_(v) {
}
OutputFile::OutputFile(const BuildSettings* build_settings,
« no previous file with comments | « tools/gn/output_file.h ('k') | tools/gn/runtime_deps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698