gn2bp: Remove unnecessary conversion for write_native_libraries_java.py
Test: ./update_results.sh
Change-Id: I5786a1ab2d10373eb07e71efd6f2f29e7fc9ba8d
diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp
index 32bac95..aa89854 100755
--- a/tools/gn2bp/gen_android_bp
+++ b/tools/gn2bp/gen_android_bp
@@ -728,11 +728,6 @@
# It might be better to remove sources by '--sources-exclusions'
target.args[i] = ''
target.args[i + 1] = ''
-
- elif target.script == "//build/android/gyp/write_native_libraries_java.py":
- for i, val in enumerate(target.args):
- if val == '--output':
- target.args[i + 1] = '$(out)'
elif target.script == "//net/tools/dafsa/make_dafsa.py":
# This script generates .cc files but source (registry_controlled_domain.cc) in the target that
# depends on this target includes .cc file this script generates.