| # Copyright 2019 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| shared_library("libmtkcam_pipelinemodel") { |
| import("//camera/hal/mediatek/common-config.gni") |
| sources = [ |
| "PipelineModelImpl.cpp", |
| "PipelineModelManagerImpl.cpp", |
| "adapter/Hal3AAdapter.cpp", |
| "adapter/HalDeviceAdapter.cpp", |
| "capture/CaptureInFlightRequest.cpp", |
| "capture/NextCaptureListener.cpp", |
| "session/PipelineModelSessionBase.cpp", |
| "session/PipelineModelSessionDefault.cpp", |
| "session/PipelineModelSessionFactory.cpp", |
| "session/PipelineModelSessionStreaming.cpp", |
| ] |
| defines += [ "LOG_TAG=\"mtkcam-pipelinemodel\"" ] |
| include_dirs += [ |
| ".", |
| "./adapter/include", |
| "./capture/include", |
| "./include", |
| "./session/include", |
| "./utils/include", |
| "./zsl/include", |
| "../policy/include", |
| "${mtk_root_path}/mtkcam/custom", |
| "${mtk_root_path}/mtkcam/custom/common/hal/inc", |
| "${mtk_root_path}/mtkcam/custom/mt8183", |
| "${mtk_root_path}/mtkcam/custom/mt8183/hal/inc", |
| "${mtk_root_path}/mtkcam/custom/mt8183/hal/imgsensor_src", |
| "${mtk_root_path}/mtkcam/custom/mt8183/hal/inc/isp_tuning", |
| "${mtk_root_path}/mtkcam/custom/mt8183/kernel/imgsensor", |
| "${mtk_root_path}/mtkcam/include", |
| "${mtk_root_path}/mtkcam/include/mtkcam/drv/iopipe", |
| "${mtk_root_path}/mtkcam/include/mtkcam/utils/std", |
| "${mtk_root_path}/mtkcam/utils", |
| ] |
| libs += [ "pthread" ] |
| deps += [ |
| "//camera/hal/mediatek/mtkcam/pipeline/hwnode:libmtkcam_hwnode", |
| "//camera/hal/mediatek/mtkcam/pipeline/model/utils:libmtkcam_pipelinemodel_utils", |
| "//camera/hal/mediatek/mtkcam/pipeline/pipeline:libmtkcam_pipeline", |
| "//camera/hal/mediatek/mtkcam/pipeline/policy:libmtkcam_pipelinepolicy", |
| "//camera/hal/mediatek/mtkcam/pipeline/utils:libmtkcam_streamutils", |
| "//camera/hal/mediatek/mtkcam/utils/debug:libmtkcam_debugutils", |
| "//camera/hal/mediatek/mtkcam/utils/hw:libmtkcam_hwutils", |
| "//camera/hal/mediatek/mtkcam/utils/imgbuf:libmtkcam_imgbuf", |
| "//camera/hal/mediatek/mtkcam/utils/metadata:libmtkcam_metadata", |
| "//camera/hal/mediatek/mtkcam/utils/metastore:libmtkcam_metastore", |
| "//camera/hal/mediatek/mtkcam/utils/module:libmtkcam_modulehelper", |
| "//camera/hal/mediatek/mtkcam/utils/property_service:libmtk_property", |
| "//camera/hal/mediatek/mtkcam/utils/std:libmtkcam_stdutils", |
| ] |
| } |