18bf80f4bSopenharmony_ci# Copyright (c) 2024 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_ciimport("//build/ohos.gni") 148bf80f4bSopenharmony_ciimport("//foundation/graphic/graphic_2d/graphic_config.gni") 158bf80f4bSopenharmony_ciimport("//foundation/graphic/graphic_3d/lume/lume_config.gni") 168bf80f4bSopenharmony_ci 178bf80f4bSopenharmony_ciconfig("lume_engine_dll") { 188bf80f4bSopenharmony_ci defines = [ "CORE_PUBLIC=" ] 198bf80f4bSopenharmony_ci} 208bf80f4bSopenharmony_ci 218bf80f4bSopenharmony_ciohos_source_set("lume_engine_dynamic_src") { 228bf80f4bSopenharmony_ci sources = [ "src/exports.cpp" ] 238bf80f4bSopenharmony_ci 248bf80f4bSopenharmony_ci configs = [ 258bf80f4bSopenharmony_ci "${LUME_CORE_PATH}:lume_default", 268bf80f4bSopenharmony_ci ":lume_engine_dll", 278bf80f4bSopenharmony_ci ] 288bf80f4bSopenharmony_ci} 298bf80f4bSopenharmony_ci 308bf80f4bSopenharmony_ci#ohos_shared_library("libAGPDLL") { 318bf80f4bSopenharmony_ci#ohos_shared_library(${LIB_ENGINE_CORE}) { 328bf80f4bSopenharmony_ciohos_shared_library(LIB_ENGINE_CORE) { 338bf80f4bSopenharmony_ci deps = [ 348bf80f4bSopenharmony_ci ":lume_engine_dynamic_src", 358bf80f4bSopenharmony_ci "${LUME_CORE_PATH}:libAGPEngine", 368bf80f4bSopenharmony_ci ] 378bf80f4bSopenharmony_ci 388bf80f4bSopenharmony_ci part_name = "graphic_3d" 398bf80f4bSopenharmony_ci subsystem_name = "graphic" 408bf80f4bSopenharmony_ci} 41