Jeff Vander Stoep | ea7d1ef | 2020-10-15 21:33:50 +0200 | [diff] [blame^] | 1 | diff --git a/src/lib.rs b/src/lib.rs |
| 2 | index 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 | |