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_library_static {
11    name: "libstagefright_esds",
12    apex_available: [
13        "//apex_available:platform",
14        "com.android.media",
15    ],
16    min_sdk_version: "29",
17
18    export_include_dirs: ["include"],
19
20    local_include_dirs: ["include"],
21
22    srcs: ["ESDS.cpp"],
23
24    cflags: [
25        "-Werror",
26        "-Wall",
27    ],
28    sanitize: {
29        misc_undefined: [
30            "signed-integer-overflow",
31        ],
32        cfi: true,
33    },
34    shared_libs: [
35        "libstagefright_foundation",
36        "libutils"
37    ],
38    host_supported: true,
39    target: {
40        darwin: {
41            enabled: false,
42        },
43    },
44}
45