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.
62 lines
1.5 KiB
62 lines
1.5 KiB
// Copyright 2017 The Android Open Source Project
|
|
|
|
package {
|
|
default_applicable_licenses: ["external_e2fsprogs_lib_uuid_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "external_e2fsprogs_lib_uuid_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-BSD",
|
|
],
|
|
license_text: [
|
|
"COPYING",
|
|
],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libext2_uuid",
|
|
host_supported: true,
|
|
ramdisk_available: true,
|
|
vendor_ramdisk_available: true,
|
|
recovery_available: true,
|
|
vendor_available: true,
|
|
product_available: true,
|
|
unique_host_soname: true,
|
|
defaults: ["e2fsprogs-defaults"],
|
|
srcs: [
|
|
"clear.c",
|
|
"compare.c",
|
|
"copy.c",
|
|
"gen_uuid.c",
|
|
"isnull.c",
|
|
"pack.c",
|
|
"parse.c",
|
|
"unpack.c",
|
|
"unparse.c",
|
|
"uuid_time.c",
|
|
],
|
|
cflags: [
|
|
"-Wno-unused-function",
|
|
"-Wno-unused-parameter",
|
|
],
|
|
target: {
|
|
windows: {
|
|
// Cannot suppress the _WIN32_WINNT redefined warning.
|
|
cflags: ["-Wno-error"],
|
|
include_dirs: [ "external/e2fsprogs/include/mingw" ],
|
|
enabled: true
|
|
},
|
|
},
|
|
header_libs: ["libext2-headers"],
|
|
export_include_dirs: ["."],
|
|
export_header_lib_headers: ["libext2-headers"],
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.virt",
|
|
],
|
|
}
|