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

Issue 10909189: Add gyp files to build NSS in Dart (Closed)

Created:
8 years, 3 months ago by Bill Hesse
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org, Anders Johnsen
Visibility:
Public.

Description

Add gyp files to build NSS in Dart The change builds static versions of the cross-platform secure networking libraries NSS and NSPR from Mozilla, on Linux, MacOS, and Windows. These libraries are linked with the standalone Dart executable in a future changelist to support HTTPS and SSL networking in dart:io. The built libraries will be tested by that future changelist. Patchlist 19 was committed: https://code.google.com/p/dart/source/detail?r=14524 Reverted in r=14529 Pachlist 21 was committed: https://code.google.com/p/dart/source/detail?r=14684 Reverted in r=14688 Committed: https://code.google.com/p/dart/source/detail?r=14730

Patch Set 1 #

Patch Set 2 : Add patches for checked-out nss dirs. #

Patch Set 3 : Make this compile with ninja on Mac OS X. #

Patch Set 4 : Make chromium NSS compile on Linux. #

Patch Set 5 : Move and clean up gyp files. Much better. #

Patch Set 6 : Add support for X64 platform. #

Patch Set 7 : Make 64-bit compile on Mac OS. #

Patch Set 8 : Fix compilation on linux x64 and ia32. #

Patch Set 9 : Build and use static sqlite3 library. #

Patch Set 10 : Remove changes to third_party code and DEPS. #

Patch Set 11 : Remove changes at global level, move to runtime configuration file. #

Total comments: 4

Patch Set 12 : Add a source file to nss.gyp #

Patch Set 13 : Move os_Linux.S and net/third_party/nss. #

Patch Set 14 : Make build work on MacOS again. #

Patch Set 15 : Make changes from Chromium gyp files explicit. #

Patch Set 16 : Fix typos #

Total comments: 11

Patch Set 17 : #

Patch Set 18 : Address comments. #

Total comments: 1

Patch Set 19 : Remove --fno-exceptions, -fvla flags from nss_configurations.gypi, add comments. #

Patch Set 20 : Always build a 32-bit build on Windows. #

Patch Set 21 : Remove dependency of gen_snapshot on NSS. #

Patch Set 22 : Remove visibility=hidden flag. #

Patch Set 23 : Fix remaining Dartium build errors #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1916 lines, -4 lines) Patch
M runtime/bin/bin.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +25 lines, -0 lines 1 comment Download
A runtime/bin/net/nss.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1273 lines, -0 lines 0 comments Download
A + runtime/bin/net/os_linux.S View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -4 lines 0 comments Download
A runtime/bin/net/sqlite.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +203 lines, -0 lines 0 comments Download
A runtime/bin/net/ssl.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +165 lines, -0 lines 0 comments Download
A runtime/bin/net/zlib.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +167 lines, -0 lines 0 comments Download
A runtime/tools/gyp/nss_configurations.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Bill Hesse
Just barely working on all three platforms, building static libraries, that work when linked with ...
8 years, 2 months ago (2012-09-27 13:41:31 UTC) #1
Bill Hesse
Not ready for review at all - the modifications to tools/gyp should be moved out ...
8 years, 2 months ago (2012-09-27 13:43:46 UTC) #2
Bill Hesse
Ready for review - it is reduced from 20 files down to 5 files.
8 years, 1 month ago (2012-10-30 15:54:18 UTC) #3
Mads Ager (google)
http://codereview.chromium.org/10909189/diff/28002/runtime/bin/net/nss.gyp File runtime/bin/net/nss.gyp (right): http://codereview.chromium.org/10909189/diff/28002/runtime/bin/net/nss.gyp#newcode1 runtime/bin/net/nss.gyp:1: # Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 1 month ago (2012-10-31 09:01:01 UTC) #4
Søren Gjesse
Please coordinate on adding zlib with ajohnsen@, see http://codereview.chromium.org/11275035/.
8 years, 1 month ago (2012-10-31 11:27:04 UTC) #5
Bill Hesse
All comments addressed. The changes to the gyp files from the Chromium versions have been ...
8 years, 1 month ago (2012-11-02 12:28:53 UTC) #6
Mads Ager (google)
This is getting there. Final round of comments for the first version from me. Longer ...
8 years, 1 month ago (2012-11-02 13:56:35 UTC) #7
Ivan Posva
Since the newly added gyp files are messing with the build configurations, I would like ...
8 years, 1 month ago (2012-11-02 15:58:51 UTC) #8
Bill Hesse
I will check out whether the compilation lines for existing targets have changed (except to ...
8 years, 1 month ago (2012-11-02 16:08:15 UTC) #9
Bill Hesse
All comments addressed. The compilation commands issued when building via tools/build.py runtime have been examined, ...
8 years, 1 month ago (2012-11-05 10:39:27 UTC) #10
Søren Gjesse
lgtm
8 years, 1 month ago (2012-11-05 11:24:51 UTC) #11
Mads Ager (google)
LGTM https://codereview.chromium.org/10909189/diff/49002/runtime/tools/gyp/nss_configurations.gypi File runtime/tools/gyp/nss_configurations.gypi (right): https://codereview.chromium.org/10909189/diff/49002/runtime/tools/gyp/nss_configurations.gypi#newcode37 runtime/tools/gyp/nss_configurations.gypi:37: '-fno-exceptions', Could you add two sections here? One ...
8 years, 1 month ago (2012-11-05 12:42:32 UTC) #12
Ivan Posva
8 years, 1 month ago (2012-11-09 23:00:20 UTC) #13
https://chromiumcodereview.appspot.com/10909189/diff/44010/runtime/bin/bin.gypi
File runtime/bin/bin.gypi (right):

https://chromiumcodereview.appspot.com/10909189/diff/44010/runtime/bin/bin.gy...
runtime/bin/bin.gypi:310: 'nss',
Can you list the different nss dependencies here? I would hope that this would
remove the need for 'export_dependent_settings' from below.

Powered by Google App Engine
This is Rietveld 408576698