diff --git a/nfc/1.0/Android.bp b/nfc/1.0/Android.bp index 55c8639dfd..ef12c7c7c2 100644 --- a/nfc/1.0/Android.bp +++ b/nfc/1.0/Android.bp @@ -22,4 +22,8 @@ hidl_interface { ], gen_java: true, gen_java_constants: true, + apex_available: [ + "//apex_available:platform", + "com.android.nfcservices", + ], } diff --git a/nfc/1.1/Android.bp b/nfc/1.1/Android.bp index a8463cf0fe..65da2a03b0 100644 --- a/nfc/1.1/Android.bp +++ b/nfc/1.1/Android.bp @@ -22,4 +22,8 @@ hidl_interface { "android.hidl.base@1.0", ], gen_java: true, + apex_available: [ + "//apex_available:platform", + "com.android.nfcservices", + ], } diff --git a/nfc/1.2/Android.bp b/nfc/1.2/Android.bp index 4831ab9133..8ad93f9247 100644 --- a/nfc/1.2/Android.bp +++ b/nfc/1.2/Android.bp @@ -22,4 +22,8 @@ hidl_interface { "android.hidl.base@1.0", ], gen_java: true, + apex_available: [ + "//apex_available:platform", + "com.android.nfcservices", + ], } diff --git a/nfc/aidl/Android.bp b/nfc/aidl/Android.bp index 08ec5fe392..dae9f29a11 100644 --- a/nfc/aidl/Android.bp +++ b/nfc/aidl/Android.bp @@ -34,6 +34,13 @@ aidl_interface { sdk_version: "module_current", enabled: false, }, + ndk: { + enabled: true, + apex_available: [ + "//apex_available:platform", + "com.android.nfcservices", + ], + }, rust: { enabled: true, },