提交 6de788fe 编写于 作者: S suwenxiang

Description: iccarm + gn compilation adaptation

IssueNo: https://gitee.com/openharmony/graphic_utils/issues/I5PPWC
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: Nsuwenxiang <suwenxiang@huawei.com>
上级 affa6952
......@@ -40,6 +40,13 @@ config("graphic_define_config") {
"GRAPHIC_ENABLE_SHADOW_EFFECT_FLAG=1",
"GRAPHIC_ENABLE_DRAW_TEXT_FLAG=1",
]
if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pa093,Pa137,Pe161,Pe177,Pe186,Pe223,Pe226,Pe366,Pe367,Pe550,Pe940",
]
cflags_cc = cflags
}
if (ohos_kernel_type != "liteos_m") {
defines += [
"ENABLE_VECTOR_FONT=1",
......@@ -274,10 +281,5 @@ lite_library("ui") {
cflags_cc = cflags
} else {
defines = [ "ENABLE_ICU=1" ]
cflags = [
"--diag_suppress",
"Pa093,Pa137,Pe177,Pe186,Pe223,Pe226,Pe366,Pe367,Pe550,Pe940",
]
cflags_cc = cflags
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册