1# Copyright (c) 2023 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. 13import("//build/ohos.gni") 14import("//foundation/graphic/graphic_3d/lume/lume_config.gni") 15 16config("lume_engine_ecshelper_config") { 17 defines = [ "CORE_PUBLIC=" ] 18 include_dirs = [ 19 "${LUME_CORE_PATH}/api", 20 "${LUME_BASE_PATH}/api", 21 "${LUME_CORE_PATH}/ecshelper", 22 ] 23} 24 25ohos_source_set("lume_engine_ecshelper") { 26 sources = [ 27 "${LUME_CORE_PATH}/api/core/property_tools/property_data.cpp", 28 "ComponentTools/base_manager.h", 29 "ComponentTools/base_manager.inl", 30 "ComponentTools/component_query.cpp", 31 "ComponentTools/component_query.h", 32 "PropertyTools/core_metadata.inl", 33 "PropertyTools/property_api_impl.h", 34 "PropertyTools/property_api_impl.inl", 35 "PropertyTools/property_macros.h", 36 "PropertyTools/property_value.h", 37 ] 38 39 configs = [ 40 "${LUME_CORE_PATH}:lume_default", 41 "${LUME_CORE_PATH}:lume_base_api", 42 ":lume_engine_ecshelper_config", 43 ] 44} 45 46#ohos_shared_library("libAGPDLL") { 47#ohos_shared_library(${LIB_ENGINE_CORE}) { 48ohos_static_library("libAGPEcshelper") { 49 deps = [ ":lume_engine_ecshelper" ] 50 51 part_name = "graphic_3d" 52 subsystem_name = "graphic" 53} 54