1package { 2 default_applicable_licenses: ["hardware_qcom_sm7250_display_license"], 3} 4 5cc_library_shared { 6 name: "libgrallocutils", 7 vendor: true, 8 defaults: ["display_go_defaults"], 9 srcs: [ 10 "gr_adreno_info.cpp", 11 "gr_camera_info.cpp", 12 "gr_utils.cpp", 13 ], 14 cflags: [ 15 "-DLOG_TAG=\"qdgralloc\"", 16 "-D__QTI_DISPLAY_GRALLOC__", 17 "-Wno-sign-conversion", 18 ], 19 shared_libs: [ 20 "android.hardware.graphics.mapper@2.0", 21 "android.hardware.graphics.mapper@2.1", 22 "android.hardware.graphics.mapper@3.0", 23 "android.hardware.graphics.mapper@4.0", 24 "libcutils", 25 "libdl", 26 "liblog", 27 "//vendor/qcom/sm7250:libqdMetaData", 28 ], 29 header_libs: [ 30 "display_headers", 31 "device_kernel_headers", 32 ], 33 export_header_lib_headers: [ 34 "device_kernel_headers", 35 ], 36 export_include_dirs: ["."], 37 sanitize: { 38 integer_overflow: true, 39 }, 40} 41