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

Issue 2938903003: Add a vmservice_sdk directory in runtime/bin. (Closed)

Created:
3 years, 6 months ago by sivachandra
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org, aam
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add a vmservice_sdk directory in runtime/bin. This directory has a libraries.json file pointing to vmservice_io and _vmservice in the source tree. The script tools/patch_sdk.dart has been updated to use this new directory as the sdk directory when compiling dart:vmservice_io. This way, to build vmservice_io.dill, we do not need to copy the dart files pertaining to vmservice_io and _vmservice. Fixes #29859 R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/65a5707189dec6c5e0174cbc821acfb90f0c9b3f

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Compile dart:vmservice_io only if !forFlutter #

Total comments: 1

Patch Set 4 : Compile dart:vmservice_io only if forVm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -18 lines) Patch
A runtime/bin/vmservice_sdk/lib/libraries.json View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/patch_sdk.dart View 1 2 3 2 chunks +16 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
sivachandra
See the discussion around this change here: https://github.com/dart-lang/sdk/issues/29859
3 years, 6 months ago (2017-06-15 00:05:46 UTC) #2
Siggi Cherem (dart-lang)
lgtm, but please wait for Peter to chime in as well. +aam - just FYI, ...
3 years, 6 months ago (2017-06-15 01:10:19 UTC) #3
sivachandra
Addressed comments in patch set 2. https://codereview.chromium.org/2938903003/diff/1/tools/patch_sdk.dart File tools/patch_sdk.dart (right): https://codereview.chromium.org/2938903003/diff/1/tools/patch_sdk.dart#newcode123 tools/patch_sdk.dart:123: Uri sdkDir = ...
3 years, 6 months ago (2017-06-15 06:10:54 UTC) #4
Siggi Cherem (dart-lang)
lgtm I think Peter just didn't get the chance to reply, but I talked informally ...
3 years, 6 months ago (2017-06-15 17:43:39 UTC) #5
sivachandra
https://codereview.chromium.org/2938903003/diff/20001/tools/patch_sdk.dart File tools/patch_sdk.dart (right): https://codereview.chromium.org/2938903003/diff/20001/tools/patch_sdk.dart#newcode133 tools/patch_sdk.dart:133: Uri vmserviceSdk = repositoryDir.resolve('runtime/bin/vmservice_sdk/'); On 2017/06/15 17:43:39, Siggi Cherem ...
3 years, 6 months ago (2017-06-15 18:34:21 UTC) #6
Siggi Cherem (dart-lang)
small change below, otherwise looks good! https://codereview.chromium.org/2938903003/diff/40001/tools/patch_sdk.dart File tools/patch_sdk.dart (right): https://codereview.chromium.org/2938903003/diff/40001/tools/patch_sdk.dart#newcode132 tools/patch_sdk.dart:132: if (!forFlutter) { ...
3 years, 6 months ago (2017-06-15 19:43:25 UTC) #7
sivachandra
3 years, 6 months ago (2017-06-15 20:08:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
65a5707189dec6c5e0174cbc821acfb90f0c9b3f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698