User-definable configuration is coming to Starlark!
This makes it possible to:
--define][define]--compilation_mode=opt or --cpu=arm)//my:android_app with a specified SDK)and more, all completely from .bzl files (no Bazel release required).
As of Q2'19, this effort is [partially rolled out] (https://github.com/bazelbuild/bazel/issues/5574#issuecomment-458349702) to Bazel and Bazel. Much functionality is guarded while we work out concerns about