From b374bdc19fe1d1286a5995c271b8d913e8c8e89a Mon Sep 17 00:00:00 2001 From: dufresne_andy Date: Mon, 18 Mar 2024 13:22:36 +0800 Subject: [PATCH] Description:slove compilation error Feature or Bugfix:Bugfix Binary Source: No Signed-off-by: dufresne_andy --- interfaces/innerkits/BUILD.gn | 2 +- interfaces/kits/js/napi/BUILD.gn | 4 ++-- test/fuzztest/BUILD.gn | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index 4bca9d40..36fda2e9 100644 --- a/interfaces/innerkits/BUILD.gn +++ b/interfaces/innerkits/BUILD.gn @@ -51,7 +51,7 @@ ohos_shared_library("usbsrv_client") { external_deps = [ "c_utils:utils", - "drivers_interface_usb:usb_idl_headers", + "drivers_interface_usb:usb_idl_headers_1.1", "hilog:libhilog", "ipc:ipc_core", "samgr:samgr_proxy", diff --git a/interfaces/kits/js/napi/BUILD.gn b/interfaces/kits/js/napi/BUILD.gn index 6976f8eb..d4982ae5 100644 --- a/interfaces/kits/js/napi/BUILD.gn +++ b/interfaces/kits/js/napi/BUILD.gn @@ -46,7 +46,7 @@ ohos_shared_library("usb") { "//third_party/cJSON:cjson", ] external_deps = [ - "drivers_interface_usb:usb_idl_headers", + "drivers_interface_usb:usb_idl_headers_1.1", "hilog:libhilog", "napi:ace_napi", ] @@ -80,7 +80,7 @@ ohos_shared_library("usbmanager") { "//third_party/cJSON:cjson", ] external_deps = [ - "drivers_interface_usb:usb_idl_headers", + "drivers_interface_usb:usb_idl_headers_1.1", "hilog:libhilog", "napi:ace_napi", ] diff --git a/test/fuzztest/BUILD.gn b/test/fuzztest/BUILD.gn index 1b1ce735..c79374b8 100644 --- a/test/fuzztest/BUILD.gn +++ b/test/fuzztest/BUILD.gn @@ -722,7 +722,7 @@ ohos_fuzztest("UsbMgrFuzzTest") { external_deps = [ "ability_runtime:ability_manager", "c_utils:utils", - "drivers_interface_usb:usb_idl_headers", + "drivers_interface_usb:usb_idl_headers_1.1", "hilog:libhilog", "ipc:ipc_core", ] -- Gitee