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
1 changed files with 4 additions and 4 deletions

View File

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