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:23:22 +08:00
parent ff46d5232d
commit 309887640f

View File

@ -27,8 +27,16 @@ if (defined(ohos_lite)) {
}
sources = [ "cpp/qrcodegen.cpp" ]
include_dirs = [ "//third_party/qrcodegen/cpp" ]
cflags = [ "-Wall" ]
cflags_cc = cflags
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wall" ]
cflags_cc = cflags
} else {
cflags = [
"--diag_suppress",
"Pe366",
]
cflags_cc = cflags
}
public_configs = [ ":libqrcodegen_config" ]
}