Files
sdk/pkg/vm/pubspec.yaml
T
Moritz a3568286ff Adding the resource-identifier functionality from the compiler to the
vm.

This identifies all calls to static methods annotated with
`@ResourceIdentifier`, collects the constant arguments passed to the
method, and writes the results into a file.

The purpose of this feature is to be able to pass the recorded
information to packages in a post-compilation step, allowing them to
remove or modify assets based on the actual usage in the code prior to
bundling in the final application.

Tested: pkg/vm/test/transformations/resource_identifier_test.dart
Change-Id: I58cb313b66ee23c1d154dcc242547723a1ced359
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329961
Commit-Queue: Moritz Sümmermann <mosum@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2023-11-21 15:05:35 +00:00

29 lines
613 B
YAML

name: vm
description: VM specific Dart code and helper scripts
# This package is not intended for consumption on pub.dev. DO NOT publish.
publish_to: none
environment:
sdk: '>=3.0.0 <4.0.0'
# Use 'any' constraints here; we get our versions from the DEPS file.
dependencies:
args: any
build_integration: any
collection: any
crypto: any
front_end: any
kernel: any
package_config: any
yaml: any
path: any
# Use 'any' constraints here; we get our versions from the DEPS file.
dev_dependencies:
dart2wasm: any
expect: any
json_rpc_2: any
lints: any
test: any
web_socket_channel: any