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

Only allow mappings for ICU initialization. #8656

Merged
merged 1 commit into from
Apr 19, 2019

Conversation

chinmaygarde
Copy link
Member

If the mapping callback is not set or it the callback returns invalid data, ICU initialization will be embedder responsibility.

This affects all embedders and the following have been audited:

  • Android: Via a symbol mapping.
  • iOS: Via a file mapping.
  • Embedder: Via a file mapping.
  • Fuchsia: Via a VMO mapping
  • Test shells and Flutter tester: Via file mapping with ICU data needing to be next to the executable.

If the mapping callback is not set or it the callback returns invalid data, ICU initialization will be embedder responsibility.

This affects all embedders and the following have been audited:
Android: Via a symbol mapping.
iOS: Via a file mapping.
Embedder: Via a file mapping.
Fuchsia: Via a VMO mapping
Test shells and Flutter tester: Via file mapping with ICU data needing to be next to the executable.
@chinmaygarde chinmaygarde merged commit bd8c5b1 into flutter:master Apr 19, 2019
@chinmaygarde chinmaygarde deleted the icurefactor branch April 19, 2019 22:01
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 19, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 20, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 21, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 22, 2019
liyuqian added a commit that referenced this pull request Apr 22, 2019
liyuqian added a commit that referenced this pull request Apr 22, 2019
This reverts commit bd8c5b1.

Reverts #8656

Reason:  #8656 seems to break the framework windows tests and the engine roll (see https://cirrus-ci.com/task/4704667236827136 and flutter/flutter#31330). The failure has been consistent for 7 consecutive engine-to-framework auto-rolls.

TBR: @chinmaygarde
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 22, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 22, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 22, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Apr 22, 2019
flutter/engine@206cab6...ea28bfa

git log 206cab6..ea28bfa --no-merges --oneline
ea28bfa Custom RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8683)
1c9457c Revert "Only allow mappings for ICU initialization. (#8656)" (flutter/engine#8682)
b4ed303 Revert "RTL handling for ghost runs, NotoNaskhArabic test font (#8638)" (flutter/engine#8681)
8b5f776 Remove support for downloading dynamic patches. (flutter/engine#8663)
1bcb96b Add framework test in engine presubmit checks (flutter/engine#8664)
6e79dcd RTL handling for ghost runs, NotoNaskhArabic test font (flutter/engine#8638)
c37d459 Roll src/third_party/skia 1c0b05afdef8..a76fad2d494a (4 commits) (flutter/engine#8665)
2e4f0a4 Put the testing lib in the flutter namespace. (flutter/engine#8661)
1239df9 Allow native bindings in secondary isolates. (flutter/engine#8658)
b0cbce4 Replace ThreadLocal with ThreadLocalUniquePtr<T> (flutter/engine#8659)
bd8c5b1 Only allow mappings for ICU initialization. (flutter/engine#8656)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants