13fc297bdSopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
23fc297bdSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
33fc297bdSopenharmony_ci# you may not use this file except in compliance with the License.
43fc297bdSopenharmony_ci# You may obtain a copy of the License at
53fc297bdSopenharmony_ci#
63fc297bdSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
73fc297bdSopenharmony_ci#
83fc297bdSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
93fc297bdSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
103fc297bdSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113fc297bdSopenharmony_ci# See the License for the specific language governing permissions and
123fc297bdSopenharmony_ci# limitations under the License.
133fc297bdSopenharmony_ci
143fc297bdSopenharmony_ciimport("//build/test.gni")
153fc297bdSopenharmony_ciimport("../../soc_perf.gni")
163fc297bdSopenharmony_ci
173fc297bdSopenharmony_ciohos_executable("socperf_test") {
183fc297bdSopenharmony_ci  sources = [ "socperf_test.cpp" ]
193fc297bdSopenharmony_ci
203fc297bdSopenharmony_ci  deps = [ "${socperf_interfaces}/inner_api/socperf_client:socperf_client" ]
213fc297bdSopenharmony_ci
223fc297bdSopenharmony_ci  external_deps = [
233fc297bdSopenharmony_ci    "access_token:libaccesstoken_sdk",
243fc297bdSopenharmony_ci    "access_token:libnativetoken",
253fc297bdSopenharmony_ci    "access_token:libtoken_setproc",
263fc297bdSopenharmony_ci    "c_utils:utils",
273fc297bdSopenharmony_ci    "eventhandler:libeventhandler",
283fc297bdSopenharmony_ci    "hilog:libhilog",
293fc297bdSopenharmony_ci    "ipc:ipc_single",
303fc297bdSopenharmony_ci    "safwk:system_ability_fwk",
313fc297bdSopenharmony_ci    "samgr:samgr_proxy",
323fc297bdSopenharmony_ci  ]
333fc297bdSopenharmony_ci
343fc297bdSopenharmony_ci  part_name = "soc_perf"
353fc297bdSopenharmony_ci  subsystem_name = "resourceschedule"
363fc297bdSopenharmony_ci}
37