10704ebd2Sopenharmony_ci# Copyright (C) 2022 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_ciimport("//test/xts/tools/build/suite.gni")
140704ebd2Sopenharmony_ci
150704ebd2Sopenharmony_ciohos_js_hap_suite("DctsAVSessionClientTest") {
160704ebd2Sopenharmony_ci  hap_profile = "./src/main/config.json"
170704ebd2Sopenharmony_ci  deps = [
180704ebd2Sopenharmony_ci    ":avsession_js_assets",
190704ebd2Sopenharmony_ci    ":avsession_js_resources",
200704ebd2Sopenharmony_ci  ]
210704ebd2Sopenharmony_ci
220704ebd2Sopenharmony_ci  certificate_profile = "./signature/openharmony_sx.p7b"
230704ebd2Sopenharmony_ci  hap_name = "DctsAVSessionClientTest"
240704ebd2Sopenharmony_ci  subsystem_name = "multimedia"
250704ebd2Sopenharmony_ci  part_name = "av_session"
260704ebd2Sopenharmony_ci}
270704ebd2Sopenharmony_ciohos_js_assets("avsession_js_assets") {
280704ebd2Sopenharmony_ci  js2abc = true
290704ebd2Sopenharmony_ci  hap_profile = "./src/main/config.json"
300704ebd2Sopenharmony_ci  source_dir = "./src/main/js"
310704ebd2Sopenharmony_ci}
320704ebd2Sopenharmony_ciohos_resources("avsession_js_resources") {
330704ebd2Sopenharmony_ci  sources = [ "./src/main/resources" ]
340704ebd2Sopenharmony_ci  hap_profile = "./src/main/config.json"
350704ebd2Sopenharmony_ci}
36