dart-sdk/runtime
sgjesse@google.com bf67f24098 Move assert.h/assert.cc from runtime/vm to runtime/platform
The purpose of this change is twofold:

1. Source in the bin directory can now use the same assertions as
   source in the vm directory. The ASSERT macro used by the code
   in runtime/bin was just defined to use assert from the standard
   C library.
2. Moving other implementation parts from runtime/vm to
   runtime/platform (e.g. classes Monitor and Mutex) for sharing
   between runtime/bin and runtime/vm will be easier as these
   implementations rely on these assertion macros.

Created two gypi files for the platform directory. One for the
headers and one for the source. The source one is only included
when building the VM library and will be present in libdart.a
when the dart executable is linked.

All the code for asserts is still in the dart namespace.

Also re-arranged the order of includes to be alphabetically in
the files touched.

R=ager@google.com, iposva@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//9189003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3335 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-16 12:28:10 +00:00
..
bin Move assert.h/assert.cc from runtime/vm to runtime/platform 2012-01-16 12:28:10 +00:00
include Do not use C++ const references in the C interface. 2011-12-21 17:50:38 +00:00
lib Move assert.h/assert.cc from runtime/vm to runtime/platform 2012-01-16 12:28:10 +00:00
platform Move assert.h/assert.cc from runtime/vm to runtime/platform 2012-01-16 12:28:10 +00:00
tests/vm Thread pool changes 2012-01-09 07:38:30 +00:00
third_party Updated to latest double-conversion library version. 2011-12-19 23:29:37 +00:00
tools Print the failing command if we run into trouble while creating snapshot. 2011-11-23 23:41:35 +00:00
vm Move assert.h/assert.cc from runtime/vm to runtime/platform 2012-01-16 12:28:10 +00:00
.gitignore Add .gitignore file to never ignore the runtime/bin directory 2012-01-12 07:42:13 +00:00
codereview.settings update codereview.settings for open-sourcing. 2011-10-10 06:43:32 +00:00
dart-runtime.gyp First bits of external debugger API 2011-12-07 22:13:49 +00:00
PRESUBMIT.py Initial checkin. 2011-10-05 05:20:07 +00:00