1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5cc_library { 6 name: "libdiskconfig", 7 vendor_available: true, 8 vndk: { 9 enabled: true, 10 }, 11 srcs: [ 12 "diskconfig.c", 13 "diskutils.c", 14 "write_lst.c", 15 "config_mbr.c", 16 ], 17 18 shared_libs: [ 19 "libcutils", 20 "liblog", 21 ], 22 cflags: ["-Werror"], 23 export_include_dirs: ["include"], 24 local_include_dirs: ["include"], 25 26 target: { 27 darwin: { 28 enabled: false, 29 }, 30 linux_glibc: { 31 cflags: [ 32 "-O2", 33 "-g", 34 "-W", 35 "-Wall", 36 "-D_LARGEFILE64_SOURCE", 37 ], 38 }, 39 }, 40} 41