1 // Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0. 2 3 #![allow(non_camel_case_types)] 4 #![allow(non_snake_case)] 5 #![allow(non_upper_case_globals)] 6 #[allow(clippy::all)] 7 mod bindings { 8 #[cfg(not(soong))] 9 include!(env!("BINDING_PATH")); 10 // ANDROID's build system doesn't support environment variables 11 // so we hardcode the output location of the bindings here. 12 #[cfg(soong)] 13 include!(concat!(env!("OUT_DIR"), "/grpc-bindings.rs")); 14 } 15 mod grpc_wrap; 16 17 pub use bindings::*; 18 pub use grpc_wrap::*; 19