• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021 HiHope Open Source Organization .
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13import("//build/ohos.gni")
14
15ISP_DIR = "//device/soc/rockchip/rk3588/hardware/isp"
16
17ohos_prebuilt_shared_library("librkaiq") {
18  source = "$ISP_DIR/lib64/librkaiq.z.so"
19  install_images = [ chipset_base_dir ]
20  subsystem_name = "rockchip_products"
21  install_enable = true
22}
23
24ohos_prebuilt_etc("ov13855_CMK-OT2016-FV1_default.json") {
25  source = "$ISP_DIR/etc/iqfiles/ov13855_CMK-OT2016-FV1_default.json"
26  relative_install_dir = "iqfiles"
27  install_images = [ chipset_base_dir ]
28  part_name = "rockchip_products"
29  install_enable = true
30}
31
32ohos_prebuilt_etc("iqfil") {
33  source = "$ISP_DIR/etc/iqfil.json"
34  relative_install_dir = ""
35  install_images = [ chipset_base_dir ]
36  part_name = "rockchip_products"
37  install_enable = true
38}
39
40ohos_prebuilt_executable("ispserver") {
41  source = "$ISP_DIR/bin64/ispserver"
42  install_images = [ chipset_base_dir ]
43  part_name = "rockchip_products"
44  install_enable = true
45}
46
47group("isp") {
48  deps = [
49    ":iqfil",
50    ":ispserver",
51    ":librkaiq",
52    ":ov13855_CMK-OT2016-FV1_default.json",
53  ]
54}
55