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

Issue 1287893005: Reland: Make separate net and url GN targets with and without ICU (Closed)

Created:
5 years, 4 months ago by xunjieli
Modified:
5 years, 3 months ago
Reviewers:
brettw, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Make separate net and url GN targets with and without ICU The net and url GYP files were modified in crrev.com/933293003 so Cronet could be built side-by-side with Chrome. However GN files are not modified. This CL keeps the GN files in sync with the GYP files. TBR=brettw@chromium.org BUG=522096 Committed: https://crrev.com/4c8c6921ca6739d16f6551635328faf164848f9d Cr-Commit-Position: refs/heads/master@{#345891} Committed: https://crrev.com/905496a6338fa535b5d242fda1d3eb0cab1d01ae Cr-Commit-Position: refs/heads/master@{#346392}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Add missing define #

Total comments: 8

Patch Set 3 : Use Brett's suggestion #

Patch Set 4 : Fix typo #

Total comments: 14

Patch Set 5 : Address Brett's comments #

Total comments: 4

Patch Set 6 : Address Matt's comments #

Patch Set 7 : Rebased #

Total comments: 2

Patch Set 8 : Use //url instead of //url:url #

Patch Set 9 : Move headers to fix GN check #

Patch Set 10 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -590 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 13 chunks +362 lines, -415 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 6 chunks +84 lines, -78 lines 0 comments Download
M net/net_common.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -25 lines 0 comments Download
M url/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +73 lines, -64 lines 0 comments Download
D url/config.gni View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 56 (15 generated)
xunjieli
Hi Matt, PTAL. I will send it out to url OWNER if you think this ...
5 years, 4 months ago (2015-08-19 21:04:33 UTC) #4
xunjieli
On 2015/08/19 21:04:33, xunjieli wrote: > Hi Matt, PTAL. I will send it out to ...
5 years, 4 months ago (2015-08-19 21:35:26 UTC) #5
mmenke
I looking through the CL, nothing immediately occurs to me as a possible cause for ...
5 years, 4 months ago (2015-08-19 21:37:28 UTC) #6
mmenke
https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode533 net/BUILD.gn:533: I think you may need NET_IMPLEMENTATION here, too.
5 years, 4 months ago (2015-08-19 22:28:26 UTC) #7
xunjieli
On 2015/08/19 22:28:26, mmenke wrote: > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn > File net/BUILD.gn (right): > > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode533 > ...
5 years, 4 months ago (2015-08-19 22:32:41 UTC) #8
xunjieli
Thanks for the help, Matt! I think the try bots should be passing now. The ...
5 years, 4 months ago (2015-08-19 22:37:03 UTC) #9
mmenke
On 2015/08/19 22:32:41, xunjieli wrote: > On 2015/08/19 22:28:26, mmenke wrote: > > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn > ...
5 years, 4 months ago (2015-08-19 22:56:47 UTC) #10
xunjieli
https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode533 net/BUILD.gn:533: On 2015/08/19 22:28:26, mmenke wrote: > I think you ...
5 years, 4 months ago (2015-08-20 14:28:46 UTC) #11
mmenke
https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode65 net/BUILD.gn:65: source_set("net_common") { Should we restrict visibility to the two ...
5 years, 4 months ago (2015-08-20 15:37:47 UTC) #12
xunjieli
https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode528 net/BUILD.gn:528: defines = [ "USE_ICU_ALTERNATIVES_ON_ANDROID=1" ] On 2015/08/20 15:37:47, mmenke ...
5 years, 4 months ago (2015-08-20 17:55:35 UTC) #13
mmenke
On 2015/08/20 17:55:35, xunjieli wrote: > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn > File net/BUILD.gn (right): > > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn#newcode528 > ...
5 years, 4 months ago (2015-08-20 18:00:39 UTC) #14
xunjieli
On 2015/08/20 18:00:39, mmenke wrote: > On 2015/08/20 17:55:35, xunjieli wrote: > > https://codereview.chromium.org/1287893005/diff/60001/net/BUILD.gn > ...
5 years, 4 months ago (2015-08-20 18:04:33 UTC) #15
mmenke
On 2015/08/20 18:04:33, xunjieli wrote: > On 2015/08/20 18:00:39, mmenke wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 18:10:03 UTC) #16
xunjieli
On 2015/08/20 18:10:03, mmenke wrote: > On 2015/08/20 18:04:33, xunjieli wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 18:17:26 UTC) #17
xunjieli
On 2015/08/20 18:17:26, xunjieli wrote: > On 2015/08/20 18:10:03, mmenke wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 18:20:03 UTC) #18
mmenke
On 2015/08/20 18:20:03, xunjieli wrote: > On 2015/08/20 18:17:26, xunjieli wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 18:38:57 UTC) #19
xunjieli
On 2015/08/20 18:38:57, mmenke wrote: > On 2015/08/20 18:20:03, xunjieli wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:03:18 UTC) #20
mmenke
On 2015/08/20 19:03:18, xunjieli wrote: > On 2015/08/20 18:38:57, mmenke wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:04:36 UTC) #21
xunjieli
On 2015/08/20 19:04:36, mmenke wrote: > On 2015/08/20 19:03:18, xunjieli wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:06:50 UTC) #22
mmenke
On 2015/08/20 19:06:50, xunjieli wrote: > On 2015/08/20 19:04:36, mmenke wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:13:01 UTC) #23
mmenke
On 2015/08/20 19:13:01, mmenke wrote: > On 2015/08/20 19:06:50, xunjieli wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:14:57 UTC) #24
xunjieli
On 2015/08/20 19:14:57, mmenke wrote: > On 2015/08/20 19:13:01, mmenke wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-20 19:47:42 UTC) #26
brettw
I'm assuming with the following answer that you want to have *both* net and net_small ...
5 years, 4 months ago (2015-08-21 05:08:23 UTC) #27
xunjieli
Thanks, Brett! that's very smart! I modified my CL. I think the new approach works. ...
5 years, 4 months ago (2015-08-21 19:17:25 UTC) #30
mmenke
On 2015/08/21 19:17:25, xunjieli wrote: > Thanks, Brett! that's very smart! I modified my CL. ...
5 years, 4 months ago (2015-08-21 19:32:49 UTC) #31
brettw
https://codereview.chromium.org/1287893005/diff/140001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/140001/net/BUILD.gn#newcode63 net/BUILD.gn:63: } Here, can you add another config: config("net_internal_config") { ...
5 years, 4 months ago (2015-08-24 20:51:37 UTC) #32
xunjieli
Thanks a lot for the reviews! PTAL. https://codereview.chromium.org/1287893005/diff/140001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/140001/net/BUILD.gn#newcode63 net/BUILD.gn:63: } On ...
5 years, 3 months ago (2015-08-26 13:58:10 UTC) #37
mmenke
https://codereview.chromium.org/1287893005/diff/240001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/240001/net/BUILD.gn#newcode366 net/BUILD.gn:366: set_sources_assignment_filter(sources_assignment_filter) You're duplicating most of this block below. I ...
5 years, 3 months ago (2015-08-26 17:53:33 UTC) #38
brettw
GN files LGTM. I'm not reviewing the actual logic. https://codereview.chromium.org/1287893005/diff/280001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/280001/net/BUILD.gn#newcode414 net/BUILD.gn:414: ...
5 years, 3 months ago (2015-08-26 22:09:03 UTC) #39
xunjieli
Thanks for the review! Matt, PTAL. https://codereview.chromium.org/1287893005/diff/240001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/1287893005/diff/240001/net/BUILD.gn#newcode366 net/BUILD.gn:366: set_sources_assignment_filter(sources_assignment_filter) On 2015/08/26 ...
5 years, 3 months ago (2015-08-27 13:04:42 UTC) #40
mmenke
LGTM!
5 years, 3 months ago (2015-08-27 15:53:37 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287893005/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287893005/300001
5 years, 3 months ago (2015-08-27 15:57:32 UTC) #44
commit-bot: I haz the power
Committed patchset #8 (id:300001)
5 years, 3 months ago (2015-08-27 16:02:50 UTC) #45
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/4c8c6921ca6739d16f6551635328faf164848f9d Cr-Commit-Position: refs/heads/master@{#345891}
5 years, 3 months ago (2015-08-27 16:03:38 UTC) #46
xunjieli
A revert of this CL (patchset #8 id:300001) has been created in https://codereview.chromium.org/1312583006/ by xunjieli@chromium.org. ...
5 years, 3 months ago (2015-08-27 17:11:31 UTC) #47
dewittj
A revert of this CL (patchset #8 id:300001) has been created in https://codereview.chromium.org/1320933002/ by dewittj@chromium.org. ...
5 years, 3 months ago (2015-08-27 17:13:16 UTC) #48
xunjieli
Matt and Brett, could you take another look? This fixes the GN check.
5 years, 3 months ago (2015-08-28 14:15:42 UTC) #49
mmenke
On 2015/08/28 14:15:42, xunjieli wrote: > Matt and Brett, could you take another look? This ...
5 years, 3 months ago (2015-08-28 15:03:09 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1287893005/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1287893005/360001
5 years, 3 months ago (2015-08-31 14:41:45 UTC) #54
commit-bot: I haz the power
Committed patchset #10 (id:360001)
5 years, 3 months ago (2015-08-31 15:51:27 UTC) #55
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 15:52:02 UTC) #56
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/905496a6338fa535b5d242fda1d3eb0cab1d01ae
Cr-Commit-Position: refs/heads/master@{#346392}

Powered by Google App Engine
This is Rietveld 408576698