Introduce "aidl4" variant of service manager to adapt the change
to service related protocol for Android 12.
From Android 12, when reading nullable strong binder, the format of
the `stability` field passed on the wire was changed and evolved to
`struct Category`, which consists of the following members with 4 bytes long.
```
struct Category {
uint8_t version;
uint8_t reserved[2];
Level level; <- bitmask of Stability::Level
}
```
Please check the following link for details:
https://cs.android.com/android/platform/superproject/+/android-12.0.0_r3:frameworks/native/libs/binder/include/binder/Stability.h;l=140
To honor the change on AOSP side for Android 12, we need to adapt
the protocol change in Service Manager.
37 lines
1017 B
Makefile
37 lines
1017 B
Makefile
# -*- Mode: makefile-gmake -*-
|
|
|
|
all:
|
|
%:
|
|
@$(MAKE) -C unit_bridge $*
|
|
@$(MAKE) -C unit_buffer $*
|
|
@$(MAKE) -C unit_cleanup $*
|
|
@$(MAKE) -C unit_client $*
|
|
@$(MAKE) -C unit_config $*
|
|
@$(MAKE) -C unit_driver $*
|
|
@$(MAKE) -C unit_eventloop $*
|
|
@$(MAKE) -C unit_fmq $*
|
|
@$(MAKE) -C unit_ipc $*
|
|
@$(MAKE) -C unit_local_object $*
|
|
@$(MAKE) -C unit_local_reply $*
|
|
@$(MAKE) -C unit_local_request $*
|
|
@$(MAKE) -C unit_log $*
|
|
@$(MAKE) -C unit_protocol $*
|
|
@$(MAKE) -C unit_proxy_object $*
|
|
@$(MAKE) -C unit_reader $*
|
|
@$(MAKE) -C unit_remote_object $*
|
|
@$(MAKE) -C unit_remote_reply $*
|
|
@$(MAKE) -C unit_remote_request $*
|
|
@$(MAKE) -C unit_servicemanager $*
|
|
@$(MAKE) -C unit_servicemanager_aidl $*
|
|
@$(MAKE) -C unit_servicemanager_aidl2 $*
|
|
@$(MAKE) -C unit_servicemanager_aidl3 $*
|
|
@$(MAKE) -C unit_servicemanager_aidl4 $*
|
|
@$(MAKE) -C unit_servicemanager_hidl $*
|
|
@$(MAKE) -C unit_servicename $*
|
|
@$(MAKE) -C unit_servicepoll $*
|
|
@$(MAKE) -C unit_writer $*
|
|
|
|
clean: unitclean
|
|
rm -f coverage/*.gcov
|
|
rm -fr coverage/report
|