Merge "Mark libsync as LL-NDK" into oc-mr1-dev

This commit is contained in:
TreeHugger Robot 2017-08-15 10:23:26 +00:00 committed by Android (Google) Code Review
commit f7ad622264
2 changed files with 10 additions and 12 deletions

View file

@ -22,13 +22,15 @@ cc_defaults {
cc_library_shared {
name: "libsync",
vendor_available: true,
vndk: {
enabled: true,
},
defaults: ["libsync_defaults"],
}
llndk_library {
name: "libsync",
symbol_file: "libsync.map.txt",
export_include_dirs: ["include"],
}
// libsync_recovery is only intended for the recovery binary.
// Future versions of the kernel WILL require an updated libsync, and will break
// anything statically linked against the current libsync.

View file

@ -19,14 +19,10 @@ LIBSYNC {
sync_merge; # introduced=26
sync_file_info; # introduced=26
sync_file_info_free; # introduced=26
sync_wait; # vndk
sync_fence_info; # vndk
sync_pt_info; # vndk
sync_fence_info_free; # vndk
local:
*;
};
LIBSYNC_PLATFORM {
global:
sync_wait;
sync_fence_info;
sync_pt_info;
sync_fence_info_free;
} LIBSYNC_PLATFORM;