• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_static {
21    name: "libstagefright_id3",
22    min_sdk_version: "29",
23    apex_available: [
24        "//apex_available:platform",
25        "com.android.media",
26    ],
27
28
29    srcs: ["ID3.cpp"],
30
31    header_libs: [
32        "libmedia_datasource_headers",
33        "libstagefright_foundation_headers",
34        "libstagefright_headers",
35        "media_ndk_headers",
36    ],
37
38    cflags: [
39        "-Werror",
40        "-Wall",
41    ],
42    sanitize: {
43        misc_undefined: [
44            "signed-integer-overflow",
45        ],
46        cfi: true,
47    },
48    host_supported: true,
49    target: {
50        darwin: {
51            enabled: false,
52        },
53    },
54}
55
56//###############################################################################
57
58cc_test {
59    name: "testid3",
60    gtest: false,
61
62    srcs: ["testid3.cpp"],
63
64    cflags: [
65        "-Werror",
66        "-Wall",
67    ],
68
69    shared_libs: [
70        "libdatasource",
71        "libstagefright",
72        "libutils",
73        "liblog",
74        "libbinder",
75        "libstagefright_foundation",
76    ],
77
78    static_libs: ["libstagefright_id3"],
79
80    sanitize: {
81        cfi: true,
82    },
83
84}
85