Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Issue 11418310: Linux: update protoc wrapper to allow building with system protobuf. (Closed)

Created:
8 years ago by Paweł Hajdan Jr.
Modified:
8 years ago
Reviewers:
agl
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Linux: update protoc wrapper to allow building with system protobuf. Now when using system protobuf the wrapper copies all relevant .proto files to a temporary directory and removes parts not supported by system protobuf. No rewriting is done when using bundled protobuf (default). BUG=157155 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171015

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -9 lines) Patch
M build/protoc.gypi View 1 chunk +5 lines, -4 lines 0 comments Download
M tools/protoc_wrapper/protoc_wrapper.py View 1 3 chunks +54 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Paweł Hajdan Jr.
8 years ago (2012-12-04 17:07:49 UTC) #1
agl
lgtm https://codereview.chromium.org/11418310/diff/1/tools/protoc_wrapper/protoc_wrapper.py File tools/protoc_wrapper/protoc_wrapper.py (right): https://codereview.chromium.org/11418310/diff/1/tools/protoc_wrapper/protoc_wrapper.py#newcode6 tools/protoc_wrapper/protoc_wrapper.py:6: """A simple wrapper for protoc to add includes ...
8 years ago (2012-12-04 17:20:45 UTC) #2
Paweł Hajdan Jr.
8 years ago (2012-12-04 18:01:51 UTC) #3
https://codereview.chromium.org/11418310/diff/1/tools/protoc_wrapper/protoc_w...
File tools/protoc_wrapper/protoc_wrapper.py (right):

https://codereview.chromium.org/11418310/diff/1/tools/protoc_wrapper/protoc_w...
tools/protoc_wrapper/protoc_wrapper.py:6: """A simple wrapper for protoc to add
includes in generated cpp headers."""
On 2012/12/04 17:20:45, agl wrote:
> This comment may need updating to reflect the additional behaviour.

Done.

Powered by Google App Engine
This is Rietveld 408576698