1package { 2 default_applicable_licenses: [ 3 "frameworks_av_media_libstagefright_id3_license", 4 ], 5} 6 7// Added automatically by a large-scale-change 8// See: http://go/android-license-faq 9license { 10 name: "frameworks_av_media_libstagefright_id3_license", 11 visibility: [":__subpackages__"], 12 license_kinds: [ 13 "SPDX-license-identifier-Apache-2.0", 14 ], 15 license_text: [ 16 "NOTICE", 17 ], 18} 19 20cc_library_headers { 21 name: "libstagefright_id3_headers", 22 export_include_dirs: ["include"], 23 vendor_available: true, 24 apex_available: [ 25 "//apex_available:platform", 26 "com.android.media", 27 "com.android.media.swcodec", 28 ], 29 min_sdk_version: "29", 30 host_supported: true, 31 target: { 32 darwin: { 33 enabled: false, 34 }, 35 }, 36} 37 38cc_library_static { 39 name: "libstagefright_id3", 40 min_sdk_version: "29", 41 apex_available: [ 42 "//apex_available:platform", 43 "com.android.media", 44 ], 45 46 srcs: ["ID3.cpp"], 47 48 header_libs: [ 49 "libmedia_datasource_headers", 50 "libstagefright_foundation_headers", 51 "libstagefright_headers", 52 "media_ndk_headers", 53 ], 54 55 export_include_dirs: ["include"], 56 57 cflags: [ 58 "-Werror", 59 "-Wall", 60 ], 61 sanitize: { 62 misc_undefined: [ 63 "signed-integer-overflow", 64 ], 65 cfi: true, 66 }, 67 host_supported: true, 68 target: { 69 darwin: { 70 enabled: false, 71 }, 72 }, 73} 74 75//############################################################################### 76 77cc_test { 78 name: "testid3", 79 gtest: false, 80 81 srcs: ["testid3.cpp"], 82 83 cflags: [ 84 "-Werror", 85 "-Wall", 86 ], 87 88 shared_libs: [ 89 "libdatasource", 90 "libstagefright", 91 "libutils", 92 "liblog", 93 "libbinder", 94 "libstagefright_foundation", 95 ], 96 97 static_libs: ["libstagefright_id3"], 98 99 sanitize: { 100 cfi: true, 101 }, 102 103} 104