Lines Matching refs:ndk
151 // This is used by non-NDK modules to get jni.h. export_include_dirs doesn't help
386 // Minimum sdk version supported when compiling against the ndk
2015 // NDK prebuilt libraries.
2022 return common.PathForSource(ctx, fmt.Sprintf("prebuilts/ndk/current/platforms/android-%s/arch-%s/usr/lib",
2029 // NDK prebuilts are named like: ndk_NAME.EXT.SDK_VERSION.
2041 // NDK objects can't have any dependencies
2055 ctx.ModuleErrorf("NDK prebuilts must have an ndk_crt prefixed name")
2071 func (ndk *ndkPrebuiltLibraryLinker) props() []interface{} {
2072 return []interface{}{&ndk.Properties}
2076 // NDK libraries can't have any dependencies
2088 func (ndk *ndkPrebuiltLibraryLinker) link(ctx ModuleContext, flags Flags,
2092 ctx.ModuleErrorf("NDK prebuilts must have an ndk_lib prefixed name")
2095 includeDirs := common.PathsForModuleSrc(ctx, ndk.Properties.Export_include_dirs)
2096 ndk.exportFlags = []string{common.JoinWithPrefix(includeDirs.Strings(), "-isystem ")}
2102 // The NDK STLs are slightly different from the prebuilt system libraries:
2139 ndkSrcRoot := "prebuilts/ndk/current/sources"
2143 ctx.ModuleErrorf("Unknown NDK STL: %s", stl)
2147 func (ndk *ndkPrebuiltStlLinker) link(ctx ModuleContext, flags Flags,
2151 ctx.ModuleErrorf("NDK prebuilts must have an ndk_lib prefixed name")
2154 includeDirs := common.PathsForModuleSrc(ctx, ndk.Properties.Export_include_dirs)
2155 ndk.exportFlags = []string{includeDirsToFlags(includeDirs)}
2159 if ndk.dynamicProperties.BuildStatic {