OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
2 # for details. All rights reserved. Use of this source code is governed by a | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 The standalone Dart executable uses the NSS library from Mozilla to | |
6 support secure networking connections (SSL and TLS). It uses a copy | |
7 of the library from the Chromium repository, that includes patches | |
8 added by Chromium. We pin this to a fixed revision, using the | |
9 nss_revision variable in all the DEPS files in the deps directory of | |
10 the Dart repository. | |
11 | |
12 This revision should be updated when new security fixes are added to | |
13 NSS, or every few months. The .gyp files in this directory are copies | |
14 of the .gyp files in the Chromium copy of NSS, with changes made to | |
15 account for the configurations and directory structure of the Dart | |
16 repository. Differences between the Chromium versions and the Dart | |
17 versions should be annotated with "# Added by Dart'. | |
18 | |
19 All the files should have a comment saying where the original file is | |
20 in the Chromium repository. To update these files, look at the diff | |
21 between the two revisions in Chromium, and apply the changes manually, | |
22 with any needed modifications, to the Dart copies. Our aim is to keep | |
23 the difference between the Chromium and Dart copies as small as | |
24 possible. | |
25 | |
26 The nss_memio.cc and nss_memio.h files are also taken from Chromium, | |
27 and should be updated at the same time. The os_Linux.s file is new, | |
28 and should not need changing. | |
29 | |
30 The file nss.gyp includes support for disabling compilation of NSS | |
31 using the variable dart_io_support, when building configurations that | |
32 don't use it. NSS compilation is disabled when building Dartium, | |
33 because Chromium includes its own copy, and the build process would | |
34 get confused. | |
OLD | NEW |