xref: /test/xts/acts/pcs/pcs_py/BUILD.gn (revision f6603c60)
1f6603c60Sopenharmony_ci# Copyright (C) 2024 Huawei Device Co., Ltd.
2f6603c60Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f6603c60Sopenharmony_ci# you may not use this file except in compliance with the License.
4f6603c60Sopenharmony_ci# You may obtain a copy of the License at
5f6603c60Sopenharmony_ci#
6f6603c60Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f6603c60Sopenharmony_ci#
8f6603c60Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f6603c60Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f6603c60Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f6603c60Sopenharmony_ci# See the License for the specific language governing permissions and
12f6603c60Sopenharmony_ci# limitations under the License.
13f6603c60Sopenharmony_ci
14f6603c60Sopenharmony_ciimport("//build/ohos.gni")
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_cigroup("ActsPCSPyTest") {
17f6603c60Sopenharmony_ci  testonly = true
18f6603c60Sopenharmony_ci  deps = [ ":PyTestCase" ]
19f6603c60Sopenharmony_ci}
20f6603c60Sopenharmony_ci
21f6603c60Sopenharmony_ciohos_copy("PyTestCase") {
22f6603c60Sopenharmony_ci  subsystem_name = "xts"
23f6603c60Sopenharmony_ci  part_name = "acts"
24f6603c60Sopenharmony_ci  sources = [
25f6603c60Sopenharmony_ci    "./ActsPCSPyTest.json",
26f6603c60Sopenharmony_ci    "./ActsPCSPyTest.py",
27f6603c60Sopenharmony_ci    "./PermissionUtils.py",
28f6603c60Sopenharmony_ci    "./sysCapUtils.py",
29f6603c60Sopenharmony_ci    "./testAppSignatureVerify.py",
30f6603c60Sopenharmony_ci    "./testBundleInstallVerify.py",
31f6603c60Sopenharmony_ci    "./testCommandWukong.py",
32f6603c60Sopenharmony_ci    "./testInstallSignedHap.py",
33f6603c60Sopenharmony_ci    "./testJsConfiguration.py",
34f6603c60Sopenharmony_ci    "./testMinimumComponentSet.py",
35f6603c60Sopenharmony_ci    "./testPermissionName.py",
36f6603c60Sopenharmony_ci    "./testPermissionsNotMissing.py",
37f6603c60Sopenharmony_ci    "./testRealRandomGenerate.py",
38f6603c60Sopenharmony_ci    "./testSDCardMount.py",
39f6603c60Sopenharmony_ci    "./testSelinuxFileLable.py",
40f6603c60Sopenharmony_ci    "./testSupportHdc.py",
41f6603c60Sopenharmony_ci    "./testSystemCoreInternetPermission.py",
42f6603c60Sopenharmony_ci    "./testTrustedRootCaExist.py",
43f6603c60Sopenharmony_ci  ]
44f6603c60Sopenharmony_ci  outputs =
45f6603c60Sopenharmony_ci      [ root_out_dir + "/suites/acts/acts/testcases/{{source_file_part}}" ]
46f6603c60Sopenharmony_ci}
47