diff options
Diffstat (limited to 'native/android/Android.bp')
-rw-r--r-- | native/android/Android.bp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp index 7c1af4a81f9d..91297b0de02e 100644 --- a/native/android/Android.bp +++ b/native/android/Android.bp @@ -110,3 +110,36 @@ llndk_library { symbol_file: "libandroid_net.map.txt", unversioned: true, } + + +// Aidl library for platform compat. +cc_library_shared { + name: "lib-platform-compat-native-api", + cflags: [ + "-Wall", + "-Werror", + "-Wno-missing-field-initializers", + "-Wno-unused-variable", + "-Wunused-parameter", + ], + shared_libs: [ + "libbinder", + "libutils", + ], + aidl: { + local_include_dirs: ["aidl"], + export_aidl_headers: true, + }, + srcs: [ + ":platform-compat-native-aidl", + ], + export_include_dirs: ["aidl"], +} + +filegroup { + name: "platform-compat-native-aidl", + srcs: [ + "aidl/com/android/internal/compat/IPlatformCompatNative.aidl", + ], + path: "aidl", +}
\ No newline at end of file |