ensure dart2js does not compile unsupported packages (#40368)

This commit is contained in:
Jonah Williams
2019-09-12 15:25:21 -07:00
committed by GitHub
parent 1667d0caa4
commit 91af071570
47 changed files with 157 additions and 116 deletions

View File

@@ -0,0 +1,7 @@
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io'; // ignore: unused_import
void main() { }

View File

@@ -0,0 +1,12 @@
name: web_compile_tests
dependencies:
flutter:
sdk: flutter
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: 1d3d

View File

@@ -0,0 +1,12 @@
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<!DOCTYPE html>
<html>
<head>
<title>Hello, World</title>
</head>
<body>
<script src="main.dart.js"></script>
</body>
</html>