zra@google.com
3508d336dd
Simplifies standalone VM Android build.
...
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.
gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.
To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.
This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.
R=iposva@google.com
Review URL: https://codereview.chromium.org//105223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
whesse@google.com
a5ea504079
Update NSS version to NSPR 4.10.2. - dart repository.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//75243003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30937 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 08:44:31 +00:00
whesse@google.com
ec534ea516
Restore missing debug flag supression from NSS update.
...
BUG=dartbug.com/14896
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//59773011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30045 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 12:25:38 +00:00
whesse@google.com
25785c7316
Update NSS to Chromium revision 232552
...
BUG=
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//64113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30044 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 12:01:23 +00:00
sgjesse@google.com
affa849184
Remove the certificate management methods from dart:io
...
Certificate management functions where added to dart:io in r25610 and
r26002. However these functions where mutating the NSS database for
the whole Dart process, and some functions where also persisting the
changes to the database.
This might cause issues when running multiple isolates as changes in
one isolate will affect other isolates and could lead to unexpected
results.
These functions are removed from dart:io for now.
BUG=http://dartbug.com/8227
TBR=ager@google.com
Review URL: https://codereview.chromium.org//22887014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26194 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 14:55:53 +00:00
whesse@google.com
292f34bdb3
dart:io | Add SecureSocket.importPrivateCertificates, that reads a PKCS#12 file.
...
Add private key with certificate to SecureSocket
BUG=
R=sgjesse@google.com , wtc@chromium.org
Review URL: https://codereview.chromium.org//21716004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26002 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 13:50:53 +00:00
whesse@google.com
686724212d
dart:io | Pass errors from multithreaded encryption back to Dart.
...
BUG=dartbug.com/11383
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//18500006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24765 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-04 09:21:01 +00:00
zra@google.com
3ae3d6b5b3
When cross-compiling, also build and link run_vm_tests for the host architecture.
...
E.g. for ARM, run_vm_tests for the host architecture will end up in
out/DebugARM/run_vm_tests.host.
R=iposva@google.com
Review URL: https://codereview.chromium.org//16060004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23299 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:56:07 +00:00
whesse@google.com
1179994497
dart:io | Roll third_party/nss from Chromium to revision 199075.
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//15371008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23019 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 14:41:05 +00:00
kustermann@google.com
c24e005a28
Make ninja build on mac work
...
If we use ninja as gyp backend on mac, all configurations must have the same
xcode_settings.
R=whesse@google.com
Review URL: https://codereview.chromium.org//14499010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22173 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 10:37:35 +00:00
whesse@google.com
34771fb64c
Clean up svn:ignore property and .gitignore in dart, dart/pkg, dart/runtime, and dart/samples.
...
Review URL: https://codereview.chromium.org//11421093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15392 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 14:07:53 +00:00
sgjesse@google.com
3231b9fdd7
Roll NSS to 169195.
...
This updates NSS to version 3.14.
It also contains a fix for compiling with -O3 on GCC 4.6.3.
R=whesse@google.com
Review URL: https://codereview.chromium.org//11413141
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15278 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-23 10:12:07 +00:00
whesse@google.com
105c7f112b
Add some makefiles generated by gyp for newly added targets to .gitignore.
...
BUG=
Review URL: https://codereview.chromium.org//11361262
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14900 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 16:42:29 +00:00
whesse@google.com
9dfdb4850c
Add a TlsSocket class to dart:io, that implements secure client sockets using TLS (SSL).
...
This uses the NSS (Network Security Services) libraries from Mozilla, which is a cross-platform library for SSL and TLS sockets. We use the patched version from the Chromium repository, which is checked into third_party by the DEPS file.
Review URL: https://codereview.chromium.org//10916081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14893 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 13:38:32 +00:00
whesse@google.com
92045c8c64
Change gyp flag from in_dartium to dart_io_support.
...
BUG=
Review URL: https://codereview.chromium.org//11377098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14842 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:47:31 +00:00
whesse@google.com
d131fa7e72
Disable NSS build targets in a Dartium build.
...
BUG=
Review URL: https://codereview.chromium.org//11369152
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14740 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 13:56:08 +00:00
whesse@google.com
35e84d80c4
Change names of all NSS gyp targets, so they don't conflict with the Chromium target names.
...
BUG=
Review URL: https://codereview.chromium.org//11365165
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14731 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 10:57:42 +00:00
whesse@google.com
4cf65abfa2
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
Review URL: https://codereview.chromium.org//10909189
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14730 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 10:37:45 +00:00
whesse@google.com
677bbd7d29
"Reverting 14684" - Building NSS libraries. It is causing local compilation failures.
...
BUG=
Review URL: https://codereview.chromium.org//11364150
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14688 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 16:00:02 +00:00
whesse@google.com
68456442b7
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
Review URL: https://codereview.chromium.org//10909189
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14684 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 15:07:27 +00:00
whesse@google.com
c8841879eb
Revert commit 14524, which builds NSS and NSPR libraries, for secure networking.
...
There are builders which build Windows 64-bit versions of the SDK, and the Dartium build builds the Dart runtime executable, both of which were not supported by the CL.
BUG=
Review URL: https://codereview.chromium.org//11275150
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14527 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:53:42 +00:00
whesse@google.com
fcd4c3da98
This change depends on changelist 11341038, which checks out third_party/nss and related libraries from the Chromium repository into third_party in the Dart repository, and on changelist 11343039, which adds platform-specific files for linux to the Chromium repository.
...
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.
Review URL: https://codereview.chromium.org//10909189
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14524 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 13:22:31 +00:00