gn2bp: Fix to bubble up proto static_lib deps
Test: ./update_results.sh
Change-Id: I98d484b3d6c467248f7a05cb25576d48a75ce228
diff --git a/tools/gn2bp/gn_utils.py b/tools/gn2bp/gn_utils.py
index a2d90e4..31cc2e1 100644
--- a/tools/gn2bp/gn_utils.py
+++ b/tools/gn2bp/gn_utils.py
@@ -351,9 +351,7 @@
if dep.type == 'static_library':
# Bubble up static_libs. Necessary, since soong does not propagate
# static_libs up the build tree.
- # Protobuf dependencies are handled separately.
- if '//third_party/protobuf' not in dep_name:
- target.transitive_static_libs_deps.add(dep_name)
+ target.transitive_static_libs_deps.add(dep_name)
target.transitive_static_libs_deps.update(dep.transitive_static_libs_deps)
target.deps.update(target.transitive_static_libs_deps)