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

Unified Diff: tools/gn/bundle_data.cc

Issue 1804263003: Consider bundle_data as public_deps of create_bundle targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@{interstitial}
Patch Set: Created 4 years, 9 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
Index: tools/gn/bundle_data.cc
diff --git a/tools/gn/bundle_data.cc b/tools/gn/bundle_data.cc
index e22612c23be502561889f3416a0d7736cc974e32..090ac8a4eb32203fc9b1930071263c079877dfbe 100644
--- a/tools/gn/bundle_data.cc
+++ b/tools/gn/bundle_data.cc
@@ -60,6 +60,8 @@ void BundleData::AddFileRuleFromTarget(const Target* target) {
file_rules_.push_back(BundleFileRule(
file_rule_sources, target->action_values().outputs().list()[0]));
}
+
+ deps_.push_back(LabelTargetPair(target));
}
void BundleData::GetSourceFiles(std::vector<SourceFile>* sources) const {
« no previous file with comments | « tools/gn/bundle_data.h ('k') | tools/gn/target.cc » ('j') | tools/gn/target.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698