Figure out how we're building Bazel and make the code work with it

Change-Id: Iac0abca9e34ebf9d8f41f6f5a5803f54ca2b8beb
5 files changed