From 3fb514145c1ce13313c551357b8a42af5c7f10d9 Mon Sep 17 00:00:00 2001 From: lixinsheng2 Date: Sat, 6 Apr 2024 22:33:45 +0800 Subject: [PATCH] =?UTF-8?q?ndk=E7=BC=96=E8=AF=91gn=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8Einterface=5Fsdk=5Fc=E4=BB=93=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=EF=BC=8C=E9=9C=80=E5=8E=BB=E6=8E=89=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E4=BB=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixinsheng2 --- interfaces/ddk/hid/BUILD.gn | 33 ---------------------- interfaces/ddk/hid/libhid.ndk.json | 11 -------- interfaces/ddk/usb/BUILD.gn | 33 ---------------------- interfaces/ddk/usb/libusb.ndk.json | 44 ------------------------------ 4 files changed, 121 deletions(-) delete mode 100644 interfaces/ddk/hid/BUILD.gn delete mode 100644 interfaces/ddk/hid/libhid.ndk.json delete mode 100644 interfaces/ddk/usb/BUILD.gn delete mode 100644 interfaces/ddk/usb/libusb.ndk.json diff --git a/interfaces/ddk/hid/BUILD.gn b/interfaces/ddk/hid/BUILD.gn deleted file mode 100644 index c289255..0000000 --- a/interfaces/ddk/hid/BUILD.gn +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import("//build/ohos.gni") - -ohos_ndk_headers("hid_header") { - dest_dir = "$ndk_headers_out_dir/hid/" - sources = [ - "hid_ddk_api.h", - "hid_ddk_types.h", - ] -} - -ohos_ndk_library("libhid") { - ndk_description_file = "./libhid.ndk.json" - min_compact_version = "11" - output_name = "hid" - system_capability = "SystemCapability.Driver.HID.Extension" - system_capability_headers = [ - "hid/hid_ddk_api.h", - "hid/hid_ddk_types.h", - ] -} diff --git a/interfaces/ddk/hid/libhid.ndk.json b/interfaces/ddk/hid/libhid.ndk.json deleted file mode 100644 index 192bc43..0000000 --- a/interfaces/ddk/hid/libhid.ndk.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "name": "OH_Hid_CreateDevice" - }, - { - "name": "OH_Hid_EmitEvent" - }, - { - "name": "OH_Hid_DestroyDevice" - } -] \ No newline at end of file diff --git a/interfaces/ddk/usb/BUILD.gn b/interfaces/ddk/usb/BUILD.gn deleted file mode 100644 index 36f24db..0000000 --- a/interfaces/ddk/usb/BUILD.gn +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import("//build/ohos.gni") - -ohos_ndk_headers("usb_header") { - dest_dir = "$ndk_headers_out_dir/usb/" - sources = [ - "usb_ddk_api.h", - "usb_ddk_types.h", - ] -} - -ohos_ndk_library("libusb_ndk") { - ndk_description_file = "./libusb.ndk.json" - min_compact_version = "9" - output_name = "usb_ndk" - system_capability = "SystemCapability.Driver.USB.Extension" - system_capability_headers = [ - "usb/usb_ddk_api.h", - "usb/usb_ddk_types.h", - ] -} diff --git a/interfaces/ddk/usb/libusb.ndk.json b/interfaces/ddk/usb/libusb.ndk.json deleted file mode 100644 index 4cc7033..0000000 --- a/interfaces/ddk/usb/libusb.ndk.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - { - "name": "OH_Usb_Init" - }, - { - "name": "OH_Usb_Release" - }, - { - "name": "OH_Usb_GetDeviceDescriptor" - }, - { - "name": "OH_Usb_GetConfigDescriptor" - }, - { - "name": "OH_Usb_FreeConfigDescriptor" - }, - { - "name": "OH_Usb_ClaimInterface" - }, - { - "name": "OH_Usb_ReleaseInterface" - }, - { - "name": "OH_Usb_SelectInterfaceSetting" - }, - { - "name": "OH_Usb_GetCurrentInterfaceSetting" - }, - { - "name": "OH_Usb_SendControlReadRequest" - }, - { - "name": "OH_Usb_SendControlWriteRequest" - }, - { - "name": "OH_Usb_SendPipeRequest" - }, - { - "name": "OH_Usb_CreateDeviceMemMap" - }, - { - "name": "OH_Usb_DestroyDeviceMemMap" - } -] \ No newline at end of file -- Gitee