Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix(build-logic): do not set ABI filters to projects with ABI split APKs
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Nov 13, 2023
1 parent c1db0be commit a306614
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ fun Project.configureAndroidModule(
multiDexEnabled = true

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

ndk {
abiFilters.clear()
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
}
}

compileOptions {
Expand All @@ -74,6 +69,13 @@ fun Project.configureAndroidModule(
"\"${name}\"")
}
}
} else {
defaultConfig {
ndk {
abiFilters.clear()
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
}
}
}

// configure split APKs for ':app' module only
Expand Down

0 comments on commit a306614

Please sign in to comment.