com.android.builder.model
Interface NativeToolchain


public interface NativeToolchain

Toolchain for building a native library.


Method Summary
 java.io.File getCCompilerExecutable()
          Returns the full path of the C compiler.
 java.io.File getCppCompilerExecutable()
          Returns the full path of the C++ compiler.
 java.lang.String getName()
          Returns the name of the toolchain.
 

Method Detail

getName

@NonNull
java.lang.String getName()
Returns the name of the toolchain. e.g. "x86_64", "arm-linux-androideabi"

Returns:
name of the toolchain.

getCCompilerExecutable

@Nullable
java.io.File getCCompilerExecutable()
Returns the full path of the C compiler. May be null if project do not contain C sources.

Returns:
the C compiler path.

getCppCompilerExecutable

@Nullable
java.io.File getCppCompilerExecutable()
Returns the full path of the C++ compiler. May be null if project do not contain C++ sources.

Returns:
the C++ compiler path.