trusty/test/binder: Add package support for modules that have AIDL interfaces
Bug: 240461931 Change-Id: Ia88303a4b806be860cac5a324d55d0ab87dce189
This commit is contained in:
parent
b0fe01da56
commit
d12c75f531
5 changed files with 16 additions and 7 deletions
|
@ -14,6 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.trusty.binder.test;
|
||||
|
||||
/*
|
||||
* Hello, world!
|
||||
*/
|
|
@ -14,10 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.trusty.binder.test;
|
||||
|
||||
import ByteEnum;
|
||||
import IntEnum;
|
||||
import LongEnum;
|
||||
import com.android.trusty.binder.test.ByteEnum;
|
||||
import com.android.trusty.binder.test.IntEnum;
|
||||
import com.android.trusty.binder.test.LongEnum;
|
||||
|
||||
interface ITestService {
|
||||
const @utf8InCpp String PORT = "com.android.trusty.binder.test.service";
|
|
@ -14,6 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.trusty.binder.test;
|
||||
|
||||
@JavaDerive(toString=true)
|
||||
@Backing(type="int")
|
||||
enum IntEnum {
|
|
@ -14,6 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.trusty.binder.test;
|
||||
|
||||
@Backing(type="long")
|
||||
enum LongEnum {
|
||||
FOO = 100000000000,
|
|
@ -17,10 +17,12 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
|
|||
|
||||
MODULE := $(LOCAL_DIR)
|
||||
|
||||
MODULE_AIDL_PACKAGE := com/android/trusty/binder/test
|
||||
|
||||
MODULE_AIDLS := \
|
||||
$(LOCAL_DIR)/ByteEnum.aidl \
|
||||
$(LOCAL_DIR)/IntEnum.aidl \
|
||||
$(LOCAL_DIR)/ITestService.aidl \
|
||||
$(LOCAL_DIR)/LongEnum.aidl \
|
||||
$(LOCAL_DIR)/$(MODULE_AIDL_PACKAGE)/ByteEnum.aidl \
|
||||
$(LOCAL_DIR)/$(MODULE_AIDL_PACKAGE)/IntEnum.aidl \
|
||||
$(LOCAL_DIR)/$(MODULE_AIDL_PACKAGE)/ITestService.aidl \
|
||||
$(LOCAL_DIR)/$(MODULE_AIDL_PACKAGE)/LongEnum.aidl \
|
||||
|
||||
include make/aidl.mk
|
||||
|
|
Loading…
Reference in a new issue