# ExternalNdkBuild

# 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  

<br />

```
interface ExternalNdkBuild : ExternalNativeBuild
```

<br />

*** ** * ** ***

Interface for ndk-build per-variant info.

see[com.android.build.api.dsl.NdkBuildFlags](https://developer.android.com/reference/tools/gradle-api/8.11/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/8.11/com/android/build/api/variant/ExternalNativeBuild) |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [SetProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>`   | [abiFilters](https://developer.android.com/reference/tools/gradle-api/8.11/com/android/build/api/variant/ExternalNativeBuild#abiFilters()) Specifies the Application Binary Interfaces (ABI) that Gradle should build outputs for.  | | [ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>` | [arguments](https://developer.android.com/reference/tools/gradle-api/8.11/com/android/build/api/variant/ExternalNativeBuild#arguments()) Specifies arguments for CMake.                                                             | | [ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>` | [cFlags](https://developer.android.com/reference/tools/gradle-api/8.11/com/android/build/api/variant/ExternalNativeBuild#cFlags()) Specifies flags for the C compiler.                                                              | | [ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>` | [cppFlags](https://developer.android.com/reference/tools/gradle-api/8.11/com/android/build/api/variant/ExternalNativeBuild#cppFlags()) Specifies flags for the CPP compiler.                                                        | | [SetProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>`   | [targets](https://developer.android.com/reference/tools/gradle-api/8.11/com/android/build/api/variant/ExternalNativeBuild#targets()) Specifies the library and executable targets from your CMake project that Gradle should build. | |