Add EOL at end of Android.bp.

Change-Id: If7d36e55e7e817be98e7e97180363cf80be2ab64
diff --git a/Android.bp b/Android.bp
index f9d23e4..9084200 100644
--- a/Android.bp
+++ b/Android.bp
@@ -9032,4 +9032,4 @@
       enabled: true,
     },
   },
-}
\ No newline at end of file
+}
diff --git a/tools/gen_android_bp b/tools/gen_android_bp
index 5e39040..3f2ea43 100755
--- a/tools/gen_android_bp
+++ b/tools/gen_android_bp
@@ -993,6 +993,8 @@
   out_files.append(args.output + '.swp')
   with open(out_files[-1], 'w') as f:
     f.write('\n'.join(output))
+    # Text files should have a trailing EOL.
+    f.write('\n')
 
   # Generate the perfetto_build_flags.h file.
   out_files.append(os.path.join(buildflags_dir, 'perfetto_build_flags.h.swp'))