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

Issue 1537473002: [third-party] Netty fork of Tomcat Native (Closed)

Created:
5 years ago by kapishnikov
Modified:
4 years, 10 months ago
Reviewers:
rsleevi, mef, davidben, xunjieli, pauljensen, agl
CC:
chromium-reviews, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[third-party] Netty Server and dependencies Added new libraries to the Chromium third-party library collection: 1. Netty 4 Server. See http://netty.io 2. Netty fork of Tomcat Native (netty-tcnative). See http://netty.io/wiki/forked-tomcat-native.html and the library tc-native depends on: 3. 'Apache Portable Runtime'. See http://apr.apache.org The server provides support for Http/2 protocol, which is needed for testing some of the Cronet features on Android, in particular, the new Bidirectional Streaming API. To build the netty-tcnative library call: ninja -C out/Debug netty-tcnative The output files can be found here: - out/Debug/lib/libnetty-tcnative.so - out/Debug/lib.java/netty-tcnative.jar BUG=563732 Committed: https://crrev.com/6dd98af3db0b8e809ed95ff66620181efbf3f8f1 Cr-Commit-Position: refs/heads/master@{#370791} Committed: https://crrev.com/810c220259edb6a0b79ca1c16e8d7fb71aa258ce Cr-Commit-Position: refs/heads/master@{#372172}

Patch Set 1 #

Patch Set 2 : Readme, License, Changed directory structure, External repos #

Patch Set 3 : Added Netty Server as the external dependency #

Patch Set 4 : Added real /external/netty4.git repo hash #

Total comments: 6

Patch Set 5 : Added Netty.gyp, boringssl-decrepit target, nightly Netty build #

Patch Set 6 : Suppressed compiler warnings for tcnative and APR #

Patch Set 7 : Security Review: Added extra comments to the README files. #

Patch Set 8 : Addressed open source license review comments #

Total comments: 1

Patch Set 9 : Removed netty-tcnative dependency on BoringSSL decrepit files #

Patch Set 10 : Changed DEPS hash of netty-tcnative commit #

Total comments: 6

Patch Set 11 : Review comments & new netty-tcnative hash. #

Patch Set 12 : Spelling fix #

Patch Set 13 : Make the build work on clang-tot bot #

Total comments: 5

Patch Set 14 : Rebase #

Patch Set 15 : Moved tcnative 'so' renaming to tcnative.gyp #

Patch Set 16 : Added support for GN build #

Patch Set 17 : Added cflag to include NDK support headers in APR build #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1045 lines, -0 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -1 line 0 comments Download
M components/cronet.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
M components/cronet/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
A third_party/apache-portable-runtime/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +116 lines, -0 lines 1 comment Download
A + third_party/apache-portable-runtime/LICENSE View 1 2 3 4 5 6 7 2 chunks +92 lines, -1 line 0 comments Download
A third_party/apache-portable-runtime/OWNERS View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/apache-portable-runtime/README.chromium View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/apache-portable-runtime/apr.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +114 lines, -0 lines 1 comment Download
A third_party/apache-portable-runtime/diff.patch View 1 2 1 chunk +234 lines, -0 lines 0 comments Download
A third_party/netty-tcnative/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +116 lines, -0 lines 0 comments Download
A + third_party/netty-tcnative/LICENSE View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/netty-tcnative/OWNERS View 1 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/netty-tcnative/README.chromium View 1 2 3 4 5 6 7 8 9 10 1 chunk +163 lines, -0 lines 0 comments Download
A third_party/netty-tcnative/netty-tcnative.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/netty4/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
A + third_party/netty4/LICENSE View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/netty4/OWNERS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/netty4/README.chromium View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/netty4/netty.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 61 (18 generated)
kapishnikov
xunjieli@chromium.org: Please review changes in pauljensen@chromium.org: Please review changes in mef@chromium.org: Please review changes in
5 years ago (2015-12-16 22:26:46 UTC) #2
kapishnikov
I have added the latest netty-tcnative and apache-portable-runtime files from the repos as-is with minimal ...
5 years ago (2015-12-16 22:33:04 UTC) #3
xunjieli
On 2015/12/16 22:33:04, kapishnikov wrote: > I have added the latest netty-tcnative and apache-portable-runtime files ...
5 years ago (2015-12-16 23:00:19 UTC) #4
kapishnikov
On 2015/12/16 23:00:19, xunjieli wrote: > On 2015/12/16 22:33:04, kapishnikov wrote: > > I have ...
5 years ago (2015-12-17 01:36:14 UTC) #5
mef
On 2015/12/17 01:36:14, kapishnikov wrote: > On 2015/12/16 23:00:19, xunjieli wrote: > > On 2015/12/16 ...
5 years ago (2015-12-18 16:40:16 UTC) #6
kapishnikov
I have filed a ticket with the infrastructure team to create two new repos on ...
4 years, 11 months ago (2016-01-05 15:38:30 UTC) #7
kapishnikov
There is also a pending request to create netty4 external repository: https://code.google.com/p/chromium/issues/detail?id=574809
4 years, 11 months ago (2016-01-08 18:16:15 UTC) #9
mef
https://codereview.chromium.org/1537473002/diff/50001/components/cronet.gypi File components/cronet.gypi (right): https://codereview.chromium.org/1537473002/diff/50001/components/cronet.gypi#newcode392 components/cronet.gypi:392: 'run_findbugs': 1, In order for libnetty-tcnative.so to be included ...
4 years, 11 months ago (2016-01-11 21:46:03 UTC) #10
kapishnikov
See the changes below. Also uploaded the nightly Netty build and changed the hash in ...
4 years, 11 months ago (2016-01-12 15:50:26 UTC) #11
mef
On 2016/01/12 15:50:26, kapishnikov wrote: > See the changes below. Also uploaded the nightly Netty ...
4 years, 11 months ago (2016-01-12 20:57:55 UTC) #12
kapishnikov
Hi Ryan, I have added a new target to third_party/boringssl/boringssl.gyp to build decrepit sources. These ...
4 years, 11 months ago (2016-01-15 18:56:24 UTC) #14
kapishnikov
Including David to review changes in BoringSSL GYP files.
4 years, 11 months ago (2016-01-20 19:38:59 UTC) #16
davidben
+agl What do you need decrepit for? It's not supposed to be built in Chromium ...
4 years, 11 months ago (2016-01-20 19:43:03 UTC) #18
kapishnikov
On 2016/01/20 19:43:03, davidben wrote: > +agl > > What do you need decrepit for? ...
4 years, 11 months ago (2016-01-20 19:53:30 UTC) #19
davidben
On 2016/01/20 19:53:30, kapishnikov wrote: > On 2016/01/20 19:43:03, davidben wrote: > > +agl > ...
4 years, 11 months ago (2016-01-20 19:53:54 UTC) #20
kapishnikov
On 2016/01/20 19:53:54, davidben wrote: > On 2016/01/20 19:53:30, kapishnikov wrote: > > On 2016/01/20 ...
4 years, 11 months ago (2016-01-20 20:06:21 UTC) #21
agl
On 2016/01/20 20:06:21, kapishnikov wrote: > Here is the link to the file: > https://chromium.googlesource.com/external/netty-tcnative/+/master/c/ssl.c ...
4 years, 11 months ago (2016-01-20 20:16:37 UTC) #22
davidben
On 2016/01/20 20:16:37, agl wrote: > On 2016/01/20 20:06:21, kapishnikov wrote: > > Here is ...
4 years, 11 months ago (2016-01-20 20:26:03 UTC) #23
agl
On 2016/01/20 20:26:03, davidben wrote: > On 2016/01/20 20:16:37, agl wrote: > > On 2016/01/20 ...
4 years, 11 months ago (2016-01-20 20:41:01 UTC) #24
davidben
On 2016/01/20 20:41:01, agl wrote: > On 2016/01/20 20:26:03, davidben wrote: > > On 2016/01/20 ...
4 years, 11 months ago (2016-01-20 20:48:29 UTC) #25
kapishnikov
On 2016/01/20 20:48:29, davidben wrote: > On 2016/01/20 20:41:01, agl wrote: > > On 2016/01/20 ...
4 years, 11 months ago (2016-01-20 22:36:48 UTC) #26
davidben
4 years, 11 months ago (2016-01-21 02:39:06 UTC) #27
davidben
(Oops, hit the wrong button, sorry.)
4 years, 11 months ago (2016-01-21 02:39:31 UTC) #28
kapishnikov
We got all required approvals: 1. Engineering proposal review. 2. Open source third party review. ...
4 years, 11 months ago (2016-01-21 03:53:01 UTC) #30
mef
lgtm with couple of nits. https://codereview.chromium.org/1537473002/diff/170001/components/cronet.gypi File components/cronet.gypi (right): https://codereview.chromium.org/1537473002/diff/170001/components/cronet.gypi#newcode383 components/cronet.gypi:383: 'netty-tcnative', Would it be ...
4 years, 11 months ago (2016-01-21 17:02:55 UTC) #31
mef
On 2016/01/21 17:02:55, mef wrote: > lgtm with couple of nits. > > https://codereview.chromium.org/1537473002/diff/170001/components/cronet.gypi > ...
4 years, 11 months ago (2016-01-21 17:03:26 UTC) #32
agl
On 2016/01/21 03:53:01, kapishnikov wrote: > We got all required approvals: > 1. Engineering proposal ...
4 years, 11 months ago (2016-01-21 17:35:50 UTC) #33
davidben
On 2016/01/21 17:35:50, agl wrote: > On 2016/01/21 03:53:01, kapishnikov wrote: > > We got ...
4 years, 11 months ago (2016-01-21 17:49:59 UTC) #34
kapishnikov
https://codereview.chromium.org/1537473002/diff/170001/components/cronet.gypi File components/cronet.gypi (right): https://codereview.chromium.org/1537473002/diff/170001/components/cronet.gypi#newcode383 components/cronet.gypi:383: 'netty-tcnative', On 2016/01/21 17:02:55, mef wrote: > Would it ...
4 years, 11 months ago (2016-01-21 19:43:31 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1537473002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1537473002/210001
4 years, 11 months ago (2016-01-21 20:02:49 UTC) #38
commit-bot: I haz the power
Committed patchset #12 (id:210001)
4 years, 11 months ago (2016-01-21 21:31:20 UTC) #40
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/6dd98af3db0b8e809ed95ff66620181efbf3f8f1 Cr-Commit-Position: refs/heads/master@{#370791}
4 years, 11 months ago (2016-01-21 21:32:37 UTC) #42
kapishnikov
A revert of this CL (patchset #12 id:210001) has been created in https://codereview.chromium.org/1612863004/ by kapishnikov@chromium.org. ...
4 years, 11 months ago (2016-01-21 22:04:58 UTC) #43
mef
https://codereview.chromium.org/1537473002/diff/230001/components/cronet.gypi File components/cronet.gypi (right): https://codereview.chromium.org/1537473002/diff/230001/components/cronet.gypi#newcode401 components/cronet.gypi:401: # libnetty-tcnative shared library should have a specific name ...
4 years, 11 months ago (2016-01-26 22:36:48 UTC) #45
kapishnikov
https://codereview.chromium.org/1537473002/diff/230001/components/cronet.gypi File components/cronet.gypi (right): https://codereview.chromium.org/1537473002/diff/230001/components/cronet.gypi#newcode401 components/cronet.gypi:401: # libnetty-tcnative shared library should have a specific name ...
4 years, 11 months ago (2016-01-27 00:46:07 UTC) #46
mef
lgtm https://codereview.chromium.org/1537473002/diff/230001/third_party/netty-tcnative/netty-tcnative.gyp File third_party/netty-tcnative/netty-tcnative.gyp (right): https://codereview.chromium.org/1537473002/diff/230001/third_party/netty-tcnative/netty-tcnative.gyp#newcode61 third_party/netty-tcnative/netty-tcnative.gyp:61: 'netty_tcnative_so_file_name': 'libnetty-tcnative.cr.so', On 2016/01/27 00:46:07, kapishnikov wrote: > ...
4 years, 11 months ago (2016-01-27 16:08:08 UTC) #47
kapishnikov
I tested the GN build and the result netty-tcnative.jar and libnetty-tcnative.so files with the sample ...
4 years, 11 months ago (2016-01-27 22:09:01 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1537473002/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1537473002/290001
4 years, 10 months ago (2016-01-28 15:26:39 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/14193)
4 years, 10 months ago (2016-01-28 15:55:20 UTC) #53
mef
https://codereview.chromium.org/1537473002/diff/310001/third_party/apache-portable-runtime/BUILD.gn File third_party/apache-portable-runtime/BUILD.gn (right): https://codereview.chromium.org/1537473002/diff/310001/third_party/apache-portable-runtime/BUILD.gn#newcode5 third_party/apache-portable-runtime/BUILD.gn:5: import("//build/config/android/config.gni") should this be conditional on 'android' platform or ...
4 years, 10 months ago (2016-01-28 18:36:01 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1537473002/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1537473002/310001
4 years, 10 months ago (2016-01-28 20:00:46 UTC) #57
commit-bot: I haz the power
Committed patchset #17 (id:310001)
4 years, 10 months ago (2016-01-28 21:35:11 UTC) #59
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 21:35:54 UTC) #61
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/810c220259edb6a0b79ca1c16e8d7fb71aa258ce
Cr-Commit-Position: refs/heads/master@{#372172}

Powered by Google App Engine
This is Rietveld 408576698