Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter-team-archive/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 995d8903e074
Choose a base ref
...
head repository: flutter-team-archive/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1e199ce6239d
Choose a head ref
  • 1 commit
  • 58 files changed
  • 1 contributor

Commits on Mar 15, 2024

  1. [Fuchsia] Remove the use of //build/ in fuchsia (#51072)

    ### Motivation of the change:
    
    Both dart and flutter are using fairly outdated gn-sdk without properly maintained. Currently @hjfreyer is working on version'ed IDK / SDK libs which requires changes in gn-sdk to use the right version of the libs in fuchsia/sdk/obj/{arch}-api-{level} rather than the one in the fuchsia/sdk/arch. But current implementation does not support choosing the right version.
    
    ### Blocking issue:
    
    The new gn-sdk (in flutter/tools/fuchsia/gn-sdk) generates multiple BUILD.gn files rather than a large BUILD.gn the previous version created. So most of the build rules need to switch from the old `fidl:{api}` build rule to `fidl/{api}` rule. The same change will happen in the dart/sdk, i.e. http://go/dart-reviews/356924. But since the two repos cannot have one single atomic change, changing either side first will cause flutter to break. E.g. the linkage error caused by duplicated symbols will happen if we change the dart/sdk first, since in flutter, it will still refer to the old build rules in the middle.
    
    ### Solutions:
    
    Ideally we can create redirect rules in the current `build/fuchsia` buildroot tree to redirect the old rules into the new one, so we can make the change in the flutter first then dart/sdk. But creating the rules is not trivial and will only be used once.
    
    So an alternative solution is
    
    - pause the dart/sdk -> flutter roll
    - submit dart/sdk change (http://go/dart-reviews/356924)
    - update this change to manually bring the dart/sdk change, namely the `dart_revision` in the DEPS file and signatures in the ci/licences.
    - resume the dart/sdk -> flutter roll.
    
    But it requires this change itself to be reviewed first, and I'd like to know your opinion before moving forward.
    
    See corresponding dart/sdk change at http://go/dart-reviews/356924.
    
    ### //build/fuchsia/ from buildroot should be removed after this change.
    
    Bug: [b/40935282](https://issues.chromium.org/issues/40935282?pli=1&authuser=0)
    
    FYI: @hjfreyer 
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    zijiehe-google-com authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    1e199ce View commit details
    Browse the repository at this point in the history
Loading