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

Issue 10874077: net: Add a new target 'net_with_v8'. (Closed)

Created:
8 years, 3 months ago by tfarina
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

net: Add a new target 'net_with_v8'. This target depends on v8 as the name implies, and thus we can remove the v8 dependency from net library itself. This will benefit views package, because views does not need anything from v8, but since it depends on ui_base it needs things from net too. BUG=137800 R=eroman@chromium.org TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154434

Patch Set 1 #

Patch Set 2 : fix1 #

Patch Set 3 : fix2 #

Patch Set 4 : fix3 #

Patch Set 5 : fix4 #

Patch Set 6 : fix5 #

Total comments: 1

Patch Set 7 : extract v8 part from proxy_service.cc #

Patch Set 8 : rm proxy_resolver_v8.h include from proxy_service.cc #

Patch Set 9 : fix6 #

Patch Set 10 : fix7 #

Total comments: 4

Patch Set 11 : eroman fixes #

Patch Set 12 : mv constant into ProxyService #

Patch Set 13 : forgot to add the header file #

Patch Set 14 : add license #

Patch Set 15 : fix clang? #

Total comments: 6

Patch Set 16 : fix nits #

Patch Set 17 : will this fix linux_clang? #

Patch Set 18 : ops, fix typo #

Patch Set 19 : more deps #

Patch Set 20 : define NET_IMPLMENTATION in net_with_v8 target - that should fix the clang issue - compiled locally… #

Patch Set 21 : export kDefaultNumPacThreads to please win trybot #

Patch Set 22 : CreateProxyServiceUsingV8ProxyResolver also needs to be EXPORTED #

Patch Set 23 : no need to export kDefaultNumPacThreads? #

Patch Set 24 : fuck win - I hate you #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -154 lines) Patch
M chrome/browser/net/connection_tester.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8 chunks +34 lines, -8 lines 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -45 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +0 lines, -89 lines 0 comments Download
A net/proxy/proxy_service_v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +66 lines, -0 lines 0 comments Download
A net/proxy/proxy_service_v8.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tfarina
Hi Will, could you review this to me? I'll fix any other deps failures as ...
8 years, 3 months ago (2012-08-26 14:30:27 UTC) #1
tfarina
https://chromiumcodereview.appspot.com/10874077/diff/9003/net/net.gyp File net/net.gyp (left): https://chromiumcodereview.appspot.com/10874077/diff/9003/net/net.gyp#oldcode605 net/net.gyp:605: 'proxy/proxy_service.cc', Looks like I'll need to extract the v8 ...
8 years, 3 months ago (2012-08-26 21:03:48 UTC) #2
tfarina
This now passed in mac_rel, linux_rel and android. Looking into fix linux_clang now.
8 years, 3 months ago (2012-08-26 22:12:48 UTC) #3
willchan no longer on Chromium
Redirecting to eroman, since he's the proxy master.
8 years, 3 months ago (2012-08-27 07:40:29 UTC) #4
eroman
overall looks good, but I would like you to remove the helper from ProxyService and ...
8 years, 3 months ago (2012-08-27 19:20:33 UTC) #5
tfarina
Eric, please take another look. Thanks. https://chromiumcodereview.appspot.com/10874077/diff/4012/net/proxy/proxy_service.h File net/proxy/proxy_service.h (right): https://chromiumcodereview.appspot.com/10874077/diff/4012/net/proxy/proxy_service.h#newcode42 net/proxy/proxy_service.h:42: extern const size_t ...
8 years, 3 months ago (2012-08-28 01:03:25 UTC) #6
eroman
lgtm http://codereview.chromium.org/10874077/diff/6014/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): http://codereview.chromium.org/10874077/diff/6014/net/proxy/proxy_service.cc#newcode29 net/proxy/proxy_service.cc:29: #include "net/proxy/proxy_resolver_js_bindings.h" you can delete this too. http://codereview.chromium.org/10874077/diff/6014/net/proxy/proxy_service.h ...
8 years, 3 months ago (2012-08-28 01:37:42 UTC) #7
tfarina
http://codereview.chromium.org/10874077/diff/6014/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): http://codereview.chromium.org/10874077/diff/6014/net/proxy/proxy_service.cc#newcode29 net/proxy/proxy_service.cc:29: #include "net/proxy/proxy_resolver_js_bindings.h" On 2012/08/28 01:37:42, eroman wrote: > you ...
8 years, 3 months ago (2012-08-30 02:45:52 UTC) #8
tfarina
Eric, why I'm getting this in linux_clang and linux_chromeos? out/Release/../../third_party/gold/gold64: out/Release/obj.target/net_unittests/net/proxy/proxy_resolver_v8_unittest.o: in function net::(anonymous namespace)::ProxyResolverV8WithMockBindings::~ProxyResolverV8WithMockBindings():proxy_resolver_v8_unittest.cc(.text._ZN3net12_GLOBAL__N_131ProxyResolverV8WithMockBindingsD1Ev+0xb): ...
8 years, 3 months ago (2012-08-30 10:51:41 UTC) #9
eroman
I don't know. One thing you could try is rather than _adding_ net_with_v8, replace the ...
8 years, 3 months ago (2012-08-30 16:38:17 UTC) #10
tfarina
On 2012/08/30 16:38:17, eroman wrote: > I don't know. One thing you could try is ...
8 years, 3 months ago (2012-08-31 14:50:40 UTC) #11
stuartmorgan
8 years, 3 months ago (2012-09-03 11:13:40 UTC) #12
Ironically (since the bug mentions this being a win for iOS too), this broke the
iOS build completely because it made a bunch of new targets compile v8 code
(we'll have a CL to fix it shortly).

We're hoping to have the machines provisioned to get iOS into the CQ very soon,
but if there's any other refactoring related to this bug before that happens, it
would be great if you could run them through the iOS try bots (which should be
almost instantaneous).

Powered by Google App Engine
This is Rietveld 408576698