未验证 提交 64925889 编写于 作者: O openharmony_ci 提交者: Gitee

!21905 [翻译完成】#I7KJ6V

Merge pull request !21905 from Annie_wang/PR20743
......@@ -17,7 +17,7 @@ The HAP provides HAP build functions and supports FA and stage models.
## How to Develop
### Templates
### OpenHarmony Templates
#### ohos_hap
This template declares a HAP target, which generates a HAP that will be packaged into the system image.
......@@ -84,7 +84,7 @@ Resource files, which are stored in the **assets/entry/resources** directory for
1. Save the developed application example to the **applications/standard/** directory.
2. Configure the GN script **applications/standard/example/BUILD.gn**. <br>The following is an example of the FA model. For details about more **BUILD.gn** configurations, see [GN Script Configuration Example](#gn-script-configuration-example).
2. Configure the GN script **applications/standard/example/BUILD.gn**.<br>The following is an example of the FA model. For details about more **BUILD.gn** configurations, see [GN Script Configuration Example](#gn-script-configuration-example).
```
import("//build/ohos.gni") # Import ohos.gni.
......@@ -103,7 +103,7 @@ Resource files, which are stored in the **assets/entry/resources** directory for
}
```
3. Modify the **applications/standard/hap/ohos.build** file. <br>The following is an example:
3. Modify the **applications/standard/hap/ohos.build** file.<br>The following is an example:
```
{
"subsystem": "applications",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册