| 12345678910111213141516171819202122232425262728293031323334353637 |
- import("//build/ohos.gni")
- config("it3256_napi_config") {
- include_dirs = [
- "include",
- "//_mysubsystem/it3256/core/include"
- ]
- }
- ohos_shared_library("it3256") {
- sources = [
- "src/it3256_napi.cpp",
- "src/uart.cpp"
- ]
- cflags = [
- "-Wno-error=delete-abstract-non-virtual-dtor",
- "-Wno-error=unused-variable",
- "-Wno-error=overloaded-virtual",
- "-frtti",
- "-Wno-error=pessimizing-move"
- ]
- cflags_c = []
- cflags_cc = [
- # "--verbose",
- "-std=c++17",
- ]
- ldflags = [
- "-lpthread"
- ]
- configs = [ ":it3256_napi_config" ]
- external_deps = [
- "napi:ace_napi",
- "hilog:libhilog"
- ]
- deps = ["//_mysubsystem/it3256/core:it3256IO_core"]
- part_name = "sony_camera"
- subsystem_name = "_mysubsystem"
- }
|