mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
[flutter_tools] copy flutter_texture_registrar.h header on Windows (#61098)
This commit is contained in:
parent
ac1ebf4889
commit
afe790775b
|
@ -22,6 +22,7 @@ const List<String> _kWindowsArtifacts = <String>[
|
||||||
'flutter_export.h',
|
'flutter_export.h',
|
||||||
'flutter_messenger.h',
|
'flutter_messenger.h',
|
||||||
'flutter_plugin_registrar.h',
|
'flutter_plugin_registrar.h',
|
||||||
|
'flutter_texture_registrar.h',
|
||||||
'flutter_windows.h',
|
'flutter_windows.h',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ list(APPEND FLUTTER_LIBRARY_HEADERS
|
||||||
"flutter_windows.h"
|
"flutter_windows.h"
|
||||||
"flutter_messenger.h"
|
"flutter_messenger.h"
|
||||||
"flutter_plugin_registrar.h"
|
"flutter_plugin_registrar.h"
|
||||||
|
"flutter_texture_registrar.h"
|
||||||
)
|
)
|
||||||
list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
|
list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
|
||||||
add_library(flutter INTERFACE)
|
add_library(flutter INTERFACE)
|
||||||
|
|
|
@ -56,6 +56,7 @@ void main() {
|
||||||
'$windowsDesktopPath\\flutter_windows.dll.lib',
|
'$windowsDesktopPath\\flutter_windows.dll.lib',
|
||||||
'$windowsDesktopPath\\flutter_windows.dll.pdb',
|
'$windowsDesktopPath\\flutter_windows.dll.pdb',
|
||||||
'$windowsDesktopPath\\flutter_plugin_registrar.h',
|
'$windowsDesktopPath\\flutter_plugin_registrar.h',
|
||||||
|
'$windowsDesktopPath\\flutter_texture_registrar.h',
|
||||||
'$windowsDesktopPath\\flutter_windows.h',
|
'$windowsDesktopPath\\flutter_windows.h',
|
||||||
icuData,
|
icuData,
|
||||||
'$windowsCppClientWrapper\\foo',
|
'$windowsCppClientWrapper\\foo',
|
||||||
|
@ -79,6 +80,7 @@ void main() {
|
||||||
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_export.h'), exists);
|
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_export.h'), exists);
|
||||||
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_messenger.h'), exists);
|
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_messenger.h'), exists);
|
||||||
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_plugin_registrar.h'), exists);
|
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_plugin_registrar.h'), exists);
|
||||||
|
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_texture_registrar.h'), exists);
|
||||||
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_windows.h'), exists);
|
expect(fileSystem.file(r'C:\windows\flutter\ephemeral\flutter_windows.h'), exists);
|
||||||
expect(fileSystem.file('C:\\windows\\flutter\\ephemeral\\$icuData'), exists);
|
expect(fileSystem.file('C:\\windows\\flutter\\ephemeral\\$icuData'), exists);
|
||||||
expect(fileSystem.file('C:\\windows\\flutter\\ephemeral\\$windowsCppClientWrapper\\foo'), exists);
|
expect(fileSystem.file('C:\\windows\\flutter\\ephemeral\\$windowsCppClientWrapper\\foo'), exists);
|
||||||
|
@ -103,6 +105,7 @@ void main() {
|
||||||
'$windowsDesktopPath\\flutter_windows.dll.lib',
|
'$windowsDesktopPath\\flutter_windows.dll.lib',
|
||||||
'$windowsDesktopPath\\flutter_windows.dll.pdb',
|
'$windowsDesktopPath\\flutter_windows.dll.pdb',
|
||||||
'$windowsDesktopPath\\flutter_plugin_registrar.h',
|
'$windowsDesktopPath\\flutter_plugin_registrar.h',
|
||||||
|
'$windowsDesktopPath\\flutter_texture_registrar.h',
|
||||||
'$windowsDesktopPath\\flutter_windows.h',
|
'$windowsDesktopPath\\flutter_windows.h',
|
||||||
icuData,
|
icuData,
|
||||||
'$windowsCppClientWrapper\\foo',
|
'$windowsCppClientWrapper\\foo',
|
||||||
|
@ -115,6 +118,7 @@ void main() {
|
||||||
r'C:\windows\flutter\ephemeral\flutter_windows.dll.lib',
|
r'C:\windows\flutter\ephemeral\flutter_windows.dll.lib',
|
||||||
r'C:\windows\flutter\ephemeral\flutter_windows.dll.pdb',
|
r'C:\windows\flutter\ephemeral\flutter_windows.dll.pdb',
|
||||||
r'C:\windows\flutter\ephemeral\flutter_plugin_registrar.h',
|
r'C:\windows\flutter\ephemeral\flutter_plugin_registrar.h',
|
||||||
|
r'C:\windows\flutter\ephemeral\flutter_texture_registrar.h',
|
||||||
r'C:\windows\flutter\ephemeral\flutter_windows.h',
|
r'C:\windows\flutter\ephemeral\flutter_windows.h',
|
||||||
'C:\\windows\\flutter\\ephemeral\\$icuData',
|
'C:\\windows\\flutter\\ephemeral\\$icuData',
|
||||||
'C:\\windows\\flutter\\ephemeral\\$windowsCppClientWrapper\\foo',
|
'C:\\windows\\flutter\\ephemeral\\$windowsCppClientWrapper\\foo',
|
||||||
|
|
Loading…
Reference in a new issue