1*6a54128fSAndroid Build Coastguard Worker// Copyright 2017 The Android Open Source Project 2*6a54128fSAndroid Build Coastguard Worker 3*6a54128fSAndroid Build Coastguard Workerpackage { 4*6a54128fSAndroid Build Coastguard Worker // See: http://go/android-license-faq 5*6a54128fSAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 6*6a54128fSAndroid Build Coastguard Worker // all of the 'license_kinds' from "external_e2fsprogs_license" 7*6a54128fSAndroid Build Coastguard Worker // to get the below license kinds: 8*6a54128fSAndroid Build Coastguard Worker // SPDX-license-identifier-GPL 9*6a54128fSAndroid Build Coastguard Worker // SPDX-license-identifier-MIT 10*6a54128fSAndroid Build Coastguard Worker default_applicable_licenses: ["external_e2fsprogs_license"], 11*6a54128fSAndroid Build Coastguard Worker} 12*6a54128fSAndroid Build Coastguard Worker 13*6a54128fSAndroid Build Coastguard Workercc_library { 14*6a54128fSAndroid Build Coastguard Worker name: "libext2_quota", 15*6a54128fSAndroid Build Coastguard Worker host_supported: true, 16*6a54128fSAndroid Build Coastguard Worker ramdisk_available: true, 17*6a54128fSAndroid Build Coastguard Worker vendor_ramdisk_available: true, 18*6a54128fSAndroid Build Coastguard Worker vendor_available: true, 19*6a54128fSAndroid Build Coastguard Worker recovery_available: true, 20*6a54128fSAndroid Build Coastguard Worker unique_host_soname: true, 21*6a54128fSAndroid Build Coastguard Worker defaults: ["e2fsprogs-defaults"], 22*6a54128fSAndroid Build Coastguard Worker srcs: [ 23*6a54128fSAndroid Build Coastguard Worker "devname.c", 24*6a54128fSAndroid Build Coastguard Worker "dict.c", 25*6a54128fSAndroid Build Coastguard Worker "mkquota.c", 26*6a54128fSAndroid Build Coastguard Worker "parse_qtype.c", 27*6a54128fSAndroid Build Coastguard Worker "plausible.c", 28*6a54128fSAndroid Build Coastguard Worker "profile.c", 29*6a54128fSAndroid Build Coastguard Worker "profile_helpers.c", 30*6a54128fSAndroid Build Coastguard Worker "prof_err.c", 31*6a54128fSAndroid Build Coastguard Worker "quotaio.c", 32*6a54128fSAndroid Build Coastguard Worker "quotaio_tree.c", 33*6a54128fSAndroid Build Coastguard Worker "quotaio_v2.c", 34*6a54128fSAndroid Build Coastguard Worker ], 35*6a54128fSAndroid Build Coastguard Worker shared_libs: [ 36*6a54128fSAndroid Build Coastguard Worker "libext2fs", 37*6a54128fSAndroid Build Coastguard Worker "libext2_blkid", 38*6a54128fSAndroid Build Coastguard Worker "libext2_com_err", 39*6a54128fSAndroid Build Coastguard Worker ], 40*6a54128fSAndroid Build Coastguard Worker 41*6a54128fSAndroid Build Coastguard Worker target: { 42*6a54128fSAndroid Build Coastguard Worker windows: { 43*6a54128fSAndroid Build Coastguard Worker enabled: true, 44*6a54128fSAndroid Build Coastguard Worker }, 45*6a54128fSAndroid Build Coastguard Worker }, 46*6a54128fSAndroid Build Coastguard Worker 47*6a54128fSAndroid Build Coastguard Worker header_libs: ["libext2-headers"], 48*6a54128fSAndroid Build Coastguard Worker export_include_dirs: ["."], 49*6a54128fSAndroid Build Coastguard Worker export_header_lib_headers: ["libext2-headers"], 50*6a54128fSAndroid Build Coastguard Worker} 51*6a54128fSAndroid Build Coastguard Worker 52*6a54128fSAndroid Build Coastguard Workercc_library_shared { 53*6a54128fSAndroid Build Coastguard Worker name: "libext2_profile", 54*6a54128fSAndroid Build Coastguard Worker host_supported: true, 55*6a54128fSAndroid Build Coastguard Worker unique_host_soname: true, 56*6a54128fSAndroid Build Coastguard Worker defaults: ["e2fsprogs-defaults"], 57*6a54128fSAndroid Build Coastguard Worker 58*6a54128fSAndroid Build Coastguard Worker srcs: [ 59*6a54128fSAndroid Build Coastguard Worker "prof_err.c", 60*6a54128fSAndroid Build Coastguard Worker "profile.c", 61*6a54128fSAndroid Build Coastguard Worker ], 62*6a54128fSAndroid Build Coastguard Worker shared_libs: ["libext2_com_err"], 63*6a54128fSAndroid Build Coastguard Worker 64*6a54128fSAndroid Build Coastguard Worker header_libs: ["libext2-headers"], 65*6a54128fSAndroid Build Coastguard Worker export_include_dirs: ["."], 66*6a54128fSAndroid Build Coastguard Worker export_header_lib_headers: ["libext2-headers"], 67*6a54128fSAndroid Build Coastguard Worker} 68*6a54128fSAndroid Build Coastguard Worker 69*6a54128fSAndroid Build Coastguard Workercc_library { 70*6a54128fSAndroid Build Coastguard Worker name: "libext2_support", 71*6a54128fSAndroid Build Coastguard Worker host_supported: true, 72*6a54128fSAndroid Build Coastguard Worker defaults: ["e2fsprogs-defaults"], 73*6a54128fSAndroid Build Coastguard Worker 74*6a54128fSAndroid Build Coastguard Worker srcs: [ 75*6a54128fSAndroid Build Coastguard Worker "cstring.c", 76*6a54128fSAndroid Build Coastguard Worker ], 77*6a54128fSAndroid Build Coastguard Worker header_libs: ["libext2-headers"], 78*6a54128fSAndroid Build Coastguard Worker export_include_dirs: ["."], 79*6a54128fSAndroid Build Coastguard Worker} 80