1package {
2    default_applicable_licenses: ["frameworks_av_media_extractors_mp4_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8    name: "frameworks_av_media_extractors_mp4_license",
9    visibility: [":__subpackages__"],
10    license_kinds: [
11        "SPDX-license-identifier-Apache-2.0",
12    ],
13    license_text: [
14        "NOTICE",
15    ],
16}
17
18cc_library_headers {
19    name: "libmp4extractor_headers",
20    host_supported: true,
21
22    export_include_dirs: [
23        "include",
24    ],
25}
26
27cc_library {
28    name: "libmp4extractor",
29    defaults: ["extractor-defaults"],
30
31    srcs: [
32        "AC4Parser.cpp",
33        "HeifCleanAperture.cpp",
34        "ItemTable.cpp",
35        "MPEG4Extractor.cpp",
36        "SampleIterator.cpp",
37        "SampleTable.cpp",
38    ],
39
40    export_include_dirs: [
41        "include",
42    ],
43
44    static_libs: [
45        "libstagefright_esds",
46        "libstagefright_foundation",
47        "libstagefright_id3",
48        "libutils",
49    ],
50
51    host_supported: true,
52
53    target: {
54        darwin: {
55            enabled: false,
56        },
57    },
58}
59