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

Issue 8251003: Add jsoncpp in DEPS and the gyp file to build jsoncpp in chromium. (Closed)

Created:
9 years, 2 months ago by Ronghua
Modified:
9 years, 2 months ago
CC:
chromium-reviews, juberti, sehr (please use chromium), niklase
Visibility:
Public.

Description

Add jsoncpp in DEPS and the gyp file to build jsoncpp in chromium. The jsoncpp is needed by libjingle as part of the webrtc effort. This patch probably not be the best solution as there's already one chrome json parser in base and another jsoncpp copy in native_client. However since the libjingle can depend on neither of them, here comes this patch. We hope to take this patch as a chance to get some advices on how should we handle this case. BUGS=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106424 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106815

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 4

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+676 lines, -7 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -0 lines 0 comments Download
M third_party/devscripts/chromium-1.patch View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -7 lines 0 comments Download
M third_party/devscripts/licensecheck.pl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/devscripts/licensecheck.pl.orig View 1 2 3 4 5 6 7 8 9 1 chunk +543 lines, -0 lines 0 comments Download
A third_party/jsoncpp/LICENSE View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/jsoncpp/README.chromium View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/jsoncpp/jsoncpp.gyp View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Ronghua
9 years, 2 months ago (2011-10-12 21:21:25 UTC) #1
Mark Larson
From a licensing point of view, this is fine. That's about as far as I ...
9 years, 2 months ago (2011-10-13 03:16:24 UTC) #2
Niklas Enbom
Some background: NaCl already uses jsoncpp, but they have a local copy of the code ...
9 years, 2 months ago (2011-10-13 07:34:57 UTC) #3
Mark Larson
LGTM I see. I missed that thread. Apologies for that. Before you make this live, ...
9 years, 2 months ago (2011-10-13 20:03:57 UTC) #4
Ronghua
Thanks Mark. I created a ticket http://code.google.com/p/chromium/issues/detail?id=100250 for the SVN mirror. On Thu, Oct 13, ...
9 years, 2 months ago (2011-10-13 21:28:41 UTC) #5
Ronghua
The svn mirror has been created. Update the DEPS to use the mirror. The only ...
9 years, 2 months ago (2011-10-17 23:39:18 UTC) #6
Nicolas Sylvain
On Mon, Oct 17, 2011 at 4:39 PM, <ronghuawu@google.com> wrote: > The svn mirror has ...
9 years, 2 months ago (2011-10-18 00:31:37 UTC) #7
Ronghua
Thanks Nicolas, that sounds like a great solution. Added sourceforge_url.
9 years, 2 months ago (2011-10-18 22:17:40 UTC) #8
Nicolas Sylvain
On Tue, Oct 18, 2011 at 3:17 PM, <ronghuawu@google.com> wrote: > Thanks Nicolas, that sounds ...
9 years, 2 months ago (2011-10-18 22:33:47 UTC) #9
nsylvain
http://codereview.chromium.org/8251003/diff/16001/DEPS File DEPS (right): http://codereview.chromium.org/8251003/diff/16001/DEPS#newcode5 DEPS:5: "sourceforge_url": "https://%s.svn.sourceforge.net/svnroot", can you change this to : https://%(repo)s.svn.sourceforge.net/svnroot ...
9 years, 2 months ago (2011-10-18 22:41:46 UTC) #10
Ronghua
Discussed with Nicolas offline and updated accordingly. http://codereview.chromium.org/8251003/diff/16001/DEPS File DEPS (right): http://codereview.chromium.org/8251003/diff/16001/DEPS#newcode5 DEPS:5: "sourceforge_url": "https://%s.svn.sourceforge.net/svnroot", ...
9 years, 2 months ago (2011-10-18 23:31:31 UTC) #11
nsylvain
I looked only at DEPS and it looks good. Try running a cron job though.
9 years, 2 months ago (2011-10-18 23:32:47 UTC) #12
Ronghua
Merged with latest. Nicolas, I will hold this change until you let me know the ...
9 years, 2 months ago (2011-10-18 23:45:18 UTC) #13
Mark Larson
LGTM On Tue, Oct 18, 2011 at 16:45, <ronghuawu@google.com> wrote: > Merged with latest. > ...
9 years, 2 months ago (2011-10-19 00:25:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@google.com/8251003/21006
9 years, 2 months ago (2011-10-19 23:10:29 UTC) #15
commit-bot: I haz the power
Change committed as 106424
9 years, 2 months ago (2011-10-20 00:51:05 UTC) #16
Nico
Please follow http://www.chromium.org/developers/adding-3rd-party-libraries when adding 3rd-party code. In particular: * Add a LICENSE file * ...
9 years, 2 months ago (2011-10-20 02:52:44 UTC) #17
Ryan Sleevi
On 2011/10/20 02:52:44, Nico wrote: > Please follow http://www.chromium.org/developers/adding-3rd-party-libraries when > adding 3rd-party code. In ...
9 years, 2 months ago (2011-10-20 03:20:49 UTC) #18
Ronghua
Nicolas, The cl has been reverted due to this error - "svn: PROPFIND of '/svnroot/jsoncpp/trunk/jsoncpp': ...
9 years, 2 months ago (2011-10-20 04:24:41 UTC) #19
Nico
> With the http://crrev.com/106446, the checklicenses.py failure is gone. If I > add the LICENSE ...
9 years, 2 months ago (2011-10-20 04:45:12 UTC) #20
Daniel Berlin
lgtm LGTM
9 years, 2 months ago (2011-10-20 05:32:24 UTC) #21
Daniel Berlin
lgtm lgtm LGTM
9 years, 2 months ago (2011-10-20 05:32:29 UTC) #22
Daniel Berlin
On 2011/10/20 05:32:29, Daniel Berlin wrote: > lgtm > > lgtm > > LGTM Sigh, ...
9 years, 2 months ago (2011-10-20 05:33:32 UTC) #23
nsylvain
On Wed, Oct 19, 2011 at 9:24 PM, <ronghuawu@google.com> wrote: > Nicolas, > > The ...
9 years, 2 months ago (2011-10-20 16:37:33 UTC) #24
tony
Random 2 cents: Checking this into third_party for nacl to use seems fine. I'm a ...
9 years, 2 months ago (2011-10-20 20:53:57 UTC) #25
Ronghua
* Add the jsoncpp to svn ignore list. * Changed to use http instead of ...
9 years, 2 months ago (2011-10-20 23:43:06 UTC) #26
tony
On 2011/10/20 23:43:06, Ronghua wrote: > Thanks for the comments. The libjingle is already using ...
9 years, 2 months ago (2011-10-20 23:48:20 UTC) #27
Ronghua
Updated the license check script so that it can recognize the jsoncpp license header. The ...
9 years, 2 months ago (2011-10-21 05:29:45 UTC) #28
Paweł Hajdan Jr.
LGTM, and thank you for your work here. I appreciate that you've done that after ...
9 years, 2 months ago (2011-10-21 06:53:30 UTC) #29
Ronghua
Not sure how to update the chromium-1.patch. Do I need to get the original version ...
9 years, 2 months ago (2011-10-21 19:04:06 UTC) #30
Paweł Hajdan Jr.
LGTM On 2011/10/21 19:04:06, Ronghua wrote: > Not sure how to update the chromium-1.patch. Do ...
9 years, 2 months ago (2011-10-21 20:17:57 UTC) #31
Ronghua
Thanks Paweł. The chromium-1.patch is updated and I also add the licensecheck.pl.orig. I will send ...
9 years, 2 months ago (2011-10-21 21:25:56 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@google.com/8251003/41002
9 years, 2 months ago (2011-10-21 22:04:25 UTC) #33
commit-bot: I haz the power
Can't apply patch for file DEPS. While running patch -p0 --forward --force; patching file DEPS ...
9 years, 2 months ago (2011-10-21 22:04:27 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ronghuawu@google.com/8251003/41003
9 years, 2 months ago (2011-10-21 22:22:25 UTC) #35
commit-bot: I haz the power
9 years, 2 months ago (2011-10-22 00:33:20 UTC) #36
Change committed as 106815

Powered by Google App Engine
This is Rietveld 408576698