• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15
16ohos_prebuilt_etc("trusted_apps_sources") {
17  if (build_public_version) {
18    source = "OpenHarmony/trusted_apps_sources.json"
19  } else {
20    source = "trusted_apps_sources.json"
21  }
22  part_name = "appverify"
23  subsystem_name = "security"
24  relative_install_dir = "security"
25}
26
27ohos_prebuilt_etc("trusted_apps_sources_test") {
28  source = "trusted_apps_sources_test.json"
29  part_name = "appverify"
30  subsystem_name = "security"
31  relative_install_dir = "security"
32}
33
34ohos_prebuilt_etc("trusted_root_ca") {
35  if (build_public_version) {
36    source = "OpenHarmony/trusted_root_ca.json"
37  } else {
38    source = "trusted_root_ca.json"
39  }
40  part_name = "appverify"
41  subsystem_name = "security"
42  relative_install_dir = "security"
43}
44
45ohos_prebuilt_etc("trusted_root_ca_test") {
46  source = "trusted_root_ca_test.json"
47  part_name = "appverify"
48  subsystem_name = "security"
49  relative_install_dir = "security"
50}
51
52ohos_prebuilt_etc("trusted_tickets_sources") {
53  source = "trusted_tickets_sources.json"
54  part_name = "appverify"
55  subsystem_name = "security"
56  relative_install_dir = "security"
57}
58