14dfc7d99Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
24dfc7d99Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
34dfc7d99Sopenharmony_ci# you may not use this file except in compliance with the License.
44dfc7d99Sopenharmony_ci# You may obtain a copy of the License at
54dfc7d99Sopenharmony_ci#
64dfc7d99Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
74dfc7d99Sopenharmony_ci#
84dfc7d99Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
94dfc7d99Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
104dfc7d99Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114dfc7d99Sopenharmony_ci# See the License for the specific language governing permissions and
124dfc7d99Sopenharmony_ci# limitations under the License.
134dfc7d99Sopenharmony_ci
144dfc7d99Sopenharmony_ciimport("//build/test.gni")
154dfc7d99Sopenharmony_ciimport("../../ressched.gni")
164dfc7d99Sopenharmony_ci
174dfc7d99Sopenharmony_ciohos_executable("ressched_test") {
184dfc7d99Sopenharmony_ci  sources = [ "ressched_test.cpp" ]
194dfc7d99Sopenharmony_ci
204dfc7d99Sopenharmony_ci  deps = [ "${ressched_interfaces}/innerkits/ressched_client:ressched_client" ]
214dfc7d99Sopenharmony_ci
224dfc7d99Sopenharmony_ci  external_deps = [
234dfc7d99Sopenharmony_ci    "ability_runtime:ability_manager",
244dfc7d99Sopenharmony_ci    "access_token:libaccesstoken_sdk",
254dfc7d99Sopenharmony_ci    "access_token:libnativetoken",
264dfc7d99Sopenharmony_ci    "access_token:libtoken_setproc",
274dfc7d99Sopenharmony_ci    "c_utils:utils",
284dfc7d99Sopenharmony_ci    "eventhandler:libeventhandler",
294dfc7d99Sopenharmony_ci    "hilog:libhilog",
304dfc7d99Sopenharmony_ci    "ipc:ipc_single",
314dfc7d99Sopenharmony_ci    "safwk:system_ability_fwk",
324dfc7d99Sopenharmony_ci    "samgr:samgr_proxy",
334dfc7d99Sopenharmony_ci  ]
344dfc7d99Sopenharmony_ci
354dfc7d99Sopenharmony_ci  install_enable = true
364dfc7d99Sopenharmony_ci  part_name = "resource_schedule_service"
374dfc7d99Sopenharmony_ci  subsystem_name = "resourceschedule"
384dfc7d99Sopenharmony_ci}
39