From 1498508d041c4f3268c5670770feaad5b6fde990 Mon Sep 17 00:00:00 2001 From: "Hui.Li-TCL" Date: Wed, 15 Sep 2021 00:31:36 +0800 Subject: [PATCH] fix unknown argument: '-ffile-prefix-map by only build default target (#9690) --- src/android/CHIPTool/app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/android/CHIPTool/app/build.gradle b/src/android/CHIPTool/app/build.gradle index 9d82bb66e9af48..b2b0f59734f622 100644 --- a/src/android/CHIPTool/app/build.gradle +++ b/src/android/CHIPTool/app/build.gradle @@ -17,6 +17,12 @@ android { // NOTE: This build assumes CHIP was configured and built for armeabi-v7a. Deal with // other archs later when build is sane. // ndk {abiFilters 'armeabi-v7a'} + + externalNativeBuild { + cmake { + targets "default" + } + } } buildTypes {