// Copyright 2017 The Android Open Source Project

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_e2fsprogs_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-0BSD
    //   SPDX-license-identifier-MIT
    default_applicable_licenses: ["external_e2fsprogs_license"],
}

cc_library {
    name: "libext2_ss",
    host_supported: true,
    unique_host_soname: true,
    defaults: ["e2fsprogs-defaults"],
    srcs: [
        "ss_err.c",
        "std_rqs.c",
        "invocation.c",
        "help.c",
        "execute_cmd.c",
        "listen.c",
        "parse.c",
        "error.c",
        "prompt.c",
        "request_tbl.c",
        "list_rqs.c",
        "pager.c",
        "requests.c",
        "data.c",
        "get_readline.c",
    ],
    shared_libs: ["libext2_com_err"],
    header_libs: ["libext2-headers"],
    export_include_dirs: ["."],
    export_header_lib_headers: ["libext2-headers"],
}
