10704ebd2Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
20704ebd2Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
30704ebd2Sopenharmony_ci# you may not use this file except in compliance with the License.
40704ebd2Sopenharmony_ci# You may obtain a copy of the License at
50704ebd2Sopenharmony_ci#
60704ebd2Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
70704ebd2Sopenharmony_ci#
80704ebd2Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
90704ebd2Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
100704ebd2Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
110704ebd2Sopenharmony_ci# See the License for the specific language governing permissions and
120704ebd2Sopenharmony_ci# limitations under the License.
130704ebd2Sopenharmony_ci
140704ebd2Sopenharmony_ciimport("//test/xts/tools/build/suite.gni")
150704ebd2Sopenharmony_ci
160704ebd2Sopenharmony_ciohos_hap_assist_suite("DctsRpcEtsServer") {
170704ebd2Sopenharmony_ci  hap_profile = "entry/src/main/module.json"
180704ebd2Sopenharmony_ci  hap_name = "DctsRpcEtsHapServer"
190704ebd2Sopenharmony_ci
200704ebd2Sopenharmony_ci  testonly = true
210704ebd2Sopenharmony_ci  deps = [
220704ebd2Sopenharmony_ci    ":rpctageserver_js_assets",
230704ebd2Sopenharmony_ci    ":rpctageserver_resources",
240704ebd2Sopenharmony_ci  ]
250704ebd2Sopenharmony_ci  ets2abc = true
260704ebd2Sopenharmony_ci  certificate_profile = "signature/openharmony_sx.p7b"
270704ebd2Sopenharmony_ci  subsystem_name = "communication"
280704ebd2Sopenharmony_ci  part_name = "ipc"
290704ebd2Sopenharmony_ci}
300704ebd2Sopenharmony_ci
310704ebd2Sopenharmony_ciohos_app_scope("rpcserver_app_profile") {
320704ebd2Sopenharmony_ci  app_profile = "AppScope/app.json"
330704ebd2Sopenharmony_ci  sources = [ "AppScope/resources" ]
340704ebd2Sopenharmony_ci}
350704ebd2Sopenharmony_ci
360704ebd2Sopenharmony_ciohos_js_assets("rpctageserver_js_assets") {
370704ebd2Sopenharmony_ci  source_dir = "entry/src/main/ets"
380704ebd2Sopenharmony_ci}
390704ebd2Sopenharmony_ci
400704ebd2Sopenharmony_ciohos_resources("rpctageserver_resources") {
410704ebd2Sopenharmony_ci  sources = [ "entry/src/main/resources" ]
420704ebd2Sopenharmony_ci  deps = [ ":rpcserver_app_profile" ]
430704ebd2Sopenharmony_ci  hap_profile = "entry/src/main/module.json"
440704ebd2Sopenharmony_ci}
45