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

Unified Diff: tools/gn/target.h

Issue 1606553002: Add support for Mac/iOS application bundles to GN tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: base_unittests builds and pass all tests with GN 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
Index: tools/gn/target.h
diff --git a/tools/gn/target.h b/tools/gn/target.h
index eff4d150d53e5dd3a7856926c3ab0ed7d6925f3a..599185fe25bc778240201aa5c367caa456cd2600 100644
--- a/tools/gn/target.h
+++ b/tools/gn/target.h
@@ -40,6 +40,7 @@ class Target : public Item {
STATIC_LIBRARY,
SOURCE_SET,
COPY_FILES,
+ COPY_BUNDLE_DATA,
ACTION,
ACTION_FOREACH,
};
@@ -134,7 +135,8 @@ class Target : public Item {
bool hard_dep() const {
return output_type_ == ACTION ||
output_type_ == ACTION_FOREACH ||
- output_type_ == COPY_FILES;
+ output_type_ == COPY_FILES ||
+ output_type_ == COPY_BUNDLE_DATA;
brettw 2016/01/20 22:23:17 Are you sure you need this? The COPY_FILES rule i
sdefresne 2016/01/21 22:00:56 Good point. Removed.
}
// Returns the iterator range which can be used in range-based for loops
« tools/gn/functions_target.cc ('K') | « tools/gn/runtime_deps.cc ('k') | tools/gn/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698