Commit graph

28 commits

Author SHA1 Message Date
Zachary Anderson 9ab8b55663 [gn] Split target arch/os defines from dart_config
This is a baby-step towards building an SDK targeting the host arch
during a cross-build. This will require a similar update to the use
of dart_config in the Flutter engine at //flutter/lib/io/BUILD.gn:19.

Change-Id: I8b871cceb53038cab8407264664c5ce545e6e010
Reviewed-on: https://dart-review.googlesource.com/17523
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2017-10-31 17:33:13 +00:00
Zach Anderson 0394d3a0cf [infra] Begin removing gyp
This CL begins removing gyp from Dart's tree.

Removing gyp will go in three stages:
1. Remove unused .gyp and .gypi files.
2. Translate *_sources.gypi files to *_sources.gni files
3. Remove //third_party/gyp from DEPS

This CL is stage 1.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2992593002 .
2017-08-04 22:19:35 -07:00
Ryan Macnak dd996fc4be [fuchsia] Make symbols in the Dart VM visible, so they are available to the profiler.
R=zra@google.com

Review-Url: https://codereview.chromium.org/2946123002 .
2017-06-20 15:21:07 -07:00
Erik Corry aa6353b6da Dart SDK Spelling b, c, and d.
R=kmillikin@google.com
BUG=

Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Erik Corry 2fb5d08102 Spelling a
R=ahe@google.com
BUG=

Review-Url: https://codereview.chromium.org/2841543002 .
2017-04-24 14:53:51 +02:00
Zachary Anderson c1313a5ec7 Format GN files and add a presubmit check that GN is properly formatted
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2451613005 .
2016-10-26 08:50:54 -07:00
Ivan Posva 890c86251a - Add binary size analysis tool from Chromium.
BUG=
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1754443002 .
2016-03-01 10:06:07 -08:00
Ryan Macnak e8a3292620 Update double-conversion and reapply NO_LINTs.
Fixes a -Werror=strict-overflow in gcc 5.2.1.

56a04575a4

BUG=http://dartbug.com/25630
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1658343002 .
2016-02-02 14:30:03 -08:00
Daniel Andersson c3a9aa21d6 error can shift more than 32 bits.
From upstream fix:
0d25506a2e

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1239493002 .
2015-07-13 08:50:37 -07:00
iposva@google.com 320b0e5541 - Remove JSCRE from the runtime.
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44987 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-08 23:59:23 +00:00
zra@google.com 9c352e0898 Moves BUILD.gn config from root to runtime.
Cannot checkout a single file from svn through gclient.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41677 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 22:59:00 +00:00
zra@google.com b4d3762221 Adds GN build files for building in GN based projects.
Review URL: https://codereview.chromium.org//690923003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41673 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 22:03:55 +00:00
zra@google.com ec1140b188 Adds support for building arm64 Android.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39844 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 23:31:51 +00:00
rmacnak@google.com ccf8156e82 Fix clang compilation error in jscre.
../../dart/runtime/third_party/jscre/pcre_internal.h:412:5: error: implicit conversion of NULL constant to 'int' [-Werror,-Wnull-conversion]
    ASSERT(isBracketStartOpcode(*opcodePtr) || *opcodePtr == OP_ALT);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../dart/runtime/third_party/jscre/pcre_internal.h:86:72: note: expanded from macro 'ASSERT'
#define ASSERT(x) if (!(x)) *(reinterpret_cast<volatile int*>(NULL)) = NULL

BUG=http://dartbug.com/19324
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39276 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-14 23:19:05 +00:00
iposva@google.com 9da10a1da3 - Assertions need to "touch" their conditions to avoid errors such as:
runtime/third_party/double-conversion/src/cached-powers.cc:134:18: error: unused variable 'kCachedPowersLength' [-Werror,-Wunused-const-variable]
static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers);

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33168 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 18:24:24 +00:00
iposva@google.com 17759bc835 - Update runtime/third_party/double-conversion to version 1.1.5.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33167 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 17:48:35 +00:00
iposva@google.com c07e740d5d - Make sure values are "used" as part of ASSERT even when compiling optimized.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28528 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 17:02:45 +00:00
iposva@google.com 83bf536748 - Fix double-increment in bignum library code.
Review URL: https://codereview.chromium.org//23757005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26881 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 17:08:12 +00:00
zra@google.com e6cf04a8bb Changes to run "Hello, world!" on MIPS hardware.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23484 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 18:41:41 +00:00
zra@google.com dae5068650 Enables cross-compilation of the VM for ARM.
Uses the "toolset" feature of gyp to build the dart VM
for ARM, but restricts building of snapshot generation
to the host machine.

For generated source files, it also changes to using
LIB_DIR instead of SHARED_INTERMEDIATE_DIR to avoid
generation of duplicate Makefile rules (gyp doesn't
know that generated source files from toolchains it
thinks are different will be the same.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21757 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 18:05:44 +00:00
tball@google.com 3ca9ed33bc Fixed warnings reported by clang compiler.
Review URL: https://codereview.chromium.org//11823067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16982 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 19:17:28 +00:00
iposva@google.com 0b1b94c9e3 - Proper inclusion of gypi files, so that they do not override
existing build flags.
Review URL: https://chromiumcodereview.appspot.com//9701054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5505 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 01:07:15 +00:00
floitsch@google.com 173ffa2012 Updated to latest double-conversion library version.
Review URL: http://codereview.chromium.org//9001001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2601 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 23:29:37 +00:00
floitsch@google.com a8543e8bb8 Integrate double-conversion into build-process.
Review URL: http://codereview.chromium.org//8725003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1872 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-28 19:04:33 +00:00
floitsch@google.com 326417a3ba double-conversion drop.
Not yet integrated into build process.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1870 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-28 18:38:38 +00:00
antonm@google.com cf53ea78d7 Make DartVM build with clang.
Review URL: http://codereview.chromium.org//8381037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@966 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 19:07:48 +00:00
asiva@google.com fdb5d9a607 Fix compilation warnings/errors seen with newer versions of gcc compiler.
Review URL: http://codereview.chromium.org//8222017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@321 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 00:37:11 +00:00
dgrove@google.com 4c0f559d23 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:20:07 +00:00