diff options
| author | 2019-10-22 13:20:59 -0700 | |
|---|---|---|
| committer | 2019-10-22 13:20:59 -0700 | |
| commit | 4cfb3545d60a857042a643cc3143f7958ca9aced (patch) | |
| tree | ba3b5779b955c6603dbd9e4f8446166e4f5498fd /native/android/Android.bp | |
| parent | 06792d7c5c805369264ebfbc1c1a73893e8ceb21 (diff) | |
| parent | 577e3114da0684f3f5eeecb77ec4f0e95ff5b0c1 (diff) | |
Merge "Add a native aidl API."
am: 577e3114da
Change-Id: I22c7963991747fe1e27dce432da3fc02c644bbef
Diffstat (limited to 'native/android/Android.bp')
| -rw-r--r-- | native/android/Android.bp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp index 7c1af4a81f9d..ae8cb3a47a05 100644 --- a/native/android/Android.bp +++ b/native/android/Android.bp @@ -110,3 +110,31 @@ llndk_library { symbol_file: "libandroid_net.map.txt", unversioned: true, } + + +// Aidl library for platform compat. +cc_library_shared { + name: "lib-platform-compat-native-api", + defaults: ["libandroid_defaults"], + + 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 |