Revert "Add resources.pb to the apex bundle"

This reverts commit 1ed0fc532d.

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
This commit is contained in:
Shahar Amitai
2018-11-26 14:12:02 +00:00
committed by Jiyong Park
parent 742989eedb
commit 328b077e20

View File

@@ -72,8 +72,7 @@ var (
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")