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

Commit 4c542065 authored by Chong Zhang's avatar Chong Zhang
Browse files

transcoding: statically link libmediatranscoding.so in tests

Otherwise test doesn't work after service moved to apex.

bug: 173627260
bug: 159172726
test:
With local changes to move service to apex,
atest TranscodingSessionController_tests
Should not see link error in test.

Change-Id: I4729cb5ee1635a8143fb803b22a20e3c59ce378c
parent f4e0a07d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ aidl_interface {
    },
}

cc_library_shared {
cc_library {
    name: "libmediatranscoding",

    srcs: [
+2 −1
Original line number Diff line number Diff line
@@ -14,15 +14,16 @@ cc_defaults {
    ],

    shared_libs: [
        "libandroid",
        "libbinder_ndk",
        "libcutils",
        "liblog",
        "libutils",
        "libmediatranscoding"
    ],

    static_libs: [
        "mediatranscoding_aidl_interface-ndk_platform",
        "libmediatranscoding",
    ],

    cflags: [