• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2025 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14if (defined(ohos_lite)) {
15  group("usb_entry") {
16    deps = []
17  }
18} else {
19  import("//build/config/components/hdi/hdi.gni")
20  import("//build/ohos.gni")
21
22  group("usb_entry") {
23    deps = [
24      "./cfg:usb_etc_files",
25      "./ddk:libusb_core",
26      "./ddk_service/common:libusb_ddk_service_common",
27      "./ddk_service/scsi_service:scsi_ddk_target",
28      "./ddk_service/serial_service:usb_serial_ddk_target",
29      "./ddk_service/usb_service:usb_ddk_target",
30      "./gadget/function/acm:libusbfn_cdcacm",
31      "./gadget/function/ecm:libusbfn_cdcecm",
32      "./gadget/function/mtp:hdi_usbfn_mtp_service",
33      "./gadget/function/usbfn:libusbfn",
34      "./hdi_service:hdi_usb_service",
35      "./net:libusbhost_ecm",
36      "./net:libusbhost_rndis_rawapi",
37      "./serial:usbhost_acm",
38    ]
39  }
40}
41