mirror of
https://github.com/openharmony/third_party_mtdev.git
synced 2026-07-19 11:11:56 -04:00
4eafde6010
Signed-off-by: houpengfei <pengfei.hou@huawei.com>
41 lines
611 B
Plaintext
41 lines
611 B
Plaintext
import("//build/ohos.gni")
|
|
|
|
## Build libmtdev.so {{{
|
|
config("libmtdev_config") {
|
|
visibility = [ ":*" ]
|
|
|
|
include_dirs = [ "src" ]
|
|
|
|
cflags = [
|
|
"-Wno-unused-parameter",
|
|
"-Wno-sign-compare",
|
|
]
|
|
}
|
|
|
|
config("libmtdev_public_config") {
|
|
include_dirs = [ "include" ]
|
|
|
|
cflags = []
|
|
}
|
|
|
|
ohos_shared_library("libmtdev") {
|
|
sources = [
|
|
"src/caps.c",
|
|
"src/core.c",
|
|
"src/iobuf.c",
|
|
"src/match.c",
|
|
"src/match_four.c",
|
|
]
|
|
|
|
configs = [ ":libmtdev_config" ]
|
|
|
|
public_configs = [ ":libmtdev_public_config" ]
|
|
|
|
deps = []
|
|
|
|
public_deps = []
|
|
|
|
part_name = "input"
|
|
}
|
|
## Build libmtdev.so }}}
|