Files
ability_ability_runtime/cli_tool_framework/services/common/BUILD.gn
T
Luobniz21 ed9f8f3270 clidot
Signed-off-by: Luobniz21 <luoyicong@h-partners.com>

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date:      Fri Jun 26 14:55:51 2026 +0800
#
# On branch dot_cli0626
# Your branch is up to date with 'origin/dot_cli0626'.
#
# Changes to be committed:
#	modified:   cli_tool_framework/services/climgr/BUILD.gn
#	modified:   cli_tool_framework/services/climgr/include/cli_tool_manager_service.h
#	modified:   cli_tool_framework/services/climgr/include/tool_util.h
#	modified:   cli_tool_framework/services/climgr/src/cli_tool_manager_service.cpp
#	modified:   cli_tool_framework/services/climgr/src/process_manager.cpp
#	modified:   cli_tool_framework/services/climgr/src/tool_util.cpp
#	new file:   cli_tool_framework/services/common/BUILD.gn
#	new file:   cli_tool_framework/services/common/include/cli_event_report.h
#	new file:   cli_tool_framework/services/common/src/cli_event_report.cpp
#	modified:   cli_tool_framework/test/unittest/BUILD.gn
#	new file:   cli_tool_framework/test/unittest/cli_event_report_test/BUILD.gn
#	new file:   cli_tool_framework/test/unittest/cli_event_report_test/cli_event_report_test.cpp
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/BUILD.gn
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/cli_tool_mgr_service_test.cpp
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/permission_util_mock.cpp
#	modified:   cli_tool_framework/test/unittest/common_mock/climgr/include/tool_util.h
#	modified:   cli_tool_framework/test/unittest/common_mock/climgr/src/cli_mgr_service_mock.cpp
#	modified:   cli_tool_framework/test/unittest/process_manager_test/BUILD.gn
#	modified:   cli_tool_framework/test/unittest/tool_util_test/tool_util_test.cpp
#	modified:   hisysevent.yaml
#
# Untracked files:
#	.claude/
#	1.diff
#	"CLI\345\267\245\345\205\267\346\211\223\347\202\271\344\274\230\345\214\226\346\200\273\347\273\223.md"
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date:      Fri Jun 26 14:55:51 2026 +0800
#
# On branch dot_cli0626
# Your branch is up to date with 'origin/dot_cli0626'.
#
# Changes to be committed:
#	modified:   cli_tool_framework/services/climgr/BUILD.gn
#	modified:   cli_tool_framework/services/climgr/include/cli_tool_manager_service.h
#	modified:   cli_tool_framework/services/climgr/include/tool_util.h
#	modified:   cli_tool_framework/services/climgr/src/cli_tool_manager_service.cpp
#	modified:   cli_tool_framework/services/climgr/src/process_manager.cpp
#	modified:   cli_tool_framework/services/climgr/src/tool_util.cpp
#	new file:   cli_tool_framework/services/common/BUILD.gn
#	new file:   cli_tool_framework/services/common/include/cli_event_report.h
#	new file:   cli_tool_framework/services/common/src/cli_event_report.cpp
#	modified:   cli_tool_framework/test/unittest/BUILD.gn
#	new file:   cli_tool_framework/test/unittest/cli_event_report_test/BUILD.gn
#	new file:   cli_tool_framework/test/unittest/cli_event_report_test/cli_event_report_test.cpp
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/BUILD.gn
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/cli_tool_mgr_service_test.cpp
#	modified:   cli_tool_framework/test/unittest/cli_tool_mgr_service_test/permission_util_mock.cpp
#	modified:   cli_tool_framework/test/unittest/common_mock/climgr/include/tool_util.h
#	modified:   cli_tool_framework/test/unittest/common_mock/climgr/src/cli_mgr_service_mock.cpp
#	modified:   cli_tool_framework/test/unittest/process_manager_test/BUILD.gn
#	modified:   cli_tool_framework/test/unittest/tool_util_test/tool_util_test.cpp
#	modified:   hisysevent.yaml
#
# Untracked files:
#	.claude/
#	1.diff
#	"CLI\345\267\245\345\205\267\346\211\223\347\202\271\344\274\230\345\214\226\346\200\273\347\273\223.md"
#
2026-06-27 09:54:20 +08:00

48 lines
1.3 KiB
Plaintext

# Copyright (c) 2026 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("//build/ohos.gni")
import("//foundation/ability/ability_runtime/ability_runtime.gni")
ohos_source_set("cli_common") {
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
include_dirs = [
"include",
"${ability_runtime_services_path}/common/include",
"${cli_tool_framework_path}/interfaces/cli_tool/include",
]
sources = [
"src/cli_event_report.cpp",
]
deps = [
"${ability_runtime_services_path}/common:hisysevent_report",
"${cli_tool_framework_path}/interfaces/cli_tool:cli_tool_client",
]
external_deps = [
"ability_base:want",
"hilog:libhilog",
"hisysevent:libhisysevent",
]
subsystem_name = "ability"
part_name = "ability_runtime"
}