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

cc_library {
    name: "libpackagelistparser",
    ramdisk_available: true,
    vendor_ramdisk_available: true,
    recovery_available: true,
    srcs: ["packagelistparser.cpp"],
    shared_libs: ["liblog"],
    local_include_dirs: ["include"],
    export_include_dirs: ["include"],

    sanitize: {
        misc_undefined: ["integer"],
    },
}

cc_test {
    name: "libpackagelistparser_test",
    srcs: ["packagelistparser_test.cpp"],
    shared_libs: [
        "libbase",
        "libpackagelistparser",
    ],
    test_suites: ["device-tests"],
    require_root: true,
}
