1 // DO NOT DEPEND ON THIS DIRECTLY 2 // use libstagefright_codec2-hidl-defaults instead 3 cc_library { 4 name: "libcodec2_hidl_utils (a] 1.0", 5 vendor_available: true, 6 7 defaults: ["hidl_defaults"], 8 9 srcs: [ 10 "Component.cpp", 11 "ComponentStore.cpp", 12 "Configurable.cpp", 13 "InputSurface.cpp", 14 "InputSurfaceConnection.cpp", 15 "types.cpp", 16 ], 17 18 header_libs: [ 19 "libsystem_headers", 20 "libstagefright_codec2_internal", // private 21 ], 22 23 shared_libs: [ 24 "android.hardware.graphics.bufferqueue (a] 1.0", 25 "android.hardware.graphics.common (a] 1.0", 26 "android.hardware.media.bufferpool (a] 1.0", 27 "android.hardware.media.omx (a] 1.0", 28 "android.hardware.media (a] 1.0", 29 "hardware.google.media.c2 (a] 1.0", 30 "libbase", 31 "libcutils", 32 "libhidlbase", 33 "libhidltransport", 34 "libhwbinder", 35 "liblog", 36 "libstagefright_bufferpool (a] 1.0", 37 "libstagefright_bufferqueue_helper", 38 "libstagefright_codec2", 39 "libstagefright_codec2_vndk", 40 "libui", 41 "libutils", 42 ], 43 44 export_include_dirs: [ 45 "include", 46 ], 47 48 export_shared_lib_headers: [ 49 "hardware.google.media.c2 (a] 1.0", 50 "libhidlbase", 51 "libstagefright_bufferpool (a] 1.0", 52 "libstagefright_bufferqueue_helper", 53 "libstagefright_codec2", 54 "libui", 55 ], 56 } 57 58 // public dependency for Codec 2.0 HAL service implementations 59 cc_defaults { 60 name: "libstagefright_codec2-hidl-defaults", 61 defaults: ["libstagefright_codec2-impl-defaults"], 62 63 shared_libs: [ 64 "hardware.google.media.c2 (a] 1.0", 65 "libcodec2_hidl_utils (a] 1.0", 66 ], 67 } 68