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

Unified Diff: tools/gn/bundle_data.h

Issue 1892243002: Write a phony target for the top-level directory of a create_bundle target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | tools/gn/bundle_data.cc » ('j') | tools/gn/bundle_data.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/bundle_data.h
diff --git a/tools/gn/bundle_data.h b/tools/gn/bundle_data.h
index e78589e9e91cfce01f68a10928cafe92732965e9..d589a6dc9115f0dede906af034ec0dd535cf3e2b 100644
--- a/tools/gn/bundle_data.h
+++ b/tools/gn/bundle_data.h
@@ -64,6 +64,12 @@ class BundleData {
// asset_catalog_sources() is not empty.
SourceFile GetCompiledAssetCatalogPath() const;
+ // Returns the path to the top-level directory of the bundle. This is
+ // based on root_dir(), but since that can be Bundle.app/Contents/ or
+ // any other subpath, this is just the most top-level directory (e.g.,
+ // just Bundle.app/).
+ SourceFile GetBundleRootDirOutput(const Settings* settings) const;
brettw 2016/04/18 20:16:14 Can this return a SourceDir instead? The thing you
Robert Sesek 2016/04/19 15:37:51 Is it acceptable to convert a SourceDir to an Outp
brettw 2016/04/21 19:14:00 I can kind of see that. Can the comment above the
Robert Sesek 2016/04/21 21:03:20 Done.
+
// Returns the list of inputs for the compilation of the asset catalog.
SourceFiles& asset_catalog_sources() { return asset_catalog_sources_; }
const SourceFiles& asset_catalog_sources() const {
« no previous file with comments | « no previous file | tools/gn/bundle_data.cc » ('j') | tools/gn/bundle_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698