Safe Haskell | None |
---|---|
Language | Haskell98 |
This module provides toolchain definitions and utilities for targeting Android. See Development.Shake.Language.C.Rules for examples of how to use a target toolchain.
The minimum required Android NDK revision is 11c.
- target :: Arch -> Target
- sdkVersion :: Int -> Version
- toolChain :: FilePath -> Version -> ToolChainVariant -> Target -> ToolChain
- abiString :: Arch -> String
- gnustl :: Version -> Linkage -> FilePath -> Target -> BuildFlags -> BuildFlags
- libcxx :: Linkage -> FilePath -> Target -> BuildFlags -> BuildFlags
- native_app_glue :: FilePath -> ([FilePath], BuildFlags -> BuildFlags)
Documentation
sdkVersion :: Int -> Version Source #
Construct a version record from an integral Android SDK version.
sdkVersion 19 == Version [19] []
:: FilePath | NDK source directory |
-> Version | SDK version, see |
-> ToolChainVariant | Toolchain variant |
-> Target | Build target, see |
-> ToolChain | Resulting toolchain |
Construct an Android toolchain.
:: Version | GNU STL version |
-> Linkage | |
-> FilePath | NDK source directory |
-> Target | Build target, see |
-> BuildFlags -> BuildFlags |
|
Build flags for building with and linking against the GNU gnustl
standard C++ library.
:: Linkage | |
-> FilePath | NDK source directory |
-> Target | Build target, see |
-> BuildFlags -> BuildFlags |
|
Build flags for building with and linking against the LLVM libc++
standard C++ library.
:: FilePath | NDK source directory |
-> ([FilePath], BuildFlags -> BuildFlags) |
Source paths and build flags for the native_app_glue
module.