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

Issue 2762193002: [protobuf] Fix potential double definition build errors. (Closed)

Created:
3 years, 9 months ago by Eric Seckler
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[protobuf] Fix potential double definition build errors. https://codereview.chromium.org/2756543002 introduced a protobuf_globals target, whose sources include stubs/atomicops_internals_x86_gcc.cc. Since this source file is also included in the protobuf_lite target, some builds may complain about double definitions. BUG=700120 Review-Url: https://codereview.chromium.org/2762193002 Cr-Commit-Position: refs/heads/master@{#458725} Committed: https://chromium.googlesource.com/chromium/src/+/396d7f89575a83e9d8b23a609acf60bb383fbaf1

Patch Set 1 #

Total comments: 5

Patch Set 2 : add protobuf_globals_sources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -9 lines) Patch
M third_party/protobuf/BUILD.gn View 1 6 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Eric Seckler
3 years, 9 months ago (2017-03-21 14:45:31 UTC) #3
Tom (Use chromium acct)
lgtm
3 years, 9 months ago (2017-03-21 17:43:03 UTC) #8
Tom (Use chromium acct)
https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn File third_party/protobuf/BUILD.gn (right): https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn#newcode202 third_party/protobuf/BUILD.gn:202: "src/google/protobuf/globals.cc", it would probably be better to define protobuf_globals_sources ...
3 years, 9 months ago (2017-03-21 18:06:21 UTC) #9
Peter Kasting
LGTM with Tom's proposed changes. https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn File third_party/protobuf/BUILD.gn (right): https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn#newcode202 third_party/protobuf/BUILD.gn:202: "src/google/protobuf/globals.cc", On 2017/03/21 18:06:21, ...
3 years, 9 months ago (2017-03-21 22:39:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2762193002/40001
3 years, 9 months ago (2017-03-22 11:36:07 UTC) #14
Eric Seckler
https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn File third_party/protobuf/BUILD.gn (right): https://codereview.chromium.org/2762193002/diff/1/third_party/protobuf/BUILD.gn#newcode202 third_party/protobuf/BUILD.gn:202: "src/google/protobuf/globals.cc", On 2017/03/21 22:39:12, Peter Kasting wrote: > On ...
3 years, 9 months ago (2017-03-22 11:36:16 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xcode-clang/builds/63989)
3 years, 9 months ago (2017-03-22 12:15:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2762193002/40001
3 years, 9 months ago (2017-03-22 12:52:43 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 13:00:47 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/396d7f89575a83e9d8b23a609acf...

Powered by Google App Engine
This is Rietveld 408576698