[Nix] Support building Android through gradle on Linux
Summary:
Pick some of the relevant work from
https://phab.comm.dev/D4433 which can be used to
build android
Test Plan:
From a x86_64-linux machine:
Follow existing directions to download android sdk and ndk
nix develop yarn cleaninstall # download node_modules cd native/android && ./gradlew bundleRelease --no-daemon
Reviewers: ashoat, varun
Reviewed By: ashoat, varun
Subscribers: ashoat, tomek, adrian, abosh
Differential Revision: https://phab.comm.dev/D4483