Content-Length: 303700 | pFad | https://github.com/flutter/flutter/issues/57146

38 Allow copying engine artifacts before starting native build tool · Issue #57146 · flutter/flutter · GitHub
Skip to content

Allow copying engine artifacts before starting native build tool #57146

@stuartmorgan-g

Description

@stuartmorgan-g

Currently, for all of the desktop builds, we trigger the native build (Xcode, make, etc.) and that eventually calls into the backend script that copies engine artifacts like the library and the C++ client wrappers.

I'm in the process of converting Linux (and maybe Windows) to CMake, and with CMake the best option is to have the build files live next to the things they are building; in the case of then engine artifacts it would not only make the build structure cleaner and more modular, but it would mean that we could retain long-term control over those files. For instance, the client wrapper targets could be updated if the set of client wrapper files changed, without breaking existing consumers.

However, the CMake step is the very first step in the build, so we can't call it without already having all the CMakeLists.txt files in place. In order for them to live with the artifacts, we'd need to be able to trigger the artifact copying earlier, from, e.g., build_linux.dart, just before doing CMake generation.

/cc @jonahwilliams

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: buildBuilding flutter applications with the toola: desktopRunning on desktopplatform-linuxBuilding on or for Linux specificallyplatform-windowsBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/57146

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy