Add support for generating JS protos

Adds support for generating JS protos so that
the Kaleidoscope UI can deserialize the protos
from the Google API.

The generated code needs the protobuf JS library
which depends on parts of the closure library so
we add that to third_party.

BUG=1087037

Change-Id: Iee388e02f0ffcc0d1108a7f816da9f88c01fa58b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218554
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Leonard Grey <lgrey@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#777486}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1791b0b1e19153c5165f3d1afc04aeaa0e8f8726
1 file changed
tree: 7ff9f8975f7b65f4aa235214e2a46bfbe3302b8c
  1. protoc_convert.py
  2. protoc_wrapper.py
  3. protoc_wrapper_test.py