1043 Commits

Author SHA1 Message Date
skia-flutter-autoroll
20d6ee8e38 Roll Fuchsia Linux SDK from sfNdyearqmEM2cMA4... to zn1YjnshPG5NX5fCx... (flutter/engine#36749) 2022-10-14 07:49:17 +00:00
Chris Bracken
da87c7cab3 [iOS] Eliminate framework bitcode stripping flag (flutter/engine#36628)
Eliminates the `--strip-bitcode` flag from the `create_ios_framework.py`
and `create_full_ios_framework.py` scripts.

Issue: https://github.com/flutter/flutter/issues/107884
2022-10-06 12:35:02 -07:00
Chris Bracken
ad77065cad [macOS][iOS] Eliminate strip_bitcode action (flutter/engine#36627)
Eliminates the `strip_bitcode` GN rule defined in
//flutter/sky/tools/mac.gni and the related script at
//flutter/sky/tools/strip_bitcode.py.

As of Xcode 14, bitcode is deprecated, no longer enabled by default, and
generates a warning message if a project enables it. Bitcode support
will be removed entirely from a future version of Xcode.

The `strip_bitcode` rule had two purposes:
1. Copy the binary specified by its input parameter to the path
   specified by its output parameter.
2. Strip bitcode segments as it does so.

While we no longer require the second of these functions, we still use
the first to create a `gen_snapshot` binary suffixed with the target
architecture. This replaces `strip_bitcode` with the built-in gn `copy`
rule instead.

Issue: https://github.com/flutter/flutter/issues/107884
Issue: https://github.com/flutter/flutter/issues/112896
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/103386
2022-10-05 16:26:35 -07:00
Ian Hickson
4f876b36ac Sort licenses by body (flutter/engine#36577) 2022-10-05 08:46:33 +00:00
Chris Bracken
d6d0909b65 Generalise gen_snapshots.py to strip_bitcode.py (flutter/engine#36496)
The gen_snapshots.py tool is used to copy an input gen_snapshot to an
output path with an architecture-specific suffix. For example, to copy
gen_snapshot to gen_snapshot_arm64. Bitcode segments, if any, are
stripped.

This moves the input/output filename hardcoding into the BUILD.gn file
and generalises the logic to simply copy an input binary to an output
path with bitcode segments stripped. Since the tool is no longer
gen_snapshot specific, we rename it from gen_snapshots.py to
strip_bitcode.py.

This also renames the generalised `macos_gen_snapshots` rule to
`strip_bitcode`.

Since we're working on removing bitcode support from the engine, this
script will eventually serve no purpose other than to copy the input
binary to an output path, at which point this script, and the associated
`strip_bitcode` template in `//flutter/sky/tools/macos_tools.gni` can be
removed.

Along with the TODO, renaming the script and the rule help ensure we'll
spot this and remove it when bitcode support is removed from the engine.

Finally, this fixes a dependency issue in the target
//flutter/lib/snapshot:create_macos_gen_snapshots. Previously, it
dependended on ":generate_snapshot_bin", but in fact, the only file it
touches is gen_snapshot. This was built transitively as part of the
":generate_snapshot_bin" target, but is now depended on directly.

This is pre-factoring for merging the iOS and macOS gen_snapshot
creation build rules in `flutter/lib/snapshot/BUILD.gn`.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/107884
2022-09-29 10:48:56 -07:00
Chris Bracken
72aa64e91f [macOS] Clean up gen_snapshot copy invocation (flutter/engine#36461)
create_macos_gen_snapshots.py uses `xcrun bitcode_strip` to copy
gen_snapshot from its build directory to a suffixed gen_snapshot_arm64
or gen_snapshot_armv7, while stripping the bitcode segment, if any.

This simplifies the python invocation to use subprocess.check_call, and
also guarantees the process exits with failure in such a situation --
we weren't checking the return value of generate_gen_snapshot.

This is cleanup for issues encountered while working on merging
macOS/iOS gen_snapshot tooling.

Issue: https://github.com/flutter/flutter/issues/103386
Issue: https://github.com/flutter/flutter/issues/101138
2022-09-28 09:13:49 -07:00
skia-flutter-autoroll
410c81f785 Roll Skia from 13a15693a183 to 56c606cac39e (1 revision) (flutter/engine#36429) 2022-09-26 22:57:12 +00:00
godofredoc
3393326f40 Add path to current versions in the symlinks. (flutter/engine#36192) 2022-09-16 04:58:28 +00:00
godofredoc
4d18a29e76 Fix create macos framework. (flutter/engine#36163) 2022-09-16 02:51:09 +00:00
skia-flutter-autoroll
87d659fb14 Roll Dart SDK from d9b59caa8d5f to b159849a9288 (3 revisions) (flutter/engine#36183) 2022-09-15 22:28:14 +00:00
godofredoc
5719ec2ea1 Move subprocess.run to popen. (flutter/engine#36104) 2022-09-12 21:29:04 +00:00
godofredoc
0955401ca2 Creates dst folder if it does not exist. (flutter/engine#36066) 2022-09-12 15:14:15 +00:00
godofredoc
3e784339af Print detailed logs on command error. (flutter/engine#36053) 2022-09-09 22:20:09 +00:00
skia-flutter-autoroll
fe3ba31be2 Roll Skia from 07ba1f081f34 to 4d4bd4bf0b53 (20 revisions) (flutter/engine#36025) 2022-09-09 03:57:07 +00:00
godofredoc
f2e1e679b0 Zip gen snapshot (flutter/engine#35983) 2022-09-09 02:42:45 +00:00
godofredoc
ffd9a2fc43 Reland: This is to move the zipping logic to the repository under test. (flutter/engine#35751) 2022-08-30 02:18:34 +00:00
Zachary Anderson
f8de5afa39 Revert "Zip FlutterMacOS.framework. (#35623)" (flutter/engine#35680)
This reverts commit eb8b77ae0c9e1c9bbb43d6a380c310dc544acd11.
2022-08-24 13:24:16 -07:00
godofredoc
eb8b77ae0c Zip FlutterMacOS.framework. (flutter/engine#35623) 2022-08-24 16:42:50 +00:00
skia-flutter-autoroll
244b924191 Roll Skia from 95321396c690 to 90198e0c0a4e (2 revisions) (flutter/engine#35604) 2022-08-22 15:49:16 +00:00
skia-flutter-autoroll
6f70818b4c Roll Fuchsia Linux SDK from OkIFye3iRfA9DknTF... to gqQZ7EN2TeYTzOqKI... (flutter/engine#35485) 2022-08-18 06:42:08 +00:00
Xilai Zhang
bf91ad79d0 [gn + codesign] use join to concatenate (flutter/engine#35474) 2022-08-18 00:55:36 +00:00
Xilai Zhang
0b155a908b [gn + generator ] add codesign configs for generator tasks in ios/artifacts.zip (flutter/engine#35417) 2022-08-16 22:33:08 +00:00
godofredoc
0577386ed4 Fixes the output path for release dsym. (flutter/engine#35338) 2022-08-16 19:21:03 +00:00
godofredoc
dc08f08e52 Reland Add support for relative paths in mac os gen_snapshot. (flutter/engine#35332) 2022-08-11 05:40:07 +00:00
Jim Graham
d085114802 Revert "Add support for relative paths in mac os gen_snapshot." (flutter/engine#35331) 2022-08-11 02:59:28 +00:00
godofredoc
84911a25eb Add support for relative paths in mac os gen_snapshot. (flutter/engine#35324) 2022-08-11 00:30:26 +00:00
godofredoc
4c7c58a8f6 Adds a script the generates and bundle the ios artifacts. (flutter/engine#35168) 2022-08-05 01:48:04 +00:00
godofredoc
f9969e3e34 Zip the dsym artifacts. (flutter/engine#35075) 2022-08-02 18:13:04 +00:00
godofredoc
cef8cee32a Add support relative path support to create_macos_framework. (flutter/engine#35011) 2022-08-02 03:13:04 +00:00
joshualitt
9a9136c045 [web] Changes to support dart:wasm. (flutter/engine#34991) 2022-08-01 10:26:26 -07:00
Jim Graham
6e98966e70 use host_cpu in BUILD.gn to determine where to find gen_snapshot (flutter/engine#34870) 2022-07-26 22:18:04 +00:00
Zachary Anderson
8cd062be3c Remove FragmentProgram.compile() (flutter/engine#34855) 2022-07-22 18:30:54 -07:00
skia-flutter-autoroll
29014262ca Roll Skia from c4293ae1835c to b247169c2eb9 (6 revisions) (flutter/engine#34718) 2022-07-18 19:06:04 +00:00
Xilai Zhang
480b8230aa [gn + artifacts] embed Mac entitlement config in gen_snapshot.zip (flutter/engine#34702) 2022-07-18 17:56:07 +00:00
skia-flutter-autoroll
80b68ae6f3 Roll Skia from 800633b99134 to 84bffff74fd9 (1 revision) (flutter/engine#34560) 2022-07-08 18:20:04 -07:00
skia-flutter-autoroll
7d8ebbac96 Roll Skia from 1b075ff14e7e to 48b27317b475 (23 revisions) (flutter/engine#34475) 2022-07-06 09:14:05 -07:00
skia-flutter-autoroll
227bfcba0a Roll Skia from 49f89eafefcf to 6c05f9064fe5 (4 revisions) (flutter/engine#34394) 2022-06-30 08:34:05 -07:00
joshualitt
0c42a323c3 Revert "[web] Migrate Flutter Web DOM usage to JS static interop - 44. (#33380)" (flutter/engine#34375)
This reverts commit 38caaccb069187006063647ed1cecde5277273a0.
2022-06-29 11:51:05 -07:00
joshualitt
38caaccb06 [web] Migrate Flutter Web DOM usage to JS static interop - 44. (flutter/engine#33380) 2022-06-29 10:28:56 -07:00
skia-flutter-autoroll
6c32a7960b Roll Dart SDK from 692562354d6d to 48e3f8edb811 (3 revisions) (flutter/engine#34282) 2022-06-24 18:54:03 -07:00
Brandon DeRosier
68bc0658b8 Revert "Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (#34273)" (flutter/engine#34281)
This reverts commit d35fe594705347f51d3a0a4c2a97986f109e5d2d.
2022-06-24 16:29:35 -07:00
skia-flutter-autoroll
d35fe59470 Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (flutter/engine#34273)
https://dart.googlesource.com/sdk.git/+log/692562354d6d..d3b8091c30f0

2022-06-24 dart-internal-sdk-dev-roller@dart-ci-internal.iam.gserviceaccount.com Version 2.18.0-225.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC bdero@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2022-06-24 11:06:51 -07:00
godofredoc
daf76e58f2 Add a temporary target to help with the migration to gn artifacts. (flutter/engine#34049) 2022-06-15 01:46:04 +00:00
Chinmay Garde
16731be1a7 [Impeller] Allow for the specification of pipeline stage information at runtime. (flutter/engine#33882)
Towards implementing the FragmentProgram API in Impeller.

Specifies an Impeller specific format for data the renderer can use to create
pipelines with user supplied shader stages at runtime.

The data is in the form of a flatbuffer with a known schema.

This patch implements the wire format, creating and loading the program
payloads, and creating pipeline state objects using these payloads.

If the user supplied SPIRV intended for the older API, the loader will reject
this invalid payload. This is probably not going to be too much of an issue
because the FragmentProgram API will probably be modified to only allow buffers
loaded from asset managers. But still, in the meantime, I am using the old API
to pass these new buffers.

Fixes https://github.com/flutter/flutter/issues/104750
Fixes https://github.com/flutter/flutter/issues/105542
Towards resolving https://github.com/flutter/flutter/issues/102853
2022-06-13 18:33:00 -07:00
Filip Filmar
f2718551bb [icu] Update icu to 12de966fcbe1d1a48dba310aee63807856ffeee8 (flutter/engine#33816)
Issue: https://github.com/flutter/flutter/issues/105342
2022-06-06 15:43:30 -07:00
Zachary Anderson
1790d5a019 Adds a python formatter (flutter/engine#33797)
* Adds a python formatter

* Apply format
2022-06-03 13:00:14 -07:00
skia-flutter-autoroll
ee02b50699 Roll Skia from dfabbfc0e311 to 791f4bcf3e38 (2 revisions) (flutter/engine#33566) 2022-05-23 16:08:05 -07:00
skia-flutter-autoroll
3c04922430 Roll Skia from 5f1d2f52d32c to 16f1505498ff (11 revisions) (flutter/engine#33483) 2022-05-19 10:18:04 -07:00
Harry Terkelsen
37cfb2214a Revert "Update ICU to 71-1 (#32879)" (flutter/engine#33274) 2022-05-13 14:08:36 -07:00
skia-flutter-autoroll
2d7e49d7d4 Roll Skia from 1e43dce386c9 to f6e31bf1dcfb (6 revisions) (flutter/engine#33320) 2022-05-13 10:24:07 -07:00