• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
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.
13
14#!/bin/bash
15#set -e
16script_path=$(cd $(dirname $0);pwd)
17cd ${script_path}
18cd ../../../../../../out/ohos-arm-release/packages/phone/system/lib;
19libcamera_client=$(stat -c %s "libcamera_client.z.so")
20echo "libcamera_client.z.so(B): "$libcamera_client
21
22camera_buffer_manager=$(stat -c %s "libcamera_buffer_manager.z.so")
23echo "libcamera_buffer_manager.z.so(B): "$camera_buffer_manager
24
25camera_device_manager=$(stat -c %s "libcamera_device_manager.z.so")
26echo "libcamera_device_manager.z.so(B): "$camera_device_manager
27
28camera_hdi_impl=$(stat -c %s "libcamera_hdi_impl.z.so")
29echo "libcamera_hdi_impl.z.so(B): "$camera_hdi_impl
30
31camera_pipeline_core=$(stat -c %s "libcamera_pipeline_core.z.so")
32echo "libcamera_pipeline_core.z.so(B): "$camera_pipeline_core
33
34camera_utils=$(stat -c %s "libcamera_utils.z.so")
35echo "libcamera_utils.z.so(B): "$camera_utils
36
37total=$[libcamera_client+camera_buffer_manager+camera_device_manager+camera_hdi_impl+camera_pipeline_core+camera_utils]
38
39echo "so package total(KB):"$(expr $total / 1024)
40