17405867cSopenharmony_ci# Copyright (c) 2022-2024 Huawei Device Co., Ltd. 27405867cSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 37405867cSopenharmony_ci# you may not use this file except in compliance with the License. 47405867cSopenharmony_ci# You may obtain a copy of the License at 57405867cSopenharmony_ci# 67405867cSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 77405867cSopenharmony_ci# 87405867cSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 97405867cSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 107405867cSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 117405867cSopenharmony_ci# See the License for the specific language governing permissions and 127405867cSopenharmony_ci# limitations under the License. 137405867cSopenharmony_ci 147405867cSopenharmony_ciimport("//build/ohos.gni") 157405867cSopenharmony_ci 167405867cSopenharmony_ciconfig("hiappevent_cache_config") { 177405867cSopenharmony_ci visibility = [ "*:*" ] 187405867cSopenharmony_ci include_dirs = [ 197405867cSopenharmony_ci "include", 207405867cSopenharmony_ci "../include", 217405867cSopenharmony_ci ] 227405867cSopenharmony_ci} 237405867cSopenharmony_ci 247405867cSopenharmony_ciohos_source_set("hiappevent_cache") { 257405867cSopenharmony_ci public_configs = [ ":hiappevent_cache_config" ] 267405867cSopenharmony_ci 277405867cSopenharmony_ci sources = [ 287405867cSopenharmony_ci "app_event_dao.cpp", 297405867cSopenharmony_ci "app_event_mapping_dao.cpp", 307405867cSopenharmony_ci "app_event_observer_dao.cpp", 317405867cSopenharmony_ci "app_event_store.cpp", 327405867cSopenharmony_ci "custom_event_param_dao.cpp", 337405867cSopenharmony_ci "user_id_dao.cpp", 347405867cSopenharmony_ci "user_property_dao.cpp", 357405867cSopenharmony_ci ] 367405867cSopenharmony_ci 377405867cSopenharmony_ci deps = [ "../utility:hiappevent_utility" ] 387405867cSopenharmony_ci 397405867cSopenharmony_ci external_deps = [ 407405867cSopenharmony_ci "c_utils:utils", 417405867cSopenharmony_ci "ffrt:libffrt", 427405867cSopenharmony_ci "hilog:libhilog", 437405867cSopenharmony_ci "relational_store:native_rdb", 447405867cSopenharmony_ci ] 457405867cSopenharmony_ci 467405867cSopenharmony_ci part_name = "hiappevent" 477405867cSopenharmony_ci subsystem_name = "hiviewdfx" 487405867cSopenharmony_ci} 49