xref: /aosp_15_r20/external/e2fsprogs/lib/uuid/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 Workerpackage {
4*6a54128fSAndroid Build Coastguard Worker    default_applicable_licenses: ["external_e2fsprogs_lib_uuid_license"],
5*6a54128fSAndroid Build Coastguard Worker}
6*6a54128fSAndroid Build Coastguard Worker
7*6a54128fSAndroid Build Coastguard Worker// Added automatically by a large-scale-change
8*6a54128fSAndroid Build Coastguard Worker// See: http://go/android-license-faq
9*6a54128fSAndroid Build Coastguard Workerlicense {
10*6a54128fSAndroid Build Coastguard Worker    name: "external_e2fsprogs_lib_uuid_license",
11*6a54128fSAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
12*6a54128fSAndroid Build Coastguard Worker    license_kinds: [
13*6a54128fSAndroid Build Coastguard Worker        "SPDX-license-identifier-BSD",
14*6a54128fSAndroid Build Coastguard Worker    ],
15*6a54128fSAndroid Build Coastguard Worker    license_text: [
16*6a54128fSAndroid Build Coastguard Worker        "COPYING",
17*6a54128fSAndroid Build Coastguard Worker    ],
18*6a54128fSAndroid Build Coastguard Worker}
19*6a54128fSAndroid Build Coastguard Worker
20*6a54128fSAndroid Build Coastguard Workercc_library {
21*6a54128fSAndroid Build Coastguard Worker    name: "libext2_uuid",
22*6a54128fSAndroid Build Coastguard Worker    host_supported: true,
23*6a54128fSAndroid Build Coastguard Worker    ramdisk_available: true,
24*6a54128fSAndroid Build Coastguard Worker    vendor_ramdisk_available: true,
25*6a54128fSAndroid Build Coastguard Worker    recovery_available: true,
26*6a54128fSAndroid Build Coastguard Worker    vendor_available: true,
27*6a54128fSAndroid Build Coastguard Worker    product_available: true,
28*6a54128fSAndroid Build Coastguard Worker    unique_host_soname: true,
29*6a54128fSAndroid Build Coastguard Worker    defaults: ["e2fsprogs-defaults"],
30*6a54128fSAndroid Build Coastguard Worker    srcs: [
31*6a54128fSAndroid Build Coastguard Worker        "clear.c",
32*6a54128fSAndroid Build Coastguard Worker        "compare.c",
33*6a54128fSAndroid Build Coastguard Worker        "copy.c",
34*6a54128fSAndroid Build Coastguard Worker        "gen_uuid.c",
35*6a54128fSAndroid Build Coastguard Worker        "isnull.c",
36*6a54128fSAndroid Build Coastguard Worker        "pack.c",
37*6a54128fSAndroid Build Coastguard Worker        "parse.c",
38*6a54128fSAndroid Build Coastguard Worker        "unpack.c",
39*6a54128fSAndroid Build Coastguard Worker        "unparse.c",
40*6a54128fSAndroid Build Coastguard Worker        "uuid_time.c",
41*6a54128fSAndroid Build Coastguard Worker    ],
42*6a54128fSAndroid Build Coastguard Worker    target: {
43*6a54128fSAndroid Build Coastguard Worker        darwin: {
44*6a54128fSAndroid Build Coastguard Worker            enabled: true,
45*6a54128fSAndroid Build Coastguard Worker        },
46*6a54128fSAndroid Build Coastguard Worker        windows: {
47*6a54128fSAndroid Build Coastguard Worker            enabled: true,
48*6a54128fSAndroid Build Coastguard Worker        },
49*6a54128fSAndroid Build Coastguard Worker    },
50*6a54128fSAndroid Build Coastguard Worker    header_libs: ["libext2-headers"],
51*6a54128fSAndroid Build Coastguard Worker    export_include_dirs: ["."],
52*6a54128fSAndroid Build Coastguard Worker    export_header_lib_headers: ["libext2-headers"],
53*6a54128fSAndroid Build Coastguard Worker    apex_available: [
54*6a54128fSAndroid Build Coastguard Worker        "//apex_available:platform",
55*6a54128fSAndroid Build Coastguard Worker        "com.android.virt",
56*6a54128fSAndroid Build Coastguard Worker    ],
57*6a54128fSAndroid Build Coastguard Worker}
58