1# Copyright (c) 2024 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    "ComponentTools/base_manager.h",
28    "ComponentTools/base_manager.inl",
29    "ComponentTools/component_query.cpp",
30    "ComponentTools/component_query.h",
31    "PropertyTools/core_metadata.inl",
32    "PropertyTools/property_api_impl.h",
33    "PropertyTools/property_api_impl.inl",
34    "PropertyTools/property_data.cpp",
35    "PropertyTools/property_data.h",
36    "PropertyTools/property_macros.h",
37    "PropertyTools/property_value.h",
38  ]
39
40  configs = [
41    "${LUME_CORE_PATH}:lume_default",
42    "${LUME_CORE_PATH}:lume_base_api",
43    ":lume_engine_ecshelper_config",
44  ]
45  part_name = "graphic_3d"
46  subsystem_name = "graphic"
47}
48
49ohos_static_library("libAGPEcshelper") {
50  deps = [ ":lume_engine_ecshelper" ]
51
52  part_name = "graphic_3d"
53  subsystem_name = "graphic"
54}
55