1// Copyright 2017 The Android Open Source Project 2 3cc_library { 4 name: "libext2_uuid", 5 host_supported: true, 6 ramdisk_available: true, 7 recovery_available: true, 8 vendor_available: true, 9 unique_host_soname: true, 10 defaults: ["e2fsprogs-defaults"], 11 srcs: [ 12 "clear.c", 13 "compare.c", 14 "copy.c", 15 "gen_uuid.c", 16 "isnull.c", 17 "pack.c", 18 "parse.c", 19 "unpack.c", 20 "unparse.c", 21 "uuid_time.c", 22 ], 23 cflags: [ 24 "-Wno-unused-function", 25 "-Wno-unused-parameter", 26 ], 27 target: { 28 windows: { 29 // Cannot suppress the _WIN32_WINNT redefined warning. 30 cflags: ["-Wno-error"], 31 include_dirs: [ "external/e2fsprogs/include/mingw" ], 32 enabled: true 33 }, 34 }, 35 header_libs: ["libext2-headers"], 36 export_include_dirs: ["."], 37 export_header_lib_headers: ["libext2-headers"], 38} 39