1// Copyright 2017 The Android Open Source Project 2 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "external_e2fsprogs_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-0BSD 9 // SPDX-license-identifier-BSD 10 // SPDX-license-identifier-GPL-2.0 11 // SPDX-license-identifier-MIT 12 default_applicable_licenses: ["external_e2fsprogs_license"], 13} 14 15cc_library { 16 name: "libext2_com_err", 17 host_supported: true, 18 ramdisk_available: true, 19 vendor_ramdisk_available: true, 20 recovery_available: true, 21 unique_host_soname: true, 22 defaults: ["e2fsprogs-defaults"], 23 srcs: [ 24 "error_message.c", 25 "et_name.c", 26 "init_et.c", 27 "com_err.c", 28 "com_right.c", 29 ], 30 31 target: { 32 windows: { 33 enabled: true, 34 cflags: [ 35 "-Wno-unused-variable", 36 ], 37 }, 38 }, 39 40 header_libs: ["libext2-headers"], 41 export_include_dirs: ["."], 42 export_header_lib_headers: ["libext2-headers"], 43} 44