commit | f4399878619d8e89a529c2b53b7c2426f8b1a6a5 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Tue Aug 18 13:23:59 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Tue Aug 18 13:23:59 2015 -0700 |
tree | 8ce2a3d6f8104466cf339ce825b4412e6fe78f1b | |
parent | 1a0dec0b60462a42419a11c329677ed0ceb2b9da [diff] |
Mojo: Parse command line flags from a variable set at build-time. We were parsing flags from an environment variable, but that won't work on Android. This approach is very flexible. Any time we build a new binary, we can determine what flags to run with. I considered parsing flags from the url parameters, but that doesn't seem right because the client should not dictate what settings the service runs with. It also had implications for caching. I also considered fetching a config file via HTTP and parsing the flags from that, but that didn't work because there's no way to tell where the http server will be running at this point in the code. Change-Id: I7c438cdc2d134bf3a509d18b8b152c5064e2329c
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.