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

Commit f32d3df4 authored by Tao Bao's avatar Tao Bao
Browse files

Merge libsync_recovery rules into libsync.

Statically linking against libsync is no longer a concern, since libsync
has supported the modern sync ABI (which is frozen upstream) after the
recent cleanup works.

Test: `m dist` with aosp_taimen-userdebug
Change-Id: Ic162bc7ff7c9dd306658d11d4b71e2d18730a2ee
parent 9b663303
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -20,8 +20,9 @@ cc_defaults {
    cflags: ["-Werror"],
}

cc_library_shared {
cc_library {
    name: "libsync",
    recovery_available: true,
    defaults: ["libsync_defaults"],
}

@@ -31,15 +32,6 @@ llndk_library {
    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.
cc_library_static {
    name: "libsync_recovery",
    recovery_available: true,
    defaults: ["libsync_defaults"],
}

cc_test {
    name: "sync-unit-tests",
    shared_libs: ["libsync"],