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

Unified Diff: tools/gn/target_generator.h

Issue 22290010: Add support for data deps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove switch Created 7 years, 4 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.h ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/target_generator.h
diff --git a/tools/gn/target_generator.h b/tools/gn/target_generator.h
index 11e920ceadbc724597b14f0bc1a9c5c98e725f5b..faaa1b54ebf3148a2fe233998dced070c59531f4 100644
--- a/tools/gn/target_generator.h
+++ b/tools/gn/target_generator.h
@@ -46,10 +46,12 @@ class TargetGenerator {
// Sets err_ on failure.
Target::OutputType GetOutputType() const;
- // Reads configs from the given var name, and uses the given setting on the
- // target to save them
+ // Reads configs/deps from the given var name, and uses the given setting on
+ // the target to save them.
void FillGenericConfigs(const char* var_name,
void (Target::*setter)(std::vector<const Config*>*));
+ void FillGenericDeps(const char* var_name,
+ void (Target::*setter)(std::vector<const Target*>*));
void FillConfigs();
void FillAllDependentConfigs();
@@ -57,6 +59,7 @@ class TargetGenerator {
void FillSources();
void FillData();
void FillDependencies();
+ void FillDataDependencies();
void FillDestDir();
void FillScript();
void FillScriptArgs();
« no previous file with comments | « tools/gn/target.h ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698