mirror of
https://gitee.com/openharmony/usb_usb_manager
synced 2025-02-17 04:49:46 +00:00
feature整改
Signed-off-by: hechaofan <hechaofan3@huawei.com>
This commit is contained in:
parent
11eceacf1e
commit
9fc68ba619
@ -14,7 +14,8 @@
|
||||
"name": "usb_manager",
|
||||
"subsystem": "usb",
|
||||
"features": [
|
||||
"usb_manager_feature_pop_up_func_switch_model"
|
||||
"usb_manager_feature_pop_up_func_switch_model",
|
||||
"usb_manager_feature_dialog_build_hap_path"
|
||||
],
|
||||
"syscap": [
|
||||
"SystemCapability.USB.USBManager"
|
||||
|
@ -14,7 +14,7 @@
|
||||
import("//build/ohos.gni")
|
||||
|
||||
declare_args() {
|
||||
usb_right_dialog_build_hap_path = ""
|
||||
usb_manager_feature_dialog_build_hap_path = ""
|
||||
}
|
||||
|
||||
ohos_hap("dialog_hap") {
|
||||
@ -30,8 +30,8 @@ ohos_hap("dialog_hap") {
|
||||
subsystem_name = "applications"
|
||||
js_build_mode = "release"
|
||||
module_install_dir = "app/com.usb.right"
|
||||
if (defined(sign_hap_py_path) && usb_right_dialog_build_hap_path != "") {
|
||||
certificate_profile = usb_right_dialog_build_hap_path
|
||||
if (defined(sign_hap_py_path) && usb_manager_feature_dialog_build_hap_path != "") {
|
||||
certificate_profile = usb_manager_feature_dialog_build_hap_path
|
||||
key_alias = "HwUsbRightDialog Release"
|
||||
private_key_path = "HwUsbRightDialog Release"
|
||||
compatible_version = "8"
|
||||
|
Loading…
x
Reference in New Issue
Block a user