Revert "Add resources.pb to the apex bundle"
This reverts commit 1ed0fc532da81008143f1b7ae8f80d6e3eba10c4.
Reason for revert: resources.pb not needed, version code is taken from AndroidManifest.xml
Bug: 117295826
Test: tapas com.android.runtime.debug; m dist
$ unzip -l com.android.runtime.debug-base.zip
Archive: out/dist/com.android.runtime.debug-base.zip
Length Date Time Name
--------- ---------- ----- ----
29618176 1980-01-01 09:00 apex/armeabi-v7a.img
52 1980-01-01 09:00 root/apex_manifest.json
464 1980-01-01 09:00 manifest/AndroidManifest.xml
--------- -------
29618692 3 files
Change-Id: I677b9e70726087aa3ecc2949648976a0dfcd57dd
diff --git a/apex/apex.go b/apex/apex.go
index ded69fa..8a652db 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -72,8 +72,7 @@
Command: `${zip2zip} -i $in -o $out ` +
`apex_payload.img:apex/${abi}.img ` +
`apex_manifest.json:root/apex_manifest.json ` +
- `AndroidManifest.xml:manifest/AndroidManifest.xml ` +
- `resources.pb`,
+ `AndroidManifest.xml:manifest/AndroidManifest.xml`,
CommandDeps: []string{"${zip2zip}"},
Description: "app bundle",
}, "abi")