Option added to protobuf build for import directories

Protobuf library GNI does not let BUILD.gn define directories outside the base directory of the source files to be used for importing proto files in source proto files. This is resolved by adding an extra optional parameter that specifies the directories from which proto files are imported.

BUG=683143

Review-Url: https://codereview.chromium.org/2646123002
Cr-Original-Commit-Position: refs/heads/master@{#450309}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c4b1788e3e0010560d6a064433f4f99afae5fda
1 file changed
tree: 51d2d05ccf95891e7dccd332d65aae31c51eea22
  1. protoc_wrapper.py