From ea532f46320513e1ef7d21dbcd95bb2b61eed3a1 Mon Sep 17 00:00:00 2001 From: wangdi Date: Thu, 19 Jun 2025 21:35:42 +0800 Subject: [PATCH] del ans_core gn Signed-off-by: wangdi --- frameworks/core/BUILD.gn | 99 ---------------------------------------- 1 file changed, 99 deletions(-) delete mode 100644 frameworks/core/BUILD.gn diff --git a/frameworks/core/BUILD.gn b/frameworks/core/BUILD.gn deleted file mode 100644 index 792ee7b2c..000000000 --- a/frameworks/core/BUILD.gn +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright (c) 2021-2023 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -import("//base/notification/distributed_notification_service/notification.gni") -import("//build/ohos.gni") - -config("public_ans_core_config") { - include_dirs = [ - "${core_path}/common/include", - "${core_path}/include", - "${inner_api_path}", - - "//third_party/json/single_include", - ] -} - -ohos_shared_library("ans_core") { - sources = [ - "${core_path}/src/ans_image_util.cpp", - "${core_path}/src/ans_manager_proxy.cpp", - "${core_path}/src/ans_notification.cpp", - "${core_path}/src/ans_subscriber_proxy.cpp", - "${core_path}/src/ans_subscriber_stub.cpp", - "${core_path}/src/hitrace_util.cpp", - "${frameworks_module_ans_path}/src/badge_number_callback_data.cpp", - "${frameworks_module_ans_path}/src/enabled_notification_callback_data.cpp", - "${frameworks_module_ans_path}/src/message_user.cpp", - "${frameworks_module_ans_path}/src/notification.cpp", - "${frameworks_module_ans_path}/src/notification_action_button.cpp", - "${frameworks_module_ans_path}/src/notification_basic_content.cpp", - "${frameworks_module_ans_path}/src/notification_bundle_option.cpp", - "${frameworks_module_ans_path}/src/notification_constant.cpp", - "${frameworks_module_ans_path}/src/notification_content.cpp", - "${frameworks_module_ans_path}/src/notification_conversational_content.cpp", - "${frameworks_module_ans_path}/src/notification_conversational_message.cpp", - "${frameworks_module_ans_path}/src/notification_distributed_options.cpp", - "${frameworks_module_ans_path}/src/notification_do_not_disturb_date.cpp", - "${frameworks_module_ans_path}/src/notification_flags.cpp", - "${frameworks_module_ans_path}/src/notification_helper.cpp", - "${frameworks_module_ans_path}/src/notification_long_text_content.cpp", - "${frameworks_module_ans_path}/src/notification_media_content.cpp", - "${frameworks_module_ans_path}/src/notification_multiline_content.cpp", - "${frameworks_module_ans_path}/src/notification_normal_content.cpp", - "${frameworks_module_ans_path}/src/notification_picture_content.cpp", - "${frameworks_module_ans_path}/src/notification_request.cpp", - "${frameworks_module_ans_path}/src/notification_slot.cpp", - "${frameworks_module_ans_path}/src/notification_sorting.cpp", - "${frameworks_module_ans_path}/src/notification_sorting_map.cpp", - "${frameworks_module_ans_path}/src/notification_subscribe_info.cpp", - "${frameworks_module_ans_path}/src/notification_subscriber.cpp", - "${frameworks_module_ans_path}/src/notification_template.cpp", - "${frameworks_module_ans_path}/src/notification_user_input.cpp", - "${frameworks_module_ans_path}/src/push_callback_stub.cpp", - "${frameworks_module_ans_path}/src/reminder_helper.cpp", - "${frameworks_module_ans_path}/src/reminder_request.cpp", - "${frameworks_module_ans_path}/src/reminder_request_alarm.cpp", - "${frameworks_module_ans_path}/src/reminder_request_calendar.cpp", - "${frameworks_module_ans_path}/src/reminder_request_timer.cpp", - "${frameworks_module_ans_path}/src/reminder_store.cpp", - ] - - public_configs = [ ":public_ans_core_config" ] - - external_deps = [ - "ability_base:want", - "ability_base:zuri", - "ability_runtime:app_context", - "ability_runtime:wantagent_innerkits", - "bundle_framework:appexecfwk_base", - "bundle_framework:appexecfwk_core", - "c_utils:utils", - "eventhandler:libeventhandler", - "hicollie:libhicollie", - "hilog:libhilog", - "hitrace:hitrace_meter", - "hitrace:libhitracechain", - "i18n:intl_util", - "image_framework:image_native", - "ipc:ipc_core", - "os_account:os_account_innerkits", - "relational_store:native_rdb", - "samgr:samgr_proxy", - "time_service:time_client", - ] - install_images = [ system_base_dir ] - relative_install_dir = "platformsdk" - innerapi_tags = [ "platformsdk" ] - part_name = "${component_name}" - subsystem_name = "${subsystem_name}" -} -- Gitee