From 80870af0d7ac6a77eee30e8fef657057dc5827fc Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Thu, 3 Aug 2023 19:57:34 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- .../subsystems/subsys-build-gn-hap-compilation-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/device-dev/subsystems/subsys-build-gn-hap-compilation-guide.md b/en/device-dev/subsystems/subsys-build-gn-hap-compilation-guide.md index 1826640aa5..bffd8dccbe 100644 --- a/en/device-dev/subsystems/subsys-build-gn-hap-compilation-guide.md +++ b/en/device-dev/subsystems/subsys-build-gn-hap-compilation-guide.md @@ -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**.
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**.
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.
The following is an example: +3. Modify the **applications/standard/hap/ohos.build** file.
The following is an example: ``` { "subsystem": "applications", -- GitLab