1// DO NOT DEPEND ON THIS DIRECTLY 2// use libstagefright_codec2-hidl-defaults instead 3cc_library { 4 name: "libcodec2_hidl_utils@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 "libgui_headers", 20 "libsystem_headers", 21 "libstagefright_codec2_internal", // private 22 ], 23 24 shared_libs: [ 25 "android.hardware.graphics.bufferqueue@1.0", 26 "android.hardware.graphics.common@1.0", 27 "android.hardware.media.bufferpool@1.0", 28 "android.hardware.media.omx@1.0", 29 "android.hardware.media@1.0", 30 "android.hidl.token@1.0-utils", 31 "hardware.google.media.c2@1.0", 32 "libbase", 33 "libcutils", 34 "libhidlbase", 35 "libhidltransport", 36 "libhwbinder", 37 "liblog", 38 "libstagefright_bufferpool@1.0", 39 "libstagefright_bufferqueue_helper", 40 "libstagefright_codec2", 41 "libstagefright_codec2_vndk", 42 "libui", 43 "libutils", 44 ], 45 46 export_include_dirs: [ 47 "include", 48 ], 49 50 export_shared_lib_headers: [ 51 "android.hidl.token@1.0-utils", 52 "hardware.google.media.c2@1.0", 53 "libhidlbase", 54 "libstagefright_bufferpool@1.0", 55 "libstagefright_bufferqueue_helper", 56 "libstagefright_codec2", 57 "libui", 58 ], 59} 60 61// public dependency for Codec 2.0 HAL service implementations 62cc_defaults { 63 name: "libstagefright_codec2-hidl-defaults", 64 defaults: ["libstagefright_codec2-impl-defaults"], 65 66 shared_libs: [ 67 "hardware.google.media.c2@1.0", 68 "libcodec2_hidl_utils@1.0", 69 ], 70} 71