1import("//build/ohos.gni") 2 3## Build libmtdev.so {{{ 4config("libmtdev_config") { 5 visibility = [ ":*" ] 6 7 include_dirs = [ 8 "src", 9 ] 10 11 cflags = [ 12 "-Wno-unused-parameter", 13 "-Wno-sign-compare", 14 ] 15} 16 17config("libmtdev_public_config") { 18 include_dirs = [ 19 "include", 20 ] 21 22 cflags = [ 23 ] 24} 25 26ohos_shared_library("libmtdev") { 27 sources = [ 28 "src/caps.c", 29 "src/core.c", 30 "src/iobuf.c", 31 "src/match.c", 32 "src/match_four.c", 33 ] 34 35 configs = [ 36 ":libmtdev_config", 37 ] 38 39 public_configs = [ 40 ":libmtdev_public_config", 41 ] 42 43 deps = [ 44 ] 45 46 public_deps = [ 47 ] 48 49 part_name = "multimodalinput_base" 50} 51## Build libmtdev.so }}} 52