fix warnings in non-gpu builds
@@ -566,8 +566,8 @@ fn bindgen_gen(build: &FinalBuildConfiguration, current_dir: &Path, output_direc
.blacklist_type("GrRecordingContextPriv")
.raw_line("pub enum GrContextPriv {}")
.blacklist_type("GrContextPriv")
- .raw_line("fn GrContext_priv(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
- .raw_line("fn GrContext_priv1(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
+ .raw_line("#[allow(dead_code)] fn GrContext_priv(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
+ .raw_line("#[allow(dead_code)] fn GrContext_priv1(_: &GrContext) -> GrContextPriv { panic!(\"unexpected\") }")
.blacklist_function("GrContext_priv.*")
.raw_line("fn SkDeferredDisplayList_priv(_: &SkDeferredDisplayList) -> SkDeferredDisplayListPriv { panic!(\"unexpected\") }")
.raw_line("fn SkDeferredDisplayList_priv1(_: &SkDeferredDisplayList) -> SkDeferredDisplayListPriv { panic!(\"unexpected\") }")
