Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9610eecb authored by Ethan Chen's avatar Ethan Chen Committed by LuK1337
Browse files

Revert "Android.bp: Initial header export bp for Android (qseecom only)"

This reverts commit ac007db2d55b0569860a86e741ef19de1e8a65d9.

Change-Id: I7788582bdc3576d25c64e5c9ab3d7a51340a1eba
parent bdc5b08b
Loading
Loading
Loading
Loading

Android.bp

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
cc_binary_host {
    name: "unifdef",
    srcs: ["scripts/unifdef.c"],
    sanitize: {
        never: true,
    }
}

gensrcs {
    name: "qseecom-kernel-includes",

    // move to out/ as root for header generation because of scripts/unifdef
    // storage - at the expense of extra ../ references
    cmd: "pushd out && mkdir -p scripts && rm -f scripts/unifdef && ln -s ../../$(location unifdef) scripts/unifdef && ../$(location scripts/headers_install.sh) `dirname ../$(out)` ../ $(in) && popd",

    tools: ["unifdef"],
    tool_files: ["scripts/headers_install.sh"],
    export_include_dirs: ["include/uapi"],
    srcs: ["include/uapi/linux/qseecom.h"],
    output_extension: "h",
}

cc_library_headers {
    name: "qseecom-kernel-headers",
    generated_headers: ["qseecom-kernel-includes"],
    export_generated_headers: ["qseecom-kernel-includes"],
}