Note that in 1.3t, I established the convention of using GAIA_MEMORY_PROFILE=low at built time to get camera and gallery customizations.  That has been carried forward into master for the gallery. (See the build script in gallery).    Ideally, if that variable is set at build time, these two new variables would be set automatically.

Vendors can just create a custom config.js file for their devices. I'm thinking about gaia developers. If we're testing the camera on Tarako and on Flame (for example) we need an easy way to produce customized builds.  

I guess I'm saying that if gallery responds to a build time env variable and camera does not, that will be a bit of a pain in the ass.  But we don't have to fix that now.