xref: /aosp_15_r20/external/e2fsprogs/contrib/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    // 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-Apache-2.0
9*6a54128fSAndroid Build Coastguard Worker    //   SPDX-license-identifier-GPL
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 Workersubdirs = ["android"]
14*6a54128fSAndroid Build Coastguard Worker
15*6a54128fSAndroid Build Coastguard Worker//########################################################################
16*6a54128fSAndroid Build Coastguard Worker// Build add_ext4_encrypt
17*6a54128fSAndroid Build Coastguard Worker
18*6a54128fSAndroid Build Coastguard Workercc_binary {
19*6a54128fSAndroid Build Coastguard Worker    name: "add_ext4_encrypt",
20*6a54128fSAndroid Build Coastguard Worker    host_supported: true,
21*6a54128fSAndroid Build Coastguard Worker    defaults: ["e2fsprogs-defaults"],
22*6a54128fSAndroid Build Coastguard Worker
23*6a54128fSAndroid Build Coastguard Worker    srcs: ["add_ext4_encrypt.c"],
24*6a54128fSAndroid Build Coastguard Worker    shared_libs: [
25*6a54128fSAndroid Build Coastguard Worker        "libext2fs",
26*6a54128fSAndroid Build Coastguard Worker        "libext2_com_err",
27*6a54128fSAndroid Build Coastguard Worker    ],
28*6a54128fSAndroid Build Coastguard Worker}
29