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

Issue 11316370: [sync] Componentize sync: Part 4: Fix includes in third_party/protobuf (Closed)

Created:
8 years ago by Raghu Simha
Modified:
8 years ago
Reviewers:
Dirk Pranke, akalin, Wez, Lambros, agl, sky
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[sync] Componentize sync: Part 4: Fix includes in third_party/protobuf Various chrome components depend on third_party/protobuf:protobuf_lite, and in order to move to component builds, third_party/protobuf:protobuf_lite must support component builds. As of today, there are a few incorrect includes and a few missing exports in third_party that block this. This patch corrects instances of incorrect includes of headers from third_party/protobuf.gyp:protobuf_full_do_not_use, and replaces them with correct includes from third_party/protobuf.gyp:protobuf_lite BUG=136928 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173228

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR Feedback #

Patch Set 3 : Add missing exports to content/browser/speech/proto/speech_proto.gyp #

Total comments: 2

Patch Set 4 : Undo exports; Just fix incorrect includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M remoting/protocol/connection_to_client.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M third_party/protobuf/README.chromium View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/protobuf/src/google/protobuf/unknown_field_set.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Raghu Simha
Fred, please review. Thanks.
8 years ago (2012-12-13 01:54:15 UTC) #1
Raghu Simha
+wez for OWNERS approval of remoting/protocol/connection_to_client.cc.
8 years ago (2012-12-13 02:00:43 UTC) #2
akalin
LGTM, although you should probably get someone more familiar with protobuf code to review also ...
8 years ago (2012-12-13 02:04:50 UTC) #3
Lambros
remoting lgtm
8 years ago (2012-12-13 02:39:57 UTC) #4
Raghu Simha
On 2012/12/13 02:04:50, akalin wrote: > LGTM, although you should probably get someone more familiar ...
8 years ago (2012-12-13 05:20:04 UTC) #5
agl
I don't know enough about components to say much, but the protobuf changes seem reasonable. ...
8 years ago (2012-12-13 15:41:40 UTC) #6
Raghu Simha
Adam, PTAL. Thanks. https://codereview.chromium.org/11316370/diff/1/third_party/protobuf/README.chromium File third_party/protobuf/README.chromium (right): https://codereview.chromium.org/11316370/diff/1/third_party/protobuf/README.chromium#newcode18 third_party/protobuf/README.chromium:18: building of libproto_lite as a shared ...
8 years ago (2012-12-13 20:07:48 UTC) #7
Raghu Simha
+sky for changes to content/browser/speech/proto/speech_proto.gyp
8 years ago (2012-12-14 00:13:10 UTC) #8
sky
LGTM
8 years ago (2012-12-14 00:27:57 UTC) #9
Dirk Pranke
https://codereview.chromium.org/11316370/diff/10002/third_party/protobuf/protobuf.gyp File third_party/protobuf/protobuf.gyp (right): https://codereview.chromium.org/11316370/diff/10002/third_party/protobuf/protobuf.gyp#newcode187 third_party/protobuf/protobuf.gyp:187: # third_party/protobuf/vsprojects/readme.txt. If your intent is for protobuf_lite to ...
8 years ago (2012-12-14 21:00:24 UTC) #10
Raghu Simha
Thanks for the help, Dirk. I've updated the patch. Adam/Dirk: Could one of you please ...
8 years ago (2012-12-14 22:10:41 UTC) #11
Raghu Simha
Chatted with agl offline, and this patch is good to land now.
8 years ago (2012-12-14 22:20:04 UTC) #12
Dirk Pranke
8 years ago (2012-12-14 22:21:24 UTC) #13
On 2012/12/14 22:20:04, rsimha wrote:
> Chatted with agl offline, and this patch is good to land now.

The lack of EXPORT-modifying defines or gyp changes lgtm :).

Powered by Google App Engine
This is Rietveld 408576698