package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

cc_binary {
    name: "dump_power",
    srcs: ["dump_power.cpp"],
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    shared_libs: [
        "libbase",
        "libdump",
        "libdumpstateutil",
    ],
    vendor: true,
    relative_install_path: "dump",
    init_rc: ["dump_power.rc"],
}

sh_binary {
    name: "dump_gsa.sh",
    src: "dump_gsa.sh",
    vendor: true,
    sub_dir: "dump",
}

