public class NdkCxxPlatforms extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NdkCxxPlatforms.Host
The OS and Architecture that we're building on.
|
static class |
NdkCxxPlatforms.ToolchainTarget
The toolchains name for the platform being targeted.
|
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_HOST_SUBST
Magic string we substitute into debug paths in place of the build-host name, erasing the
difference between say, building on Darwin and building on Linux.
|
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_CFLAGS
Defaults for c and c++ flags
|
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_COMPILER_FLAGS
Flags used when compiling either C or C++ sources.
|
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_CPPFLAGS |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_CXXFLAGS |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_CXXPPFLAGS |
static com.google.common.collect.ImmutableList<String> |
DEFAULT_COMMON_LDFLAGS
Default linker flags added by the NDK.
|
static String |
DEFAULT_TARGET_APP_PLATFORM |
public static final String BUILD_HOST_SUBST
public static final String DEFAULT_TARGET_APP_PLATFORM
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_CFLAGS
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_CXXFLAGS
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_CPPFLAGS
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_CXXPPFLAGS
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_COMPILER_FLAGS
public static final com.google.common.collect.ImmutableList<String> DEFAULT_COMMON_LDFLAGS
public static NdkCompilerType getDefaultCompilerTypeForNdk(String ndkVersion)
public static NdkCxxRuntime getDefaultCxxRuntimeForNdk(String ndkVersion)
public static boolean isSupportedConfiguration(Path ndkRoot, NdkCxxRuntime cxxRuntime)
public static com.google.common.collect.ImmutableMap<TargetCpuType,UnresolvedNdkCxxPlatform> getPlatforms(CxxBuckConfig config, AndroidBuckConfig androidConfig, ProjectFilesystem filesystem, TargetConfiguration targetConfiguration, Platform platform, ToolchainProvider toolchainProvider, String ndkVersion)
NdkCxxPlatform
based on the buckconfig.public static com.google.common.collect.ImmutableMap<TargetCpuType,UnresolvedNdkCxxPlatform> getPlatforms(CxxBuckConfig config, AndroidBuckConfig androidConfig, ProjectFilesystem filesystem, Path ndkRoot, NdkCxxPlatformCompiler compiler, NdkCxxRuntime cxxRuntime, NdkCxxRuntimeType runtimeType, Set<NdkTargetArchAbi> cpuAbis, Platform platform)
public static com.google.common.collect.ImmutableMap<TargetCpuType,UnresolvedNdkCxxPlatform> getPlatforms(CxxBuckConfig config, AndroidBuckConfig androidConfig, ProjectFilesystem filesystem, Path ndkRoot, NdkCxxPlatformCompiler compiler, NdkCxxRuntime cxxRuntime, NdkCxxRuntimeType runtimeType, Set<NdkTargetArchAbi> cpuAbis, Platform platform, ExecutableFinder executableFinder, boolean strictToolchainPaths)
NdkCxxPlatform
s.