18bf80f4bSopenharmony_ci# Copyright (C) 2023 Huawei Device Co., Ltd. 28bf80f4bSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 38bf80f4bSopenharmony_ci# you may not use this file except in compliance with the License. 48bf80f4bSopenharmony_ci# You may obtain a copy of the License at 58bf80f4bSopenharmony_ci# 68bf80f4bSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 78bf80f4bSopenharmony_ci# 88bf80f4bSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 98bf80f4bSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 108bf80f4bSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 118bf80f4bSopenharmony_ci# See the License for the specific language governing permissions and 128bf80f4bSopenharmony_ci# limitations under the License. 138bf80f4bSopenharmony_ci 148bf80f4bSopenharmony_ciimport("//build/ohos.gni") 158bf80f4bSopenharmony_ciimport("//foundation/graphic/graphic_2d/graphic_config.gni") 168bf80f4bSopenharmony_ciimport("//foundation/graphic/graphic_3d/lume/lume_config.gni") 178bf80f4bSopenharmony_ci 188bf80f4bSopenharmony_cilume_binary_complile("lume_binary_shader_compile") { 198bf80f4bSopenharmony_ci script = "${LUME_BINARY_PATH}/LumeShaderCompiler/build.sh" 208bf80f4bSopenharmony_ci outputs = [ "$target_gen_dir" ] 218bf80f4bSopenharmony_ci dest_gen_path = "$target_gen_dir" 228bf80f4bSopenharmony_ci} 238bf80f4bSopenharmony_cigroup("binary_compile_shader") { 248bf80f4bSopenharmony_ci deps = [ ":lume_binary_shader_compile" ] 258bf80f4bSopenharmony_ci} 26