Use the new more inclusive command-line options.

Test: Compile
Change-Id: I31a33d5432470fb57edc17751536fe1ae98e6838
This commit is contained in:
Joel Galenson 2021-04-19 09:15:01 -07:00
parent 4a3ab034c6
commit b453e63715

View file

@ -25,10 +25,10 @@ rust_bindgen {
source_stem: "bindings", source_stem: "bindings",
bindgen_flags: [ bindgen_flags: [
"--size_t-is-usize", "--size_t-is-usize",
"--whitelist-function=AStatsEventList_addStatsEvent", "--allowlist-function=AStatsEventList_addStatsEvent",
"--whitelist-function=AStatsEvent_.*", "--allowlist-function=AStatsEvent_.*",
"--whitelist-function=AStatsManager_.*", "--allowlist-function=AStatsManager_.*",
"--whitelist-var=AStatsManager_.*", "--allowlist-var=AStatsManager_.*",
], ],
target: { target: {
android: { android: {