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

Unified Diff: tools/gn/value_extractors.h

Issue 1621053002: Add an assert_no_deps variable to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fix Created 4 years, 11 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/target_unittest.cc ('k') | tools/gn/value_extractors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/value_extractors.h
diff --git a/tools/gn/value_extractors.h b/tools/gn/value_extractors.h
index 06d64cef676e78d62fdc0c9c1dfa19f963567739..1e426502036a88724171e4dfe5d5bdc2e3bc9cd8 100644
--- a/tools/gn/value_extractors.h
+++ b/tools/gn/value_extractors.h
@@ -15,6 +15,7 @@
class BuildSettings;
class Err;
class Label;
+class LabelPattern;
class SourceDir;
class SourceFile;
class Value;
@@ -80,4 +81,9 @@ bool ExtractRelativeFile(const BuildSettings* build_settings,
SourceFile* file,
Err* err);
+bool ExtractListOfLabelPatterns(const Value& value,
+ const SourceDir& current_dir,
+ std::vector<LabelPattern>* patterns,
+ Err* err);
+
#endif // TOOLS_GN_VALUE_EXTRACTORS_H_
« no previous file with comments | « tools/gn/target_unittest.cc ('k') | tools/gn/value_extractors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698