Home | History | Annotate | Download | only in utils
      1 // DO NOT DEPEND ON THIS DIRECTLY
      2 // use libcodec2-hidl-client-defaults instead
      3 cc_library {
      4     name: "libcodec2_hidl_client (a] 1.0",
      5 
      6     defaults: ["hidl_defaults"],
      7 
      8     srcs: [
      9         "ClientBlockHelper.cpp",
     10         "types.cpp",
     11     ],
     12 
     13     header_libs: [
     14         "libcodec2_internal", // private
     15     ],
     16 
     17     shared_libs: [
     18         "android.hardware.media.bufferpool (a] 2.0",
     19         "android.hardware.media.c2 (a] 1.0",
     20         "libbase",
     21         "libcodec2",
     22         "libcodec2_vndk",
     23         "libcutils",
     24         "libgui",
     25         "libhidlbase",
     26         "liblog",
     27         "libstagefright_bufferpool (a] 2.0",
     28         "libui",
     29         "libutils",
     30     ],
     31 
     32     export_include_dirs: [
     33         "include",
     34     ],
     35 
     36     export_shared_lib_headers: [
     37         "android.hardware.media.c2 (a] 1.0",
     38         "libcodec2",
     39         "libgui",
     40         "libstagefright_bufferpool (a] 2.0",
     41         "libui",
     42     ],
     43 }
     44 
     45 
     46 // DO NOT DEPEND ON THIS DIRECTLY
     47 // use libcodec2-hidl-defaults instead
     48 cc_library {
     49     name: "libcodec2_hidl (a] 1.0",
     50     vendor_available: true,
     51 
     52     defaults: ["hidl_defaults"],
     53 
     54     srcs: [
     55         "Component.cpp",
     56         "ComponentInterface.cpp",
     57         "ComponentStore.cpp",
     58         "Configurable.cpp",
     59         "InputBufferManager.cpp",
     60         "InputSurface.cpp",
     61         "InputSurfaceConnection.cpp",
     62         "types.cpp",
     63     ],
     64 
     65     header_libs: [
     66         "libsystem_headers",
     67         "libcodec2_internal", // private
     68     ],
     69 
     70     shared_libs: [
     71         "android.hardware.graphics.bufferqueue (a] 1.0",
     72         "android.hardware.graphics.bufferqueue (a] 2.0",
     73         "android.hardware.graphics.common (a] 1.0",
     74         "android.hardware.media (a] 1.0",
     75         "android.hardware.media.bufferpool (a] 2.0",
     76         "android.hardware.media.c2 (a] 1.0",
     77         "android.hardware.media.omx (a] 1.0",
     78         "libbase",
     79         "libcodec2",
     80         "libcodec2_vndk",
     81         "libcutils",
     82         "libhidlbase",
     83         "libhidltransport",
     84         "libhwbinder",
     85         "liblog",
     86         "libstagefright_bufferpool (a] 2.0",
     87         "libstagefright_bufferqueue_helper",
     88         "libui",
     89         "libutils",
     90     ],
     91 
     92     export_include_dirs: [
     93         "include",
     94     ],
     95 
     96     export_shared_lib_headers: [
     97         "android.hardware.media.c2 (a] 1.0",
     98         "libcodec2",
     99         "libcodec2_vndk",
    100         "libhidlbase",
    101         "libstagefright_bufferpool (a] 2.0",
    102         "libui",
    103     ],
    104 }
    105 
    106 // public dependency for Codec 2.0 HAL service implementations
    107 cc_defaults {
    108     name: "libcodec2-hidl-defaults",
    109     defaults: ["libcodec2-impl-defaults"],
    110 
    111     shared_libs: [
    112         "android.hardware.media.c2 (a] 1.0",
    113         "libcodec2_hidl (a] 1.0",
    114     ],
    115 }
    116 
    117 // public dependency for Codec 2.0 HAL client
    118 cc_defaults {
    119     name: "libcodec2-hidl-client-defaults",
    120     defaults: ["libcodec2-impl-defaults"],
    121 
    122     shared_libs: [
    123         "android.hardware.media.c2 (a] 1.0",
    124         "libcodec2_hidl_client (a] 1.0",
    125     ],
    126 }
    127