Commit graph

16 commits

Author SHA1 Message Date
Jiyong Park
697134d1d4 Revert "Revert "Set apex_available property""
This reverts commit 56a712f6c9.

Reason for revert: forward fix is at aosp/1265379

Exempt-From-Owner-Approval: relanding of an already approved CL

Change-Id: I0d93417939d570ce21f105ee4b3bae6414194dbe
2020-03-26 00:23:56 +00:00
Anna Trostanetski
56a712f6c9 Revert "Set apex_available property"
This reverts commit d25bb60e05.

Reason for revert: Breaks build_test b/152190149
Bug: 152190149

Change-Id: I6b7cb4aa4fc07fae648bcf4d9e8f60ea1c62fd9e
2020-03-23 12:02:53 +00:00
Jiyong Park
d25bb60e05 Set apex_available property
The marked library(ies) were available to the adbd APEX via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.

Exempt-From-Owner-Approval: already +2'ed by the owner (enh)

Bug: 150999716
Bug: 151398197
Test: m
Change-Id: I8b572e3c4e76bd10c0443a6c08b72e9519243ab5
2020-03-23 10:50:12 +00:00
Jiyong Park
a0e75045e6 Build adbd for recovery
adbd (and its dependencies) are marked as recovery_available:true so
that recovery version of the binary is built separately from the one for
system partition. This allows us to stop copying the system version to
the recovery partition and also opens up the way to enable shared
libraries in the recovery partition. Then we can also build adbd as a
dynamic executable.

Bug: 79146551
Test: m -j adbd.recovery
Change-Id: Ib95614c7435f9d0afc02a0c7d5ae1a94e439e32a
2018-05-24 14:11:11 +09:00
Elliott Hughes
693d63f9cf Add OWNERS.
Bug: N/A
Test: N/A
Change-Id: Ie785058c0f5eb9b4086c98ccba6e63e3ed411b65
2017-12-07 13:30:03 -08:00
Yifan Hong
fabe549af1 Mark libqemu_pipe vendor_available
Test: lunch aosp_arm && m -j BOARD_VNDK_VERSION=current

Bug: 38244611
Bug: 62449588

Change-Id: I6f9bc5b1f376a046d05d77436360b32c65981165
2017-06-08 14:16:11 -07:00
Yifan Hong
e250fd84db libqemu: Android.mk -> bp
Test: mma

Bug: 37512442
Change-Id: I96f482b3f7734ca217084104b9b733d33459d635
2017-06-08 14:16:11 -07:00
bohu
f868066daa Revert "Revert "Qemu: make the qemu_pipe_open back compatible""
This reverts commit 79b3005899.
2017-03-29 12:19:56 -07:00
bohu
ee13ff1b99 Revert "Revert "Emulator: Enhance qemu_pipe.h to handle partial rw""
This reverts commit ec768709cc.
2017-03-29 12:19:49 -07:00
bohu
f66a7ee897 Revert "Revert "Qemu-pipe: refactor qemu_pipe.h into libqemu_pipe""
This reverts commit 63ef9ff5fa.
2017-03-29 12:19:40 -07:00
bohu
63ef9ff5fa Revert "Qemu-pipe: refactor qemu_pipe.h into libqemu_pipe"
It broke master
BUG: 36695011

This reverts commit ff87855e10.

Change-Id: Ic1057a416748d4a3c9736cf3bb73982b8d45e5d5
2017-03-28 15:05:00 -07:00
bohu
ec768709cc Revert "Emulator: Enhance qemu_pipe.h to handle partial rw"
It broke master
BUG: 36695011

This reverts commit 7b60bd95df.

Change-Id: Idd45acb63b2e6112b4230de2c0609aa8f2092f45
2017-03-28 15:04:38 -07:00
bohu
79b3005899 Revert "Qemu: make the qemu_pipe_open back compatible"
It broke master
BUG: 36695011

This reverts commit a19abf1769.

Change-Id: Id9a2bc058e92a4fb2ac202f8b723062a047a1e35
2017-03-28 15:04:10 -07:00
bohu
a19abf1769 Qemu: make the qemu_pipe_open back compatible
Commit c7b098ceb5 has changed
the qemu_pipe_open interface to require the "pipe:" prefix in
the service name.

However in APIs 24 and before, the "pipe:" prefix is not required
This causes quite some confusion and bugs since it is very common
to forget the difference when working across differnet APIs.

This CL is meant to make qemu_pipe_open work in both cases by
doing the following:
1. try the service name as is;
2. if it fails, add 'pipe:' prefix and try the service name again.

Change-Id: If9782396c03780fad1aadeb8374eb308517dc963
(cherry picked from aosp f7d64fd8e1)
2017-03-28 09:27:43 -07:00
bohu
7b60bd95df Emulator: Enhance qemu_pipe.h to handle partial rw
Partial read and write happen and it is better to try again
unless there is some hard error. This is meant to fix some
flaky behavior of emulator pipe services, hopefully.

BUG: 35207286

manually tested this on emulator image.

(cherry picked from aosp f099dce4a6)

Change-Id: I26a4560fa34e979939edcc882fcc5190202fe9f6
2017-03-28 09:27:28 -07:00
bohu
ff87855e10 Qemu-pipe: refactor qemu_pipe.h into libqemu_pipe
Traditionally, qemu_pipe has both the declaration and implentation of each
function in one header file--qemu_pipe.h, and it is getting incovenient to
maintain.

This CL separates the implementation of functions from the header file,
and makes qemu_pipe a static library for other modules to link to.

Note that the interface and implementation of qemu_pipe are kept unchanged,
and future CLs will enhance the implementation to make it more reliable and
more compatible with old and new API levels.

Following projects are affected by this refactoring, and they are modified
accordingly:

hardware/ril/reference-ril

Change-Id: I541ecbf0cc7eadeef9d4e37ffd9ca7bfcc5c94c0
(cherry picked from aosp 294d44be33)
2017-03-28 09:27:00 -07:00