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

Issue 10834051: Bringing up the net target on iOS. (Closed)

Created:
8 years, 4 months ago by noyau (Ping after 24h)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Bringing up the net target on iOS. This builds a small subset of net containing only the dependencies needed to build the ui target. BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148954

Patch Set 1 #

Total comments: 16

Patch Set 2 : Feedback. #

Total comments: 21

Patch Set 3 : Sleevi's feedback. #

Patch Set 4 : Rebase. #

Patch Set 5 : Use the proper alphabetical order. #

Total comments: 21

Patch Set 6 : Nit fixing. #

Total comments: 10

Patch Set 7 : Applying wtc's feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -93 lines) Patch
M net/net.gyp View 1 2 3 4 5 6 5 chunks +93 lines, -93 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
noyau (Ping after 24h)
8 years, 4 months ago (2012-07-27 15:19:43 UTC) #1
stuartmorgan
Small changes, but otherwise LGTM as a toehold for getting net up and running for ...
8 years, 4 months ago (2012-07-27 15:34:00 UTC) #2
noyau (Ping after 24h)
+rsleevi for review. All requested changes done, including the bring up of the unit_tests. https://chromiumcodereview.appspot.com/10834051/diff/1/net/net.gyp ...
8 years, 4 months ago (2012-07-27 17:24:53 UTC) #3
Ryan Sleevi
Note that I'll be a bit slow to respond as I'm on the road next ...
8 years, 4 months ago (2012-07-28 00:33:12 UTC) #4
stuartmorgan
https://chromiumcodereview.appspot.com/10834051/diff/3002/net/net.gyp File net/net.gyp (right): https://chromiumcodereview.appspot.com/10834051/diff/3002/net/net.gyp#newcode805 net/net.gyp:805: 'dependencies': [ On 2012/07/28 00:33:13, Ryan Sleevi wrote: > ...
8 years, 4 months ago (2012-07-28 13:53:43 UTC) #5
Ryan Sleevi
Because the concerns are largely stylistic nits at this point, I'll stamp LGTM, but please ...
8 years, 4 months ago (2012-07-29 09:01:25 UTC) #6
noyau (Ping after 24h)
Added comments, fixed some of the dependencies as requested. https://chromiumcodereview.appspot.com/10834051/diff/3002/net/net.gyp File net/net.gyp (right): https://chromiumcodereview.appspot.com/10834051/diff/3002/net/net.gyp#newcode805 net/net.gyp:805: ...
8 years, 4 months ago (2012-07-30 10:32:18 UTC) #7
stuartmorgan
LGTM with nits. https://chromiumcodereview.appspot.com/10834051/diff/1006/net/base/platform_mime_util_mac.mm File net/base/platform_mime_util_mac.mm (right): https://chromiumcodereview.appspot.com/10834051/diff/1006/net/base/platform_mime_util_mac.mm#newcode11 net/base/platform_mime_util_mac.mm:11: #endif // defined(OS_IOS) Move this whole ...
8 years, 4 months ago (2012-07-30 10:52:12 UTC) #8
stuartmorgan
On 2012/07/29 09:01:25, Ryan Sleevi wrote: > My general concern is one of trying to ...
8 years, 4 months ago (2012-07-30 11:08:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noyau@chromium.org/10834051/10005
8 years, 4 months ago (2012-07-30 11:46:52 UTC) #10
commit-bot: I haz the power
Change committed as 148954
8 years, 4 months ago (2012-07-30 15:15:03 UTC) #11
wtc
Review comments on patch set 6: I have some questions about net/net.gyp. Everything else looks ...
8 years, 4 months ago (2012-07-30 19:33:15 UTC) #12
noyau (Ping after 24h)
8 years, 4 months ago (2012-07-31 15:26:12 UTC) #13
All requested changes. As this CL is already closed, I've uploaded the result as
a separate CL: https://chromiumcodereview.appspot.com/10832082

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/base/platform_m...
File net/base/platform_mime_util_mac.mm (right):

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/base/platform_m...
net/base/platform_mime_util_mac.mm:11: #endif  // defined(OS_IOS)
On 2012/07/30 10:52:12, stuartmorgan wrote:
> Move this whole block to after all other headers.

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp
File net/net.gyp (right):

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode812
net/net.gyp:812: # above as more is brought up for iOS.
On 2012/07/30 10:52:12, stuartmorgan wrote:
> Since there's just one thing, change everything after the ";" to "move this
back
> to the main dependencies section once crypto builds for iOS"

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1074: ['include', '^base/dns_util\\..*$'],
On 2012/07/30 10:52:12, stuartmorgan wrote:
> .*$ is silly; just omit it.

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1098: # are needed in specific cases on other platforms. To
explicitely
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/To explicitely re-include those files/Re-including them/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1100: # evaluate after the platform rules.
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/evaluate/is evaluated/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1365: # TODO(ios): This is temporary; Move dependencies back to the
main
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/dependencies //

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1366: # dependencies section as more is brought up for iOS.
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/more/crypto/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1482: # TODO: For now this only test the subset of code that was
enabled in
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/TODO/TODO(ios)/
> s/test/tests/
> s/was/is/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1535: # TODO:(ios): Enable those tests once the code to exercise is
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/those/these/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/1006/net/net.gyp#newcode...
net/net.gyp:1693: # iOS doesn't have the concept of simple executables, those
targets
On 2012/07/30 10:52:12, stuartmorgan wrote:
> s/those/so these/

Done.

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp
File net/net.gyp (right):

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp#newcod...
net/net.gyp:1059: [ 'OS == "ios"', {
On 2012/07/30 19:33:15, wtc wrote:
> 
> Nit: it would be nice to list this ios section right below
> the mac section (lines 1017-1032) because they are closely
> related.

Done.

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp#newcod...
net/net.gyp:1480: ['OS == "ios"', {
On 2012/07/30 19:33:15, wtc wrote:
> 
> Nit: same here: I suggest listing the ios section right below
> the mac section (lines 1442-1449).

Done.

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp#newcod...
net/net.gyp:1612: ['inside_chromium_build==1 and OS != "ios"', {
On 2012/07/30 19:33:15, wtc wrote:
> 
> This change is probably worth a comment.  I can't figure out
> why iOS is excluded here.
To be honest, I don't know. This was added in the ios tree and I parroted it
here. I'm guessing that as we don't compile nor use a test server on ios there
is no point for those dependencies anyway? But that's just an educated guess.

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp#newcod...
net/net.gyp:1695: 'target_name': 'dnssec_chain_verify',
On 2012/07/30 19:33:15, wtc wrote:
> 
> Nit: I can't figure out the order in which you listed these
> executables.  They aren't listed in the original order,
> and they aren't listed in alphabetical order, either.
They are listed in the order they failed while running the build over and over.
Reordering alphabetically.

https://chromiumcodereview.appspot.com/10834051/diff/10005/net/net.gyp#newcod...
net/net.gyp:1840: ['inside_chromium_build==1', {
On 2012/07/30 19:33:15, wtc wrote:
> 
> Where did this section come from?
> 
> I found a section for net_unittests_run at the end of this
> file (lines 2081-2116).  Should that be removed?
Good catch. This was already removed by
https://chromiumcodereview.appspot.com/10829089

Powered by Google App Engine
This is Rietveld 408576698