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

Unified Diff: tools/gn/target.cc

Issue 1751903003: Add "bundle_data" target as first step for adding bundle support to gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-typos
Patch Set: Rebase Created 4 years, 10 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.cc
diff --git a/tools/gn/target.cc b/tools/gn/target.cc
index 594b368a5522911faca499e00da771da6c8413eb..9435d47ac59bfce8453c1e8216455f77f4cd27c2 100644
--- a/tools/gn/target.cc
+++ b/tools/gn/target.cc
@@ -222,6 +222,8 @@ const char* Target::GetStringForOutputType(OutputType type) {
return "Action";
case ACTION_FOREACH:
return "ActionForEach";
+ case BUNDLE_DATA:
+ return "Bundle data";
default:
return "";
}
@@ -479,6 +481,7 @@ void Target::FillOutputFiles() {
bool check_tool_outputs = false;
switch (output_type_) {
case GROUP:
+ case BUNDLE_DATA:
case SOURCE_SET:
case COPY_FILES:
case ACTION:
« 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