xref: /aosp_15_r20/external/e2fsprogs/lib/ss/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-0BSD
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_ss",
15*6a54128fSAndroid Build Coastguard Worker    host_supported: true,
16*6a54128fSAndroid Build Coastguard Worker    unique_host_soname: true,
17*6a54128fSAndroid Build Coastguard Worker    defaults: ["e2fsprogs-defaults"],
18*6a54128fSAndroid Build Coastguard Worker    srcs: [
19*6a54128fSAndroid Build Coastguard Worker        "ss_err.c",
20*6a54128fSAndroid Build Coastguard Worker        "std_rqs.c",
21*6a54128fSAndroid Build Coastguard Worker        "invocation.c",
22*6a54128fSAndroid Build Coastguard Worker        "help.c",
23*6a54128fSAndroid Build Coastguard Worker        "execute_cmd.c",
24*6a54128fSAndroid Build Coastguard Worker        "listen.c",
25*6a54128fSAndroid Build Coastguard Worker        "parse.c",
26*6a54128fSAndroid Build Coastguard Worker        "error.c",
27*6a54128fSAndroid Build Coastguard Worker        "prompt.c",
28*6a54128fSAndroid Build Coastguard Worker        "request_tbl.c",
29*6a54128fSAndroid Build Coastguard Worker        "list_rqs.c",
30*6a54128fSAndroid Build Coastguard Worker        "pager.c",
31*6a54128fSAndroid Build Coastguard Worker        "requests.c",
32*6a54128fSAndroid Build Coastguard Worker        "data.c",
33*6a54128fSAndroid Build Coastguard Worker        "get_readline.c",
34*6a54128fSAndroid Build Coastguard Worker    ],
35*6a54128fSAndroid Build Coastguard Worker    shared_libs: ["libext2_com_err"],
36*6a54128fSAndroid Build Coastguard Worker    header_libs: ["libext2-headers"],
37*6a54128fSAndroid Build Coastguard Worker    export_include_dirs: ["."],
38*6a54128fSAndroid Build Coastguard Worker    export_header_lib_headers: ["libext2-headers"],
39*6a54128fSAndroid Build Coastguard Worker}
40