mirror of
https://gitee.com/openharmony/third_party_qrcodegen
synced 2024-11-23 07:10:22 +00:00
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:
parent
ff46d5232d
commit
309887640f
12
BUILD.gn
12
BUILD.gn
@ -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" ]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user