Skip to content

Commit 44f1b44

Browse files
Revert "Use track-widget-creation transformer included in the sdk. (flutter#9085)" (flutter#9134)
This reverts commit 651c904. With this change applied, test/widgets/widget_inspector_test.dart is failing when run by the dev/bots/test.dart script in the framework tree.
1 parent ae14c5a commit 44f1b44

File tree

9 files changed

+667
-8
lines changed

9 files changed

+667
-8
lines changed

ci/analyze.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ if [ -n "$RESULTS" ]; then
3232
exit 1;
3333
fi
3434

35+
echo "Analyzing flutter_kernel_transformers..."
36+
RESULTS=`dartanalyzer \
37+
--packages=flutter/flutter_kernel_transformers/.packages \
38+
--options flutter/analysis_options.yaml \
39+
flutter/flutter_kernel_transformers \
40+
2>&1 \
41+
| grep -Ev "No issues found!" \
42+
| grep -Ev "Analyzing.+flutter_kernel_transformers"`
43+
echo "$RESULTS"
44+
if [ -n "$RESULTS" ]; then
45+
echo "Failed."
46+
exit 1;
47+
fi
48+
3549
echo "Analyzing tools/licenses..."
3650
(cd flutter/tools/licenses && pub get)
3751
RESULTS=`dartanalyzer \

ci/licenses_golden/licenses_flutter

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ FILE: ../../../flutter/flow/texture.cc
8888
FILE: ../../../flutter/flow/texture.h
8989
FILE: ../../../flutter/flow/view_holder.cc
9090
FILE: ../../../flutter/flow/view_holder.h
91+
FILE: ../../../flutter/flutter_kernel_transformers/lib/track_widget_constructor_locations.dart
9192
FILE: ../../../flutter/fml/base32.cc
9293
FILE: ../../../flutter/fml/base32.h
9394
FILE: ../../../flutter/fml/base32_unittest.cc

flutter_kernel_transformers/BUILD.gn

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2013 The Flutter Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
assert(is_fuchsia || is_fuchsia_host)
6+
7+
import("//build/dart/dart_library.gni")
8+
9+
dart_library("flutter_kernel_transformers") {
10+
disable_analysis = true
11+
package_name = "flutter_kernel_transformers"
12+
13+
sources = [
14+
"track_widget_constructor_locations.dart",
15+
]
16+
17+
deps = [
18+
"//third_party/dart-pkg/pub/meta",
19+
"//third_party/dart/pkg/front_end",
20+
"//third_party/dart/pkg/kernel",
21+
"//third_party/dart/pkg/vm",
22+
]
23+
}

0 commit comments

Comments
 (0)