]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/uuid/Android.bp
AOSP: Android: run bpfmt on all bp files
[thirdparty/e2fsprogs.git] / lib / uuid / Android.bp
index b560969120a18dfdd9b3365758cb715e1821726a..3e6048d0949cea37bc9193f2fc0abb17bec1f362 100644 (file)
@@ -1,5 +1,22 @@
 // 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,
@@ -22,16 +39,9 @@ cc_library {
         "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
+            enabled: true,
         },
     },
     header_libs: ["libext2-headers"],