gn2bp: Set --include arg in protoc_wrapper.py

Test: ./update_result.sh
Change-Id: I054a6b556b63adfb6fa29cce71178f88f5d03b23
diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp
index ac629ba..0d59c4f 100755
--- a/tools/gn2bp/gen_android_bp
+++ b/tools/gn2bp/gen_android_bp
@@ -877,6 +877,12 @@
         # Needs to be dllexport_decl=value format
         target.args[i] += '=' + target.args[i+1]
         target.args[i+1] = ''
+      elif val == '--include':
+        # This file can be got from filegroup this target depends on, but currently we don't add .h
+        # files to the srcs. So far this is the only case .h files need to be added to the srcs.
+        # So, for now, adding specific for this target.
+        module.srcs.add(target.args[i+1])
+        target.args[i + 1] = '$(location %s)' % target.args[i + 1]
 
   script = gn_utils.label_to_path(target.script)
   module.tool_files.add(script)