• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021 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.
13
14import("//build/ohos.gni")
15SOURCE_DIR = "//base/telephony/data_storage"
16
17ohos_executable("tel_data_storage_test") {
18  sources = [ "$SOURCE_DIR/test/unittest/data_test/data_storage_test.cpp" ]
19
20  include_dirs = [
21    "$SOURCE_DIR/common/include",
22    "$SOURCE_DIR/sim/include",
23    "$SOURCE_DIR/pdp_profile/include",
24    "$SOURCE_DIR/sms_mms/include",
25  ]
26
27  deps = [
28    "//foundation/aafwk/standard/frameworks/kits/ability/native:abilitykit_native",
29    "//foundation/aafwk/standard/interfaces/innerkits/ability_manager:ability_manager",
30    "//foundation/distributedschedule/dmsfwk/interfaces/innerkits/uri:zuri",
31    "//utils/native/base:utils",
32    "//utils/resources/systemres:systemres_hap",
33  ]
34
35  external_deps = [
36    "ability_base:want",
37    "ces_standard:cesfwk_innerkits",
38    "eventhandler:libeventhandler",
39    "hiviewdfx_hilog_native:libhilog",
40    "ipc:ipc_core",
41    "native_appdatamgr:native_appdatafwk",
42    "native_appdatamgr:native_dataability",
43    "native_appdatamgr:native_rdb",
44    "permission_standard:libpermissionsdk_standard",
45    "resmgr_standard:global_resmgr",
46    "safwk:system_ability_fwk",
47    "samgr_standard:samgr_proxy",
48  ]
49
50  part_name = "data_storage"
51  subsystem_name = "telephony"
52}
53