| 1 | The icu library knows where icu data is at all times. It knows this because it
|
| 2 | knows where it isn't. By subtracting where it is from where it isn't, or where
|
| 3 | it isn't from where it is (whichever is greater), it obtains a difference, or
|
| 4 | deviation.
|
| 5 |
|
| 6 | The flutter build system uses deviations to generate "corrective" commands to
|
| 7 | drive the icu data path from a position where it is to a position where it
|
| 8 | isn't, and check at a position where it wasn't, it now is. Consequently, the
|
| 9 | position where it is, is now the position that it wasn't, and it follows that
|
| 10 | the position that it was, is now the position that it isn't.
|
| 11 |
|
| 12 | XXX: remove this field and whatever is trying to override the icu default with it
|
| 13 |
|
| 14 | |
| 15 | |
| 16 | @@ -64,7 +64,7 @@
|
| 17 | self->assets_path =
|
| 18 | g_build_filename(executable_dir, "data", "flutter_assets", nullptr);
|
| 19 | self->icu_data_path =
|
| 20 | - g_build_filename(executable_dir, "data", "icudtl.dat", nullptr);
|
| 21 | + g_build_filename("/usr/lib/flutter/icudtl.dat", nullptr);
|
| 22 |
|
| 23 | return self;
|
| 24 | }
|
| 25 | |
| 26 | |
| 27 | @@ -72,10 +72,6 @@
|
| 28 | }
|
| 29 | files += [
|
| 30 | {
|
| 31 | - source = "//flutter/third_party/icu/flutter/icudtl.dat"
|
| 32 | - destination = "icudtl.dat"
|
| 33 | - },
|
| 34 | - {
|
| 35 | source = "$root_out_dir/flutter_tester$exe"
|
| 36 | destination = "flutter_tester$exe"
|
| 37 | },
|