Age | Commit message (Collapse) | Author |
|
Since protobuf binary format (.pb) is not human-readable, add 'info'
command to deapexer tool to print APEX manifest from APEX file in JSON
format.
Bug: 143951586
Test: deapexer info com.android.runtime.apex # prints
Change-Id: Ib09e088cb28d651852233bdedd94c2c95be1df67
|
|
apexer adds apex_manifest.pb as well as Q-compatible json and R+ json.
apexd on Q can't understand newly added properties in
apex_manifest.json, which prevents from installed APEX packages built
with new properties.
apexer accepts three of apex_mainfest(.json, _full.json, .pb) from
commandline, and then put them in the apex container and image in it.
Bug: 143654022
Test: m -j
Change-Id: I8752b0c21af747be6fc5c3a04d1cb114d789c77e
|
|
Test: presubmit tests
Change-Id: Ifa233810fb0b78933c69a19c30f17379853c3de6
|
|
This change adds a new property noCode to the apex manifest. When the
property is set to true, the APEX is mounted with MS_NOEXEC to prevent
execution of code from the APEX. This can be used for data-only APEXes
like the timezone APEX or bootanim APEX.
Bug: 129030458
Test: atest apex_manifest_test
atest apexservice_test
Change-Id: Iee1087036d4783f4b77483df026e1509f3c3266c
|
|
Moving towards protobuf validation in apexer/apexd. Since this will be
the main class that will be used for apex manifest, renaming for better
reference.
Test: ./apexer/runtests.sh
Change-Id: Iaf9bfb1747a60f5c22869d8a56a7661bf10866e9
|
|
Remove ApexManifest class and use proto object directly.
Add postInstallHook field in proto message schema as it is present in
apexd.
Bug: 116129963
Test: ./apexer/runtests.sh
Change-Id: Iaca472c942c1546ff74761d450155530d446447d
|
|
Protobuf saves the field names in camelCase. To avoid converting to and
from camelCase, using consistent field names for apex manifest schema.
Bug: 121546801
Test: mmma system/apex
out/host/linux-x86/testcases/apex_file_test/x86/apex_file_test
out/host/linux-x86/testcases/apex_manifest_test/x86/apex_manifest_test
Change-Id: Iffaa099d5bff100e09c41eab3d3e9af15dfbad53
|
|
This reverts commit 0fe26b1e6832d7fe6c19e728c21fdc0e9be2ed44.
Reason for revert: Testing the breakage.
Bug: 122067734
Test: Import error not deterministically reproducible. 'embedded_launcher: true' may remove the import error as suggested in the bug discussion thread.
Change-Id: Iefd8c6c05c7bcf83a51aeed141eaaca436eed3cc
|
|
This reverts commit 7e021e8dcae1098eccf972eb9e71448134fdc08b.
Reason for revert: build break
Change-Id: I6fbd8176ec7d4124c49d07f07ca9cd21a54caad3
|
|
Validate necessary fields in the manifest using protobuf.
Add class for apex manifest for better usability of the JSON fields.
Test: ./runtests.sh
Bug: 116129963
Change-Id: Icf5091ebc9fb4faca437cada3b93cd98c4b77ba6
|