From d572e730f5c3a87f00f5eb7fc74c0d3dff2bdd61 Mon Sep 17 00:00:00 2001 From: zhangxCode Date: Thu, 29 May 2025 19:10:55 +0800 Subject: [PATCH] =?UTF-8?q?FAQ=E5=90=8C=E6=BA=90NDK=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ndk/ndk1/Modulea/build-profile.json5 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Ndk/ndk1/Modulea/build-profile.json5 b/Ndk/ndk1/Modulea/build-profile.json5 index 38bdcc9..8adb815 100644 --- a/Ndk/ndk1/Modulea/build-profile.json5 +++ b/Ndk/ndk1/Modulea/build-profile.json5 @@ -1,12 +1,19 @@ +// FAQ:entry引用本地library时,没有ASan日志输出 +// [Start asan] { + // [StartExclude asan] "apiType": "stageMode", "buildOption": { "externalNativeOptions": { "path": "./src/main/cpp/CMakeLists.txt", - "arguments": "", + // [EndExclude asan] + "arguments": "-DOHOS_ENABLE_ASAN=ON", + // [StartExclude asan] "cppFlags": "", + // [EndExclude asan] } }, + // [StartExclude asan] "buildOptionSet": [ { "name": "release", @@ -35,5 +42,7 @@ { "name": "ohosTest", } - ] -} \ No newline at end of file + ], + // [EndExclude asan] +} +// [End asan] \ No newline at end of file -- Gitee