Paste Search Dynamic
Recent pastes
Distribute android execution c
  1.  
  2.     source build/make/rbesetup.sh
  3.     ulimit -n 20000
  4.  
  5.     export RBE_service=<hostname>:<port, typically 443>
  6.     export RBE_tls_ca_cert=certificate.crt <-- depends on what TLS cert is in use on the service
  7.     export RBE_use_rpc_credentials=false <-- depends on how you do client authentication
  8.     export RBE_JAVA_POOL=default
  9.     export RBE_METALAVA_POOL=default
  10.     export RBE_ABI_DUMPER=1
  11.     export RBE_ABI_LINKER=1
  12.     export RBE_CLANG_TIDY=1
  13.     export RBE_CXX_LINKS=1
  14.     export RBE_D8=1
  15.     export RBE_JAVAC=1
  16.     export RBE_METALAVA=1
  17.     export RBE_R8=1
  18.     export RBE_SIGNAPK=1
  19.     export RBE_TURBINE=1
  20.     export RBE_ZIP=1
  21.  
  22.     export RBE_ABI_DUMPER_EXEC_STRATEGY=remote_local_fallback
  23.     export RBE_ABI_LINKER_EXEC_STRATEGY=remote_local_fallback
  24.     export RBE_CXX_EXEC_STRATEGY=remote_local_fallback
  25.     export RBE_CXX_LINKS_EXEC_STRATEGY=remote_local_fallback
  26.     export RBE_CLANG_TIDY_EXEC_STRATEGY=remote_local_fallback
  27.     export RBE_D8_EXEC_STRATEGY=remote
  28.     export RBE_JAR_EXEC_STRATEGY=remote_local_fallback
  29.     export RBE_JAVAC_EXEC_STRATEGY=remote
  30.     export RBE_SIGNAPK_EXEC_STRATEGY=remote_local_fallback
  31.     export RBE_TURBINE_EXEC_STRATEGY=remote_local_fallback
  32.     export RBE_R8_EXEC_STRATEGY=remote
  33.     export RBE_ZIP_EXEC_STRATEGY=remote_local_fallback
  34.     export RBE_METALAVA_EXEC_STRATEGY=remote_local_fallback
  35.  
  36. You can also adjust the number of remote actions like so:
  37.     export NINJA_REMOTE_NUM_JOBS=8
  38.  
  39. You may need to run a Docker registry, or you can pull images from GCR.
  40.  
  41. And then you can use the `m` tool as usual
  42.     mmma external/sqlite/
  43.     m
Parsed in 0.002 seconds