gn2bp: Add source genrule for proto to the srcs
Test: ./update_result.sh
Change-Id: I4114923ec3103705c5efadada354d6abf7572f87
diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp
index 01410bb..674de98 100755
--- a/tools/gn2bp/gen_android_bp
+++ b/tools/gn2bp/gen_android_bp
@@ -948,6 +948,7 @@
header_module.out = [file for file in header_module.out if os.path.splitext(file)[1] == '.h']
module.out = [file for file in module.out if os.path.splitext(file)[1] == '.cc']
module.genrule_headers.add(header_module.name)
+ module.genrule_srcs.add(':' + module.name)
blueprint.add_module(header_module)
blueprint.add_module(module)