summaryrefslogtreecommitdiff
path: root/stl.bp
blob: 0e628badd408a46082d103aa51dda730c43c68e0 (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
libcxx_includes =  [
    "current/sources/cxx-stl/llvm-libc++/include",
    "current/sources/cxx-stl/llvm-libc++abi/include",
]

ndk_prebuilt_static_stl {
    name: "ndk_libandroid_support",
    export_include_dirs: [
        "current/sources/android/support/include",
    ],
    arch: {
        arm64: {
            enabled: false,
        },
        x86_64: {
            enabled: false,
        },
    },
}

ndk_prebuilt_static_stl {
    name: "ndk_libc++abi",
}

// The LLVM libunwind unwinder. This unwinder is only used for arm32.
ndk_prebuilt_static_stl {
    name: "ndk_libunwind",
    enabled: false,
    arch: {
        arm: {
            enabled: true,
        },
    },
}

ndk_prebuilt_static_stl {
    name: "ndk_libc++_static",
    export_include_dirs: libcxx_includes,
}

ndk_prebuilt_shared_stl {
    name: "ndk_libc++_shared",
    export_include_dirs: libcxx_includes,
}