• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16{
17  "module": {
18    "name": "entry_test",
19    "type": "feature",
20    "description": "$string:module_desc",
21    "mainElement": "EntryAbility",
22    "deviceTypes": [],
23    "deliveryWithInstall": true,
24    "installationFree": false,
25    "pages": "$profile:test_pages",
26    "abilities": [
27      {
28        "name": "EntryAbility",
29        "srcEntry": "./ets/entryability/EntryAbility.ts",
30        "description": "$string:EntryAbility_desc",
31        "icon": "$media:icon",
32        "label": "$string:EntryAbility_label",
33        "startWindowIcon": "$media:startIcon",
34        "startWindowBackground": "$color:start_window_background",
35        "exported": true,
36        "skills": [
37          {
38            "entities": [
39              "entity.aacommandimplicitstarttest.home"
40            ],
41            "actions": [
42              "action.aacommandimplicitstarttest.home"
43            ]
44          },
45          {
46            "entities": [
47              "entity.aacommandimplicitstarttest.home"
48            ],
49            "actions": [
50              "action.aacommandimplicitstarttest.home"
51            ],
52            "uris": [
53              {
54                "host": "uri.aacommandimplicitstarttest.com",
55                "scheme": "https",
56                "type": "uri-type"
57              }
58            ]
59          }
60        ]
61      },
62      {
63        "name": "TestAbility",
64        "srcEntry": "./ets/testability/TestAbility.ets",
65        "description": "$string:TestAbility_desc",
66        "icon": "$media:icon",
67        "label": "$string:TestAbility_label",
68        "exported": true,
69        "startWindowIcon": "$media:icon",
70        "startWindowBackground": "$color:start_window_background",
71        "skills": [
72          {
73            "actions": [
74              "action.system.home"
75            ],
76            "entities": [
77              "entity.system.home"
78            ]
79          }
80        ]
81      },
82      {
83        "name": "UnexportedAbility",
84        "srcEntry": "./ets/unexportedability/UnexportedAbility.ts",
85        "description": "$string:UnexportedAbility_desc",
86        "icon": "$media:icon",
87        "label": "$string:UnexportedAbility_label",
88        "startWindowIcon": "$media:startIcon",
89        "startWindowBackground": "$color:start_window_background",
90        "exported": false,
91        "skills": [
92          {
93            "entities": [
94              "entity.system.unexportedability"
95            ],
96            "actions": [
97              "action.system.unexportedability"
98            ]
99          }
100        ]
101      }
102    ],
103    "requestPermissions": []
104  }
105}