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

Commit 565d46c1 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

libmediaplayerservice: Build both shared and static libraries

Also, build StagefrightRecorderTest to use static libmediaplayerservice
This helps in testing both 32bit and 64bit StagefrightRecorderTest
binaries on the device.

Bug: 178228919
Test: /data/local/tmp/StagefrightRecorderTest using both 32bit and 64bit
 binaries

Change-Id: Iac2a0d8f40e7ef6b46a1a61c8f4de72cebdd79ce
parent e445740e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
cc_library_shared {
cc_library {

    srcs: [
        "ActivityManager.cpp",
+32 −11
Original line number Diff line number Diff line
@@ -23,26 +23,47 @@ cc_test {
    ],

    include_dirs: [
        "system/media/audio/include",
        "frameworks/av/include",
        "frameworks/av/camera/include",
        "frameworks/av/media/libmediaplayerservice",
        "frameworks/av/media/libmediametrics/include",
        "frameworks/av/media/ndk/include",
    ],

    static_libs: [
        "libmediaplayerservice",
        "libstagefright_httplive",
        "libstagefright_rtsp",
    ],

    shared_libs: [
        "android.hardware.media.c2@1.0",
        "android.hardware.media.omx@1.0",
        "libbase",
        "libandroid_net",
        "libaudioclient",
        "libbinder",
        "libcamera_client",
        "libcodec2_client",
        "libcrypto",
        "libcutils",
        "libdatasource",
        "libdl",
        "libdrmframework",
        "libgui",
        "libhidlbase",
        "liblog",
        "libmedia",
        "libbinder",
        "libutils",
        "libmediaplayerservice",
        "libstagefright",
        "libmedia_codeclist",
        "libmedia_omx",
        "libmediadrm",
        "libmediandk",
        "libmediametrics",
        "libmediautils",
        "libmemunreachable",
        "libnetd_client",
        "libpowermanager",
        "libstagefright",
        "libstagefright_foundation",
        "libutils",
    ],

    compile_multilib: "prefer32",

    cflags: [
        "-Werror",
        "-Wall",