1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_license"], 8} 9 10cc_binary { 11 name: "codec2play", 12 defaults: ["libcodec2-impl-defaults"], 13 14 srcs: [ 15 "codec2.cpp", 16 ], 17 18 header_libs: [ 19 "libmediadrm_headers", 20 ], 21 22 shared_libs: [ 23 "libbase", 24 "libbinder", 25 "libcutils", 26 "libdatasource", 27 "libgui", 28 "liblog", 29 "libstagefright", 30 "libstagefright_foundation", 31 "libui", 32 "libutils", 33 ], 34 35 cflags: [ 36 "-Werror", 37 "-Wall", 38 ], 39 40 sanitize: { 41 cfi: true, 42 misc_undefined: [ 43 "unsigned-integer-overflow", 44 "signed-integer-overflow", 45 ], 46 }, 47} 48