Commit Graph

40 Commits

Author SHA1 Message Date
johnmccutchan@google.com 9fb0984c9d SSE Assembler + Linux build fixes
Review URL: https://codereview.chromium.org//12223115

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18493 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 23:05:17 +00:00
iposva@google.com 44bc457424 - Fix simarm/simmips builds on Mac.
Review URL: https://codereview.chromium.org//12033063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17505 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 22:17:26 +00:00
regis@google.com be9555b2e1 Mofify vm code base so that it can be built for --arch=simmips.
Review URL: https://codereview.chromium.org//12018023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17321 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 21:46:58 +00:00
regis@google.com 350fa57800 Add mips and simmips build targets.
Review URL: https://codereview.chromium.org//11859034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17319 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 21:34:53 +00:00
gram@google.com e247b60bcd Shared library for embedding VM in Android apps.
Review URL: https://codereview.chromium.org//11419237

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15556 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 00:10:27 +00:00
ager@google.com 2ab635e6c7 Remove output directory from library path on Linux.
Move the setting of -rdynamic to the two executables that need
it (dart, dart_no_snapshot). It is needed to allow dynamically
loaded libraries to lookup the API symbols in the binary. We
use that for native extensions.

R=whesse@google.com,iposva@google.com
BUG=

Review URL: https://codereview.chromium.org//11316144

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15258 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 14:41:34 +00:00
ager@google.com 0818b5ac2f Change the xcode configuration file to use an overwritable variable
for the xcode gcc version.

This allows me to build with xcode 4 without a local patch to
build files by just creating overwrites in my ~/.gyp/include.gypi:

{
  'variables': {
    'xcode_gcc_version': 'com.apple.compilers.llvmgcc42',
    'mac_sdk': '10.7',
    'mac_deployment_target': '10.7',
  }
}

R=ahe@google.com,iposva@google.com
BUG=

Review URL: https://codereview.chromium.org//11410084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14894 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 13:45:01 +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
iposva@google.com 970fe841d3 - Emit frame pointers in C++ code: Enables better support for tools.
Review URL: https://codereview.chromium.org//11364026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14425 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 18:41:34 +00:00
kasperl@google.com 87c3813fc9 Use statically linked runtime library to avoid dependency on msvcr100.dll on windows.
R=ricow@google.com,iposva@google.com
BUG=

Review URL: https://codereview.chromium.org//11367034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14406 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 13:49:05 +00:00
jackpal@google.com 3e510176c2 Fix Android build breaks
Prevent Android's STLPort from undefining global functions from
math.h when cmath is included after math.h.

The Android STLPort does not provide std::assert or std::atexit. Use
the C versions of these functions on Android.

BUG=

Review URL: https://codereview.chromium.org//10968027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12741 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 22:04:37 +00:00
johnniwinther@google.com 5bb04a5069 MSVS output to /build/ dir.
Review URL: https://codereview.chromium.org//10933125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00
iposva@google.com b0a59f5624 - Do not pass -ansi to gcc to get va_copy.
Review URL: https://chromiumcodereview.appspot.com//10919216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12206 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 15:23:08 +00:00
ricow@google.com 4de86f1946 Update V8 to version 3.12.
This is a reapply of 11597 with a fix for duplicate Dart_Debug section in the runtime-configurations.gype.
Review URL: https://chromiumcodereview.appspot.com//10917007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11601 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:20:35 +00:00
ahe@google.com 4a89ba1dca Revert "Update V8 to 3.12."
This reverts r11597.

Review URL: https://chromiumcodereview.appspot.com//10916006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11599 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:54:23 +00:00
ahe@google.com 7197f2ab2d Update V8 to 3.12.
This includes moving some xcode settings to
runtime-configurations.gypi as they were
conflicting with v8 build.

Testing:

$ ./tools/build.py -mrelease --arch=x64,ia32
$ ./tools/test.py -mrelease --arch ia32,x64
$ file xcodebuild/ReleaseIA32/dart xcodebuild/ReleaseX64/dart xcodebuild/ReleaseIA32/d8 xcodebuild/ReleaseX64/d8
xcodebuild/ReleaseIA32/dart: Mach-O executable i386
xcodebuild/ReleaseX64/dart:  Mach-O 64-bit executable x86_64
xcodebuild/ReleaseIA32/d8:   Mach-O executable i386
xcodebuild/ReleaseX64/d8:    Mach-O executable i386

Review URL: https://chromiumcodereview.appspot.com//10892034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11597 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:43:56 +00:00
jackpal@google.com 73ffeb4418 Add support for building the Dart VM for Android OS.
The Android target OS is based upon the existing Linux target OS.
The existing _linux source files have been copied to create
corresponding _android source files. The copies have been
modified as needed to adapt to differences between the Linux
platform and the Android platform.

Currently the dart vm binary builds on Linux and runs on x86 Android,
Simple test scripts execute correctly, but no formal testing has been
done.

The process for building the Dart VM for Android will be documented on
the Dart wiki.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10823209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11547 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:42:28 +00:00
jackpal@google.com 106e96f420 Filter out _android.(cc|h) files for non-Android OS targets
This change allows us to add _android.(cc|h) files to the
source tree without affecting other OSs.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10830247

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10526 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 18:42:10 +00:00
ricow@google.com 8af43b1439 Revert 10374 - clobbering did not help.
Review URL: https://chromiumcodereview.appspot.com//10834225

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10375 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:37:44 +00:00
ricow@google.com bd3018976d Relanding 10366 - expecting a clobber to resolve the linking issue.
Review URL: https://chromiumcodereview.appspot.com//10831209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10374 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:19:42 +00:00
ricow@google.com cb8c30393c Revert 10366, this breaks the windows builders
Review URL: https://chromiumcodereview.appspot.com//10830212

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10372 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 09:06:51 +00:00
ricow@google.com 525627c2ba Fix gyp settings for builds within Visual Studio.
This is landing of a community patch from  Don J. Olmstead, see: http://code.google.com/p/dart/issues/detail?id=4296
Review URL: https://chromiumcodereview.appspot.com//10854036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10366 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 07:49:32 +00:00
cshapiro@google.com 9a3c881d10 Make the debug optimization level configurable through a variable.
Review URL: https://chromiumcodereview.appspot.com//10832125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10205 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 00:18:47 +00:00
sgjesse@google.com ae32cbae6f Disable C++ exceptions in std libraries on Windows
As Dart C++ code cannot use C++ exceptions make sure that the C++ libraries on Windows does not try to use C++ exceptions.

This gets rid of the warning

  warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc

when compiling on Windows.

R=iposva@google.com

Review URL: https://chromiumcodereview.appspot.com//10837047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10167 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 13:41:06 +00:00
ahe@google.com 96ac4bc26e Remove underscores from configurations.
Underscores don't work in Visual Studio 2010.

Review URL: https://chromiumcodereview.appspot.com//10475003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 07:41:59 +00:00
ager@google.com 6db1bc0e7b Fix Mac build.
R=ahe@google.com,sgjesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10447115

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8153 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 13:32:52 +00:00
sgjesse@google.com cb68f76b15 Update DEPS to pull V8 3.10
Review URL: https://chromiumcodereview.appspot.com//10441114

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8150 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 13:18:27 +00:00
asiva@google.com 4043c8ee0c use O2 for debug builds on mac.
Review URL: https://chromiumcodereview.appspot.com//10180014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7053 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 01:19:13 +00:00
ahe@google.com 56f34d7514 Move cygwin_dir to shared gypi file.
Review URL: https://chromiumcodereview.appspot.com//9877003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6626 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 11:53:56 +00:00
asiva@google.com 3980fcdd01 preserve frame pointers even in release build.
Review URL: https://chromiumcodereview.appspot.com//9706089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5554 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 04:09:43 +00:00
asiva@google.com f2ee2ac2b1 Tweak windows configuration file to include debug information in release builds.
Review URL: https://chromiumcodereview.appspot.com//9699088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5534 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 18:40:32 +00:00
iposva@google.com f339feaeb6 - Pass -Wno-conversion-null to Linux builds.
Review URL: https://chromiumcodereview.appspot.com//9703049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5504 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 01:06:58 +00:00
cshapiro@google.com 1ed0c15550 Supress /RTC1 when compiling /O2.
Visual Studio's run-time error checks feature is sometimes enabled in
debug builds.  However, this flag is not compatible with the optimizer
and, in a recent change, I enabled /O2 to decrease the build bot run
times on Win32 builds.  This caused an unintented breakage in Dartium
which seems to enable /RTC1 in its debug build configuration.

Review URL: https://chromiumcodereview.appspot.com//9600054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5046 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 19:42:29 +00:00
cshapiro@google.com 4bb75b2828 Enable optimizations for the Win32 debug build.
An equivalent change was recently done for the Macintosh and Linux
targets to eliminate the substantial lag between the execution time
of the release and debug builds.

As the /02 (Maximize Speed) flag implies the /Oy (Frame-Pointer Omission)
flag I have, in the interest of debugging, set OmitFramePointers to false.

Review URL: https://chromiumcodereview.appspot.com//9565047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4899 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 19:29:18 +00:00
srdjan@google.com 1f5be3818a More optimizations in debug build, makes checked mode > 3x faster.
Review URL: https://chromiumcodereview.appspot.com//9443008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4512 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 03:31:16 +00:00
srdjan@google.com aeb547c3fa Report errors with return (e.g., when missing) on Mac OS X.
Review URL: https://chromiumcodereview.appspot.com//9363041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4221 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 14:21:11 +00:00
iposva@google.com 4d3a4d6568 - Warn about variable length arrays.
Review URL: http://codereview.chromium.org//8564035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1543 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-15 19:09:19 +00:00
ager@google.com 4bf840639c Fix windows build.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@437 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 13:19:20 +00:00
dgrove@google.com 6b6b28e065 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:19 +00:00