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

Side by Side Diff: tools/gn/input_conversion.cc

Issue 54983009: [GN] Make an include path relative to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "input_conversion.h" 5 #include "tools/gn/input_conversion.h"
6 6
7 #include "base/strings/string_split.h" 7 #include "base/strings/string_split.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "tools/gn/build_settings.h" 9 #include "tools/gn/build_settings.h"
10 #include "tools/gn/err.h" 10 #include "tools/gn/err.h"
11 #include "tools/gn/input_file.h" 11 #include "tools/gn/input_file.h"
12 #include "tools/gn/label.h" 12 #include "tools/gn/label.h"
13 #include "tools/gn/parse_tree.h" 13 #include "tools/gn/parse_tree.h"
14 #include "tools/gn/parser.h" 14 #include "tools/gn/parser.h"
15 #include "tools/gn/scope.h" 15 #include "tools/gn/scope.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 return ParseString(input, origin, err); 196 return ParseString(input, origin, err);
197 if (input_conversion == "string") 197 if (input_conversion == "string")
198 return Value(origin, input); 198 return Value(origin, input);
199 if (input_conversion == "list lines") 199 if (input_conversion == "list lines")
200 return ParseList(input, origin, err); 200 return ParseList(input, origin, err);
201 201
202 *err = Err(input_conversion_value, "Not a valid read file mode.", 202 *err = Err(input_conversion_value, "Not a valid read file mode.",
203 "Have you considered a career in retail?"); 203 "Have you considered a career in retail?");
204 return Value(); 204 return Value();
205 } 205 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698