# ExternalNdkBuild

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/ExternalNdkBuild.kt+class:com.android.build.api.variant.ExternalNdkBuild) Added in 7.0.0


```
interface ExternalNdkBuild : ExternalNativeBuild
```

<br />

*** ** * ** ***

Interface for ndk-build per-variant info.

see `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/NdkBuildFlags` for expanded documentation on each of these fields.

## Summary

### Inherited properties

From [com.android.build.api.variant.ExternalNativeBuild](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild) `https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild#abiFilters()`

Specifies the Application Binary Interfaces (ABI) that Gradle should build outputs for.
`https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild#arguments()`

Specifies arguments for CMake.
`https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild#cFlags()`

Specifies flags for the C compiler.
`https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild#cppFlags()`

Specifies flags for the CPP compiler.
`https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/ExternalNativeBuild#targets()`

Specifies the library and executable targets from your CMake project that Gradle should build.