Stay organized with collections
Save and categorize content based on your preferences.
ExternalNdkBuild
interface ExternalNdkBuild : ExternalNativeBuild
Interface for ndk-build per-variant info.
see com.android.build.api.dsl.NdkBuildFlags
for expanded documentation on each of these fields.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ExternalNdkBuild\n================\n\n\n```\ninterface ExternalNdkBuild : ExternalNativeBuild\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface for ndk-build per-variant info.\n\nsee [com.android.build.api.dsl.NdkBuildFlags](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/NdkBuildFlags) for expanded documentation on each of these fields.\n\nSummary\n-------\n\n| ### Inherited properties ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [com.android.build.api.variant.ExternalNativeBuild](/reference/tools/gradle-api/8.1/com/android/build/api/variant/ExternalNativeBuild) |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [SetProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/SetProperty.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [abiFilters](/reference/tools/gradle-api/8.1/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)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [arguments](/reference/tools/gradle-api/8.1/com/android/build/api/variant/ExternalNativeBuild#arguments()) Specifies arguments for CMake. | | [ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [cFlags](/reference/tools/gradle-api/8.1/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)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [cppFlags](/reference/tools/gradle-api/8.1/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)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [targets](/reference/tools/gradle-api/8.1/com/android/build/api/variant/ExternalNativeBuild#targets()) Specifies the library and executable targets from your CMake project that Gradle should build. | |"]]