• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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 = "../../../"
16
17ohos_executable("tel_telephony_data_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/interfaces/innerkits/include",
23    "$SOURCE_DIR/opkey/include",
24    "$SOURCE_DIR/pdp_profile/include",
25    "$SOURCE_DIR/sim/include",
26    "$SOURCE_DIR/sms_mms/include",
27  ]
28
29  external_deps = [
30    "ability_base:want",
31    "ability_base:zuri",
32    "ability_runtime:ability_manager",
33    "ability_runtime:abilitykit_native",
34    "c_utils:utils",
35    "common_event_service:cesfwk_innerkits",
36    "data_share:datashare_common",
37    "data_share:datashare_consumer",
38    "data_share:datashare_provider",
39    "eventhandler:libeventhandler",
40    "hilog:libhilog",
41    "ipc:ipc_single",
42    "relational_store:native_appdatafwk",
43    "relational_store:native_rdb",
44    "relational_store:rdb_data_share_adapter",
45    "resource_management:global_resmgr",
46    "safwk:system_ability_fwk",
47    "samgr:samgr_proxy",
48  ]
49  defines = [
50    "TELEPHONY_LOG_TAG = \"DataStorageUTest\"",
51    "LOG_DOMAIN = 0xD000F00",
52  ]
53  part_name = "telephony_data"
54  subsystem_name = "telephony"
55}
56