X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lib%2Fblkid%2FAndroid.bp;h=eb5ae48a5ec93b09d1b876da25bebf9669428a52;hb=9892631d0426ac07aceb1939cf0430481461dd63;hp=2455d39049f25d617b794db14c3fa47f87d06d5e;hpb=182fa0cd61fe706c2eaa308e1c30688f20b946a9;p=tools%2Fe2fsprogs.git diff --git a/lib/blkid/Android.bp b/lib/blkid/Android.bp index 2455d39..eb5ae48 100644 --- a/lib/blkid/Android.bp +++ b/lib/blkid/Android.bp @@ -1,9 +1,26 @@ // Copyright 2017 The Android Open Source Project +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_e2fsprogs_license" + // to get the below license kinds: + // SPDX-license-identifier-GPL + // SPDX-license-identifier-LGPL + // SPDX-license-identifier-LGPL-2.1 + // SPDX-license-identifier-LGPL-3.0 + default_applicable_licenses: ["external_e2fsprogs_license"], +} + cc_library { name: "libext2_blkid", host_supported: true, + ramdisk_available: true, + vendor_available: true, + vendor_ramdisk_available: true, + recovery_available: true, unique_host_soname: true, + defaults: ["e2fsprogs-defaults"], srcs: [ "cache.c", "dev.c", @@ -35,8 +52,9 @@ cc_library { }, cflags: [ - "-W", - "-Wall", + "-Wno-error=attributes", + "-Wno-error=pointer-sign", + "-Wno-unused-parameter", "-fno-strict-aliasing", ],