Add FromGNArgs() to gn_helpers.

This adds a method to convert a string containing a list of
gn --args -like assignments to a python dict.

(ToGNString() already supports the opposite direction).

R=brettw@chromium.org, hashimoto@chromium.org
BUG=561142

Review URL: https://codereview.chromium.org/1847333005

Cr-Commit-Position: refs/heads/master@{#385336}


CrOS-Libchrome-Original-Commit: 65d84dc0f629632d10687e2c85e8eea55362dc5d
2 files changed
tree: 42837f4608a9d7af317982a16ce679c45a0680b5
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/