blob: 727de136cb21329225b3424d3fc5229fcd23e695 [file] [log] [blame]
raychie96a2a82020-10-07 23:23:56 +08001/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17cc_library_static {
18 name: "libusbconfigfs-2",
19 vendor_available: true,
20 export_include_dirs: ["include"],
21
22 srcs: [
23 "UsbGadgetUtils.cpp",
24 "MonitorFfs.cpp",
25 ],
26
27 cflags: [
28 "-Wall",
29 "-Werror",
30 ],
31
32 shared_libs: [
33 "android.hardware.usb.gadget@1.0",
34 "android.hardware.usb.gadget@1.1",
35 "android.hardware.usb.gadget@1.2",
36 "libbase",
37 "libcutils",
38 "libhidlbase",
39 "libutils",
40 ],
41}