Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c3e9403 authored by Jae Shin's avatar Jae Shin Committed by Gerrit Code Review
Browse files

Merge changes I60f883c0,Ie5955865

* changes:
  Mark libsync as LL-NDK
  Fix NDK libsync to match ndk/sync.h
parents 0a018306 b87f884b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -22,10 +22,15 @@ cc_defaults {

cc_library_shared {
    name: "libsync",
    vendor_available: 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.
+6 −10
Original line number Diff line number Diff line
@@ -17,16 +17,12 @@
LIBSYNC {
  global:
    sync_merge; # introduced=26
    sync_get_fence_info; # introduced=26
    sync_free_fence_info; # 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;