1// Copyright 2014 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
5import 'build_info.dart';
6import 'project.dart';
7
8/// An interface to enable overriding native assets build logic in other
9/// build systems.
10abstract class TestCompilerNativeAssetsBuilder {
11 Future<Uri?> build(BuildInfo buildInfo);
12
13 /// Returns the Windows native assets build directory.
14 ///
15 /// By prepending the PATH environment variable for the flutter tester with the
16 /// return value of this function, DLLs in the native assets build directory can
17 /// be found by the dynamic linker. This is necessary to support native asset
18 /// libraries that dynamically link to other libraries.
19 String windowsBuildDirectory(FlutterProject project);
20}
21