Tristan Ross
Tristan Ross
It's probably not entirely working correctly but it almost is. I've gtg but I'll be back in like an hour to continue. If there's any fixes @milahu can work on...
I'm back and I've figured it out. I'll have the fixes out in a little bit. Some dependencies have common ones so we just gotta symlink them.
Engine now builds (again) but we're using our own toolchain now and the better cross-compiling setup has been added in.
I just refactored a bunch of stuff so it's possible to use custom versions and have multiple versions of the engine in the repos. `flutter-engine` just links to `flutter-engineVersions.latest` which...
Cross compiling should work better now
Haven't found a solution to fixing the missing linked libraries ``` $ ldd result/lib/flutter/out/debug/libflutter_engine.so linux-vdso.so.1 (0x00007ffc45f23000) libm.so.6 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib/libm.so.6 (0x00007fec9fdab000) libc.so.6 => /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib/libc.so.6 (0x00007fec9fba2000) /nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib64/ld-linux-x86-64.so.2 (0x00007feca2136000) $ ldd result/lib/flutter/out/debug/libflutter_linux_gtk.so linux-vdso.so.1...
I've set `platforms` to have only `x86_64-linux` since CIPD is missing dependencies we need for other platforms. Until we can find a workaround, `flutter-engine` will only support that.
Just fixed the pkg-config files in the main package.
Ok, the engine now works with the Flutter tool.
I might refactor this to use FHS soon. I just need to find the time.