Third-Party Import of: https://github.com/illiliti/libudev-zero.git
Request Document: go/android3p For CL Reviewers: go/android3p#reviewing-a-cl For Build Team: go/ab-third-party-imports Bug: http://b/413100836 Test: libudev-zero Original import of the code can be found at: https://googleplex-android.googlesource.com/platform/external/libudev-zero/+/refs/heads/third-party-review. Security Questionnaire: http://b/413100836#comment1 Change-Id: I17b30efbd9e0785dd8ccf8a7cb77017e166af9fb
This commit is contained in:
49
Android.bp
Normal file
49
Android.bp
Normal file
@@ -0,0 +1,49 @@
|
||||
package {
|
||||
default_applicable_licenses: ["external_libudev_zero_license"],
|
||||
}
|
||||
|
||||
license {
|
||||
name: "external_libudev_zero_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"SPDX-license-identifier-ISC",
|
||||
],
|
||||
license_text: [
|
||||
"LICENSE",
|
||||
],
|
||||
}
|
||||
|
||||
cc_genrule {
|
||||
name: "libudev_zero_copy_headers",
|
||||
srcs: ["udev.h"],
|
||||
out: ["libudev.h"],
|
||||
cmd: "cp $(in) $(out)",
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libudev-zero",
|
||||
visibility: [
|
||||
"//external/igt-gpu-tools",
|
||||
],
|
||||
srcs: [
|
||||
"udev.c",
|
||||
"udev_list.c",
|
||||
"udev_device.c",
|
||||
"udev_monitor.c",
|
||||
"udev_enumerate.c",
|
||||
],
|
||||
generated_headers: [
|
||||
"libudev_zero_copy_headers",
|
||||
],
|
||||
export_generated_headers: [
|
||||
"libudev_zero_copy_headers",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Wpedantic",
|
||||
"-Wmissing-prototypes",
|
||||
"-Wstrict-prototypes",
|
||||
"-Wno-unused-parameter",
|
||||
],
|
||||
}
|
||||
16
METADATA
Normal file
16
METADATA
Normal file
@@ -0,0 +1,16 @@
|
||||
name: "libudev-zero"
|
||||
description:
|
||||
"Drop-in replacement for libudev intended to work with any device manager"
|
||||
|
||||
third_party {
|
||||
homepage: "https://github.com/illiliti/libudev-zero"
|
||||
identifier {
|
||||
type: "Git"
|
||||
value: "https://github.com/illiliti/libudev-zero"
|
||||
primary_source: true
|
||||
version: "bbeb7ad51c1edb7ab3cf63f30a21e9bb383b7994"
|
||||
}
|
||||
version: "bbeb7ad51c1edb7ab3cf63f30a21e9bb383b7994"
|
||||
last_upgrade_date { year: 2025 month: 4 day: 28 }
|
||||
license_type: NOTICE
|
||||
}
|
||||
0
MODULE_LICENSE_ISC
Normal file
0
MODULE_LICENSE_ISC
Normal file
Reference in New Issue
Block a user