Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Issue 12321082: - Properly load the core libraries as libraries and not as scripts. (Closed)

Created:
7 years, 10 months ago by Ivan Posva
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Properly load the core libraries as libraries and not as scripts. This will honor their imports and library names. Committed: https://code.google.com/p/dart/source/detail?r=19017

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -332 lines) Patch
M runtime/bin/dartutils.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A runtime/lib/core_patch.dart View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/lib/lib_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/mirrors_patch.dart View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/tests/vm/dart/isolate_mirror_local_test.dart View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M runtime/vm/bootstrap.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/bootstrap.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/bootstrap_natives.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/bootstrap_nocorelib.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 2 chunks +3 lines, -12 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 10 chunks +53 lines, -278 lines 2 comments Download
M runtime/vm/parser.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 8 chunks +28 lines, -17 lines 0 comments Download
M sdk/lib/_collection_dev/collection_dev_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/async/async_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/collection/collection_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/core/corelib_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/crypto/crypto_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/isolate/isolate_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/json/json_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/math/math_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/mirrors/mirrors_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/scalarlist/scalarlist.dart View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M sdk/lib/scalarlist/scalarlist_sources.gypi View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M sdk/lib/uri/uri_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/utf/utf_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ivan Posva
7 years, 10 months ago (2013-02-22 17:25:17 UTC) #1
siva
https://codereview.chromium.org/12321082/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/12321082/diff/1/runtime/vm/object.cc#newcode838 runtime/vm/object.cc:838: Library::InitScalarlistLibrary(isolate); When we clean up the library init stuff ...
7 years, 10 months ago (2013-02-23 00:11:02 UTC) #2
Ivan Posva
PTAL -ip https://codereview.chromium.org/12321082/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/12321082/diff/1/runtime/vm/object.cc#newcode838 runtime/vm/object.cc:838: Library::InitScalarlistLibrary(isolate); On 2013/02/23 00:11:03, siva wrote: > ...
7 years, 9 months ago (2013-02-25 22:20:14 UTC) #3
siva
LGTM. (some more TODO(ager) can be removed from *sources*.gypi) https://codereview.chromium.org/12321082/diff/11002/sdk/lib/crypto/crypto_sources.gypi File sdk/lib/crypto/crypto_sources.gypi (right): https://codereview.chromium.org/12321082/diff/11002/sdk/lib/crypto/crypto_sources.gypi#newcode9 sdk/lib/crypto/crypto_sources.gypi:9: ...
7 years, 9 months ago (2013-02-25 23:12:25 UTC) #4
Ivan Posva
https://codereview.chromium.org/12321082/diff/11002/sdk/lib/crypto/crypto_sources.gypi File sdk/lib/crypto/crypto_sources.gypi (right): https://codereview.chromium.org/12321082/diff/11002/sdk/lib/crypto/crypto_sources.gypi#newcode9 sdk/lib/crypto/crypto_sources.gypi:9: # At that point crypto.dart should be the only ...
7 years, 9 months ago (2013-02-25 23:23:56 UTC) #5
Ivan Posva
Committed patchset #4 manually as r19017 (presubmit successful).
7 years, 9 months ago (2013-02-25 23:25:46 UTC) #6
Mads Ager (google)
Excellent! Thanks! I wonder if we should complicate the python script a bit to avoid ...
7 years, 9 months ago (2013-02-26 07:40:51 UTC) #7
Mads Ager (google)
7 years, 9 months ago (2013-02-26 09:08:40 UTC) #8
Message was sent while issue was closed.
On 2013/02/26 07:40:51, Mads Ager wrote:
> Excellent! Thanks!
> 
> I wonder if we should complicate the python script a bit to avoid having to
list
> the parts in the .gypi file.

That turned out to be very easy. I have uploaded a codereview to remove the
duplication of the 'part' declarations in the gypi files. Let me know what you
think: https://codereview.chromium.org/12321129/

Powered by Google App Engine
This is Rietveld 408576698