blob: f8a73ad18be450843eb5b528e930e345f0aa7a83 [file] [log] [blame]
Dan Willemsena5c60172017-04-20 08:32:35 -07001//
2// Copyright (C) 2010 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
Bob Badourd69ad692021-02-16 19:02:14 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Dan Willemsena5c60172017-04-20 08:32:35 -070021cc_library {
22 name: "libusbhost",
Justin Yun6a7e8822017-07-24 15:19:45 +090023 vendor_available: true,
Dan Willemsena5c60172017-04-20 08:32:35 -070024 host_supported: true,
25 srcs: ["usbhost.c"],
26 cflags: ["-Werror"],
27 export_include_dirs: ["include"],
28 target: {
29 android: {
Elliott Hughesb8895392022-01-19 10:26:45 -080030 header_libs: ["jni_headers"],
Dan Willemsena5c60172017-04-20 08:32:35 -070031 shared_libs: ["liblog"],
Elliott Hughesb8895392022-01-19 10:26:45 -080032 srcs: ["usbhost_jni.cpp"],
Dan Willemsena5c60172017-04-20 08:32:35 -070033 },
34 darwin: {
35 enabled: false,
36 },
37 },
38}