18d6344f9Sopenharmony_ci# Copyright (C) 2021 HiHope Open Source Organization .
28d6344f9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
38d6344f9Sopenharmony_ci# you may not use this file except in compliance with the License.
48d6344f9Sopenharmony_ci# You may obtain a copy of the License at
58d6344f9Sopenharmony_ci#
68d6344f9Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
78d6344f9Sopenharmony_ci#
88d6344f9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
98d6344f9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
108d6344f9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
118d6344f9Sopenharmony_ci# See the License for the specific language governing permissions and
128d6344f9Sopenharmony_ci# limitations under the License.
138d6344f9Sopenharmony_ciimport("//build/ohos.gni")
148d6344f9Sopenharmony_ci
158d6344f9Sopenharmony_ciBOOTANIMATION_DIR = "//device/board/hihope/${device_name}/bootanimation"
168d6344f9Sopenharmony_ci
178d6344f9Sopenharmony_ciohos_prebuilt_etc("bootanimation-720x1280") {
188d6344f9Sopenharmony_ci  source = "$BOOTANIMATION_DIR/bootanimation-720x1280.raw"
198d6344f9Sopenharmony_ci  part_name = "rockchip_products"
208d6344f9Sopenharmony_ci  install_enable = true
218d6344f9Sopenharmony_ci}
228d6344f9Sopenharmony_ci
238d6344f9Sopenharmony_ciohos_prebuilt_etc("bootanimation-1920x1080") {
248d6344f9Sopenharmony_ci  source = "$BOOTANIMATION_DIR/bootanimation-1920x1080.raw"
258d6344f9Sopenharmony_ci  part_name = "rockchip_products"
268d6344f9Sopenharmony_ci  install_enable = true
278d6344f9Sopenharmony_ci}
288d6344f9Sopenharmony_ci
298d6344f9Sopenharmony_cigroup("bootanimation") {
308d6344f9Sopenharmony_ci  deps = [
318d6344f9Sopenharmony_ci    ":bootanimation-1920x1080",
328d6344f9Sopenharmony_ci    ":bootanimation-720x1280",
338d6344f9Sopenharmony_ci  ]
348d6344f9Sopenharmony_ci}
35