Start implementing support for action_foreach
* This will be crucial for building //net
Test: This doesn't affect the implementation
Change-Id: Iac55275ada506449da9c450460d68cac9925a908
diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp
index 06f8a90..47be818 100755
--- a/tools/gn2bp/gen_android_bp
+++ b/tools/gn2bp/gen_android_bp
@@ -826,6 +826,9 @@
module = create_gen_version_module(blueprint, target, bp_module_name)
else:
module = create_action_module(blueprint, target)
+ elif target.type == 'action_foreach':
+ return None
+ # Add basic support for action_foreach
elif target.type == 'copy':
# TODO: careful now! copy targets are not supported yet, but this will stop
# traversing the dependency tree. For //base:base, this is not a big