Skip to content

Commit 30209a6

Browse files
authored
Add qnn deps to LlamaDemo gradle
1 parent 785d298 commit 30209a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/demo-apps/android/LlamaDemo/app/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ plugins {
1111
id("org.jetbrains.kotlin.android")
1212
}
1313

14+
def qnnVersion = System.properties['qnnVersion']
15+
1416
android {
1517
namespace = "com.example.executorchllamademo"
1618
compileSdk = 34
@@ -61,6 +63,9 @@ dependencies {
6163
implementation("com.google.android.material:material:1.12.0")
6264
implementation("androidx.activity:activity:1.9.0")
6365
implementation("org.json:json:20250107")
66+
if (qnnVersion) {
67+
implementation "com.qualcomm.qti:qnn-runtime:$qnnVersion"
68+
}
6469
testImplementation("junit:junit:4.13.2")
6570
androidTestImplementation("androidx.test.ext:junit:1.1.5")
6671
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")

0 commit comments

Comments
 (0)