summaryrefslogtreecommitdiff
path: root/Android.bp
blob: afd0414aef8db72107f907470b82ebac72ac3211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package {
    default_applicable_licenses: ["external_giflib_license"],
}

// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
    name: "external_giflib_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-MIT",
    ],
    license_text: [
        "NOTICE",
    ],
}

cc_library_static {
    name: "libgif",

    sdk_version: "9",

    srcs: [
        "dgif_lib.c",
        "egif_lib.c",
        "gifalloc.c",
        "gif_err.c",
        "gif_hash.c",
        "openbsd-reallocarray.c",
        "quantize.c",
    ],

    cflags: [
        "-Werror",
        "-Wno-format",
        "-Wno-sign-compare",
        "-Wno-unused-parameter",
        "-DHAVE_CONFIG_H",
    ],

    export_include_dirs: ["."],

    vendor_available: true,
}