Description: Mini platform GN + iccarm compile and build

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I5IS4P
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: suwenxiang <suwenxiang@huawei.com>
This commit is contained in:
suwenxiang
2022-07-25 20:21:56 +08:00
parent eddc13fabc
commit 1f7eeadc9e
+6
View File
@@ -20,6 +20,12 @@ if (defined(ohos_lite)) { # is on lite Os for ipcamera
lite_library("libgif") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
if (board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pa084",
]
}
} else {
target_type = "shared_library"
}