Lines Matching refs:HAP

1 # HAP Build Guide
8 | HAP | Harmony Ability Package, released as a HAP file, with the file name extension .h…
16 The HAP provides HAP build functions and supports FA and stage models.
23 This template declares a HAP target, which generates a HAP that will be packaged into the system im…
27 | hap_profile | Configuration file of the HAP. It is **config.json** for the FA model and **module.…
28 | raw_assets | Raw assets, which are directly copied to the **assets** directory of the HAP.|
34 | hap_name | HAP name, which is optional. By default, it is the target name.|
35 | final_hap_path | Path of the generated HAP. This variable is optional. It takes precedence over *…
36 … of the subsystem that the HAP belongs to. The name must be consistent with that defined in **ohos…
37 | part_name | Name of the part that the HAP belongs to. The name must be the same as that of **subs…
38 | js2abc | Whether to convert JS code of the HAP into ARK bytecode.|
39 | ets2abc | Whether to convert eTS code of the HAP into ARK bytecode.|
40 | certificate_profile | Certificate profile used to sign the HAP.|
45 | module_install_name | Name of the HAP during installation.|
46 | module_install_dir | Installation path of the HAP in the system. The default path is **system/app…
47 | js_build_mode | Build mode of the HAP, which can be **release** or **debug**. This variable is op…
50 Declares the AppScope module of the HAP. The **app_profile** and **sources** variables of the targe…
54 | app_profile | **app.json** file in the AppScope module of the HAP. This variable is used only in …
55 | sources | Resources in the AppScope module of the HAP. This variable is used only in the stage mo…
62 | hap_profile | Configuration file of the HAP. It is **config.json** for the FA model and **module.…
68 Provides raw assets, which are directly copied to the **assets** directory of the HAP.
79 | hap_profile | Configuration file of the HAP. It is **config.json** for the FA model and **module.…
100 hap_name = "SystemUI-NavigationBar" # HAP name
126 # Build the HAP only.
131 The build target is generated. The following shows the decompressed HAP in the FA model.