You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "services.usb-sources",
|
|
srcs: ["java/**/*.java"],
|
|
path: "java",
|
|
visibility: ["//frameworks/base/services"],
|
|
}
|
|
|
|
java_library_static {
|
|
name: "services.usb",
|
|
defaults: ["platform_service_defaults"],
|
|
srcs: [":services.usb-sources"],
|
|
|
|
libs: [
|
|
"services.core",
|
|
"android.hidl.manager-V1.0-java",
|
|
],
|
|
|
|
static_libs: [
|
|
"android.hardware.usb-V1.0-java",
|
|
"android.hardware.usb-V1.1-java",
|
|
"android.hardware.usb-V1.2-java",
|
|
"android.hardware.usb-V1.3-java",
|
|
"android.hardware.usb.gadget-V1.0-java",
|
|
"android.hardware.usb.gadget-V1.1-java",
|
|
"android.hardware.usb.gadget-V1.2-java",
|
|
],
|
|
}
|