Colin Cross | 585fcc2 | 2015-12-01 18:00:34 -0800 | [diff] [blame] | 1 | libcxx_includes = [ |
Dan Albert | a4d7a42 | 2016-08-08 16:35:30 -0700 | [diff] [blame] | 2 | "current/sources/cxx-stl/llvm-libc++/include", |
| 3 | "current/sources/cxx-stl/llvm-libc++abi/include", |
Colin Cross | 585fcc2 | 2015-12-01 18:00:34 -0800 | [diff] [blame] | 4 | ] |
| 5 | |
| 6 | ndk_prebuilt_static_stl { |
Ryan Prichard | 4f5e500 | 2018-03-22 14:35:02 -0700 | [diff] [blame] | 7 | name: "ndk_libandroid_support", |
Dan Albert | 3e6180a | 2018-11-14 21:15:57 -0800 | [diff] [blame] | 8 | export_include_dirs: [ |
| 9 | "current/sources/android/support/include", |
| 10 | ], |
| 11 | arch: { |
| 12 | arm64: { |
| 13 | enabled: false, |
| 14 | }, |
| 15 | x86_64: { |
| 16 | enabled: false, |
| 17 | }, |
| 18 | }, |
Ryan Prichard | 4f5e500 | 2018-03-22 14:35:02 -0700 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | ndk_prebuilt_static_stl { |
| 22 | name: "ndk_libc++abi", |
| 23 | } |
| 24 | |
| 25 | // The LLVM libunwind unwinder. This unwinder is only used for arm32. |
| 26 | ndk_prebuilt_static_stl { |
| 27 | name: "ndk_libunwind", |
| 28 | enabled: false, |
| 29 | arch: { |
| 30 | arm: { |
| 31 | enabled: true, |
| 32 | }, |
| 33 | }, |
| 34 | } |
| 35 | |
| 36 | ndk_prebuilt_static_stl { |
Colin Cross | 585fcc2 | 2015-12-01 18:00:34 -0800 | [diff] [blame] | 37 | name: "ndk_libc++_static", |
| 38 | export_include_dirs: libcxx_includes, |
| 39 | } |
| 40 | |
| 41 | ndk_prebuilt_shared_stl { |
| 42 | name: "ndk_libc++_shared", |
| 43 | export_include_dirs: libcxx_includes, |
| 44 | } |