5cbf10febe
This reverts commit ef0e4ea107.
Reason for revert: Flutter HHH and golem builds are red. Rolls to Flutter are failing.
TEST=N/A
Original change's description:
> [ VM / DDS / CLI ] Add DevTools support to the standalone VM
>
> Example output on stdout when DevTools is enabled:
>
> Observatory listening on http://127.0.0.1:8181/CzkZzZaONW4=/
> The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/devtools/#/?uri=ws%3A%2F%2F127.0.0.1%3A8181%2FCzkZzZaONW4%3D%2Fws
> hello world!
>
> vm-service: isolate(1674461414267555) 'main' has no debugger attached and is paused at exit. Connect to Observatory at http://127.0.0.1:8181/CzkZzZaONW4=/ to debug.
>
> TEST=pkg/dartdev/test/commands/run_test.dart
>
> Change-Id: Icd1afda87ad4a46f228125d53094d10adf8056ec
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/188361
> Commit-Queue: Ben Konyi <bkonyi@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>
# Not skipping CQ checks because original CL landed > 1 day ago.
Change-Id: I50e8dc4e592e13b44c2fb980b2029d5c5cc3ad2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/198381
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
42 lines
875 B
Bash
Executable File
42 lines
875 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright 2021 The Dart Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
set -ex #echo on
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: update.sh revision"
|
|
exit 1
|
|
fi
|
|
|
|
tmpdir=$(mktemp -d)
|
|
cleanup() {
|
|
rm -rf "$tmpdir"
|
|
}
|
|
|
|
trap cleanup EXIT HUP INT QUIT TERM PIPE
|
|
cd "$tmpdir"
|
|
|
|
# Clone DevTools and build.
|
|
git clone git@github.com:flutter/devtools.git
|
|
cd devtools
|
|
git checkout -b cipd_release $1
|
|
|
|
./tool/build_release.sh
|
|
|
|
# Copy the build output as well as the devtools packages needed
|
|
# to serve from DDS.
|
|
mkdir cipd_package
|
|
cp -R packages/devtools/build/ cipd_package/web
|
|
cp -r packages/devtools_server cipd_package
|
|
cp -r packages/devtools_shared cipd_package
|
|
|
|
cipd create \
|
|
-name dart/third_party/flutter/devtools \
|
|
-in cipd_package \
|
|
-install-mode copy \
|
|
-tag revision:$1
|
|
|