1diff --git a/src/lib.rs b/src/lib.rs
2index dc0699c..0d582d7 100644
3--- a/src/lib.rs
4+++ b/src/lib.rs
5@@ -5,7 +5,12 @@
6 #![allow(non_upper_case_globals)]
7 #[allow(clippy::all)]
8 mod bindings {
9+    #[cfg(not(soong))]
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+    #[cfg(soong)]
14+    include!(concat!(env!("OUT_DIR"), "/grpc-bindings.rs"));
15 }
16 mod grpc_wrap;
17
18