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

Unified Diff: tools/gn/bundle_data.h

Issue 2205693005: Add bundle_deps_filter to create_bundle targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: tools/gn/bundle_data.h
diff --git a/tools/gn/bundle_data.h b/tools/gn/bundle_data.h
index e35cacb4051e7f5256440069178512c79acf38fd..88816f29cb75b402d6fa82e4a89bab66a0496ca3 100644
--- a/tools/gn/bundle_data.h
+++ b/tools/gn/bundle_data.h
@@ -15,6 +15,7 @@
#include "tools/gn/substitution_list.h"
#include "tools/gn/unique_vector.h"
+class LabelPattern;
class OutputFile;
class Settings;
class Target;
@@ -120,6 +121,9 @@ class BundleData {
return code_signing_args_;
}
+ std::vector<LabelPattern>& deps_filter() { return deps_filter_; }
+ const std::vector<LabelPattern>& deps_filter() const { return deps_filter_; }
+
// Recursive collection of all bundle_data that the target depends on.
const UniqueTargets& bundle_deps() const { return bundle_deps_; }
@@ -128,6 +132,7 @@ class BundleData {
std::vector<const Target*> assets_catalog_deps_;
BundleFileRules file_rules_;
UniqueTargets bundle_deps_;
+ std::vector<LabelPattern> deps_filter_;
brettw 2016/08/03 19:25:19 I suggested renaming the variable below, and this
// All those values are subdirectories relative to root_build_dir, and apart
// from root_dir, they are either equal to root_dir_ or subdirectories of it.
« no previous file with comments | « build/config/ios/rules.gni ('k') | tools/gn/bundle_data.cc » ('j') | tools/gn/variables.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698