aboutsummaryrefslogtreecommitdiff
path: root/lib/Android.bp
blob: a777e7f77cd7a84b555c6086ac1977ad2166c7e7 (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
// Copyright (C) 2015 The Android Open Source Project

cc_library {
    name: "liblz4",
    apex_available: [
        "//apex_available:platform",
        "com.android.adbd",
        "com.android.art", // from libartbase
        "com.android.art.debug",
    ],
    recovery_available: true,
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    host_supported: true,
    // TODO(b/153609531): remove when no longer needed.
    native_bridge_supported: true,
    target: {
        windows: {
            enabled: true,
            shared: {
                enabled: false,
            },
        },
    },
    srcs: [
        "lz4.c",
        "lz4hc.c",
        "lz4frame.c",
        "xxhash.c",
    ],
    cflags: ["-Wall", "-Werror"],
    export_include_dirs: ["."],
}