flutter/dev/bots/allowlist.dart
Polina Cherkasova dcbb2de0ad
Add dependency on leak_tracker to flutter_test. (#137069)
Contributes to: https://github.com/flutter/flutter/issues/135856

This PR also adds transitive dependency on  web_socket_channel, crypto, typed_data. `web_socket_channel` is needed to request retaining path for not GCed objects from VM Service. Two others are needed to serve web_socket_channel.

The dependency on leak_tracker is pinned:
aea562114c/packages/flutter_tools/lib/src/commands/update_packages.dart (L40)
2023-10-25 02:45:26 +00:00

59 lines
1.7 KiB
Dart

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The SDK package allowlist for the flutter, flutter_test, flutter_driver, flutter_localizations,
/// and integration_test packages.
///
/// The goal of the allowlist is to make it more difficult to accidentally add new dependencies
/// to the core SDK packages that users depend on. Any dependencies added to this set can have a
/// large impact on the allowed version solving of a given flutter application because of how
/// the SDK pins to an exact version.
///
/// Before adding a new Dart Team owned dependency to this set, please clear with natebosch@
/// or jakemac53@. For other packages please contact hixie@ or zanderso@.
///
/// You may remove entries from this list at any time, but once removed they must stay removed
/// unless the additions are cleared as described above.
const Set<String> kCorePackageAllowList = <String>{
// Please keep this list in alphabetical order.
'async',
'boolean_selector',
'characters',
'clock',
'collection',
'crypto',
'fake_async',
'file',
'flutter',
'flutter_driver',
'flutter_localizations',
'flutter_test',
'fuchsia_remote_debug_protocol',
'integration_test',
'intl',
'leak_tracker',
'leak_tracker_testing',
'leak_tracker_flutter_testing',
'matcher',
'material_color_utilities',
'meta',
'path',
'platform',
'process',
'sky_engine',
'source_span',
'stack_trace',
'stream_channel',
'string_scanner',
'sync_http',
'term_glyph',
'test_api',
'typed_data',
'vector_math',
'vm_service',
'web',
'webdriver',
'web_socket_channel',
};