xref: /aosp_15_r20/external/e2fsprogs/lib/Android.bp (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Worker// Copyright 2017 The Android Open Source Project
2*6a54128fSAndroid Build Coastguard Worker
3*6a54128fSAndroid Build Coastguard Worker// All the libraries under this directory export their headers as relative
4*6a54128fSAndroid Build Coastguard Worker// paths to this directory (external/e2fsprogs/lib). This is a helper headers
5*6a54128fSAndroid Build Coastguard Worker// only library to allow exporting
6*6a54128fSAndroid Build Coastguard Workerpackage {
7*6a54128fSAndroid Build Coastguard Worker    // See: http://go/android-license-faq
8*6a54128fSAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
9*6a54128fSAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_e2fsprogs_license"
10*6a54128fSAndroid Build Coastguard Worker    // to get the below license kinds:
11*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-0BSD
12*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-BSD
13*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-GPL
14*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-GPL-2.0
15*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-LGPL
16*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-LGPL-2.1
17*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-LGPL-3.0
18*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-MIT
19*6a54128fSAndroid Build Coastguard Worker    //   legacy_unencumbered
20*6a54128fSAndroid Build Coastguard Worker    default_applicable_licenses: ["external_e2fsprogs_license"],
21*6a54128fSAndroid Build Coastguard Worker}
22*6a54128fSAndroid Build Coastguard Worker
23*6a54128fSAndroid Build Coastguard Workercc_library_headers {
24*6a54128fSAndroid Build Coastguard Worker    name: "libext2-headers",
25*6a54128fSAndroid Build Coastguard Worker    host_supported: true,
26*6a54128fSAndroid Build Coastguard Worker    vendor_available: true,
27*6a54128fSAndroid Build Coastguard Worker    product_available: true,
28*6a54128fSAndroid Build Coastguard Worker    ramdisk_available: true,
29*6a54128fSAndroid Build Coastguard Worker    vendor_ramdisk_available: true,
30*6a54128fSAndroid Build Coastguard Worker    recovery_available: true,
31*6a54128fSAndroid Build Coastguard Worker    target: {
32*6a54128fSAndroid Build Coastguard Worker        windows: {
33*6a54128fSAndroid Build Coastguard Worker            enabled: true,
34*6a54128fSAndroid Build Coastguard Worker        },
35*6a54128fSAndroid Build Coastguard Worker    },
36*6a54128fSAndroid Build Coastguard Worker    export_include_dirs: ["."],
37*6a54128fSAndroid Build Coastguard Worker    apex_available: [
38*6a54128fSAndroid Build Coastguard Worker        "//apex_available:platform",
39*6a54128fSAndroid Build Coastguard Worker        "com.android.virt",
40*6a54128fSAndroid Build Coastguard Worker    ],
41*6a54128fSAndroid Build Coastguard Worker}
42*6a54128fSAndroid Build Coastguard Worker
43*6a54128fSAndroid Build Coastguard Workersubdirs = [
44*6a54128fSAndroid Build Coastguard Worker    "*",
45*6a54128fSAndroid Build Coastguard Worker]
46