// This file is generated by cargo2android.py --run --copy-out --dependencies. | |
genrule { | |
name: "copy_const_fn_build_out", | |
srcs: ["out/*"], | |
cmd: "cp $(in) $(genDir)", | |
out: ["version.rs"], | |
} | |
rust_proc_macro { | |
name: "libconst_fn", | |
crate_name: "const_fn", | |
srcs: [ | |
"src/lib.rs", | |
":copy_const_fn_build_out", | |
], | |
edition: "2018", | |
flags: [ | |
"--cfg const_fn_has_build_script", | |
], | |
} |