1# Copyright (c) 2022 Unionman Technology 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 14import("//build/ohos.gni") 15 16ohos_prebuilt_etc("h264_enc_bin") { 17 source = "video/h264_enc.bin" 18 module_install_dir = "lib/firmware/video" 19 install_images = [ "system" ] 20 21 part_name = "unionman_products" 22} 23 24ohos_prebuilt_etc("video_ucode_bin") { 25 source = "video/video_ucode.bin" 26 module_install_dir = "lib/firmware/video" 27 install_images = [ "system" ] 28 29 part_name = "unionman_products" 30} 31 32group("media_firmware") { 33 deps = [ 34 ":h264_enc_bin", 35 ":video_ucode_bin", 36 ] 37} 38