blob: f6155c511f2a8f2e2792f843472e52018be4323d [file] [log] [blame]
Jeff Vander Stoepea7d1ef2020-10-15 21:33:50 +02001diff --git a/src/lib.rs b/src/lib.rs
2index dc0699c..bd4e4fa 100644
3--- a/src/lib.rs
4+++ b/src/lib.rs
5@@ -5,7 +5,10 @@
6 #![allow(non_upper_case_globals)]
7 #[allow(clippy::all)]
8 mod bindings {
9- include!(env!("BINDING_PATH"));
10+ //include!(env!("BINDING_PATH"));
11+ // ANDROID's build system doesn't support environment variables
12+ // so we hardcode the output location of the bindings here.
13+ include!(concat!(env!("OUT_DIR"), "/grpc-bindings.rs"));
14 }
15 mod grpc_wrap;
16