| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import("//build/ohos.gni")
- config("it3256_service_config") {
- include_dirs = [
- "include",
- "//_mysubsystem/it3256/core/include"
- ]
- }
- ohos_shared_library("it3256_service") {
- sources = [
- "src/it3256_control.cpp",
- "src/it3256_service.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_service_config" ]
- deps = [
- "//third_party/libusb:libusb"
- ]
- external_deps = [
- "hilog:libhilog",
- "ipc:ipc_core",
- "c_utils:utils",
- "samgr:samgr_proxy",
- "safwk:system_ability_fwk"
- ]
- deps += ["//_mysubsystem/it3256/core:it3256IO_core"]
- part_name = "sony_camera"
- subsystem_name = "_mysubsystem"
- }
|