569 Commits

Author SHA1 Message Date
jensjoha
e400473f97 Fix usage of (soon to be removed) Name.name (flutter/engine#25606) 2021-04-15 09:32:27 -07:00
Hunter Freyer
22c452c2ea Fix bug when build_fuchsia_artifacts.py is called without --targets. (flutter/engine#25497)
Example before:

$ ./tools/fuchsia/build_fuchsia_artifacts.py \
    --engine-version HEAD \
    --no-lto \
    --archs x64 \
    --runtime-mode debug

Running gn for variant "fuchsia_debug_x64" with flags: --fuchsia,--fuchsia-cpu,x64,--runtime-mode,debug,--no-lto
Generating GN files in: out/fuchsia_debug_x64
Done. Made 1085 targets from 221 files in 532ms
ninja: Entering directory `/usr/local/google/home/hjfreyer/flutter/engine/src/flutter/tools/fuchsia/../../../out/fuchsia_debug_x64'
ninja: error: empty path
Traceback (most recent call last):
  File "./tools/fuchsia/build_fuchsia_artifacts.py", line 391, in <module>
    sys.exit(main())
  File "./tools/fuchsia/build_fuchsia_artifacts.py", line 380, in main
    args.targets.split(","))
  File "./tools/fuchsia/build_fuchsia_artifacts.py", line 283, in BuildTarget
    BuildNinjaTargets(out_dir, [ 'flutter' ] + additional_targets)
  File "./tools/fuchsia/build_fuchsia_artifacts.py", line 72, in BuildNinjaTargets
    os.path.join(_out_dir, variant_dir)] + targets)
  File "./tools/fuchsia/build_fuchsia_artifacts.py", line 55, in RunExecutable
    subprocess.check_call(command, cwd=_src_root_dir)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', '/usr/local/google/home/hjfreyer/flutter/engine/src/flutter/tools/fuchsia/../../../out/fuchsia_debug_x64', 'flutter', '']' returned non-zero exit status 1

Co-authored-by: Hunter Freyer <hjfreyer@google.com>
2021-04-08 14:48:28 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Christopher Fujino
b30b174aaa build dart2js on linux arm host (flutter/engine#25312) 2021-03-31 12:54:02 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
Alexander Aprelev
927937c593 Roll to dart 91d7c69ed7ea (flutter/engine#25022)
* Roll Dart SDK from b7e02a713eab to 91d7c69ed7ea

Update const_finder_test expectations to accommodate daae24b4880.

Changes since last roll:
```
91d7c69ed7e Version 2.13.0-143.0.dev
88c24ef66ac Roll benchmarks-internal 354c978979c5..076df10d9b77
b250a58d8e8 Implement `int.>>>` for DDC.
7e2cc73da8b Revert "[infra] Make worktrees work (again?)"
a531b78369e [infra] Make worktrees work (again?)
945ac84c16e Version 2.13.0-142.0.dev
e8f57b66058 [vm/aot] Handle FieldInitializer pointing to a Field's Reference which is reused for a getter
1cb203d8c9b Remove unused code and files from analysis_server:
3162957a786 (origin/base) [gardening] Add explicit type to ensure templated function applies.
7b35c1ecc2f (tag: 2.13.0-141.0.dev) Version 2.13.0-141.0.dev
829ef927789 [vm] Expand compressed heap to 4GB.
2472db00311 [vm] Inform the OS that it can reclaim free'd portions of the compressed heap.
e2baf16ebda Support ddc module format in expression compilation in ddc.
8e7c8c9d8b2 Roll icu dependency to 81d656878ec611cb0b42d52c82e9dae93920d9ba.
52fccfb392b Version 2.13.0-140.0.dev
6b575c72ec8 Prepare to publish analyzer 1.2.0 and _fe_analyzer_shared 18.0.0.
c0b800ceb51 Issue 45318. Check for dynamic bounded and Function bounded.
daae24b4880 [vm/aot] Retain fields used in constants
369c36e67c2 Issue 45299. Fix yield type check for function expressions.
c9e10c931cb [vm, compiler] Predicate boolean loads.
87bfe9ea276 (tag: 2.13.0-139.0.dev) Version 2.13.0-139.0.dev
cf3dcc4256c [analyzer] Prevent MOVE_FILE using absolute URIs when moving files out of lib
c9061339678 [cfe] Multi-call const function tests to existing behavior.
16beb348133 [vm/aot] Remove special cases of dynamic function lookups from precompiler
55522f9e90b Fix a bug in completion when a setter does not have a corresponding getter
d42de4ed062 [vm] Crash on impossible GDT null errors
69ec09825a3 [vm] On Android set abort message before aborting
b72e7b81ebd (tag: 2.13.0-138.0.dev) Version 2.13.0-138.0.dev
d6b79dab6c6 [cfe] Correct argument count in extension member errors
b5da327ed9a [parser] Parse and skip metadata according to spec
```

* Update const_finder_test expectations

* Update license

* Update expectations
2021-03-16 15:34:18 -07:00
Alexander Markov
4758f75bc9 Fix const_finder to visit children of ConstructorInvocation (flutter/engine#25020) 2021-03-16 12:06:38 -07:00
Jason Simmons
e3a81b6c61 Remove an obsolete GN flag that had been used by SkParagraph (flutter/engine#24924) 2021-03-10 14:40:20 -08:00
Chris Bracken
67f952e952 Update cppwinrt to build 2.0.210304.5 (flutter/engine#24801)
This fixes an issue in CppWinRT related to std::terminate(); the tool
now uses abort() instead.

CppWinRT patch: https://github.com/microsoft/cppwinrt/pull/868

This also fixes a couple bugs in the README.md:
* Uses tmp as the temp dir into which we unpack the nupkg archive rather
  than cppwinrt to avoid confusion with the containing directory, which is
  named cppwinrt.
* Fixes a typo around the directory from which the cipd command should
  be executed.
2021-03-04 18:21:33 -08:00
Chris Bracken
5a99033ec9 Added dependency on CppWinRT for UWP builds (flutter/engine#24770)
CppWinRT is a tool that generates standard C++17 header-file libraries
for Windows Runtime (WinRT) APIs. A more detailed introduction to
C++/WinRT can be found in the Microsoft documentation at
https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/.

The source code is available under an MIT license, from
https://github.com/microsoft/cppwinrt.

Bug: https://github.com/flutter/flutter/issues/70205
2021-03-03 20:51:13 -08:00
Chris Bracken
e77d5ec898 Move CIPD package creation tools under tools/cipd (flutter/engine#24766)
This moves tooling related to the creation of the Android embedding
bundle CIPD package under tools/cipd. Having a single location for CIPD
package creation tooling avoids spreading these around the tree and aids
in discovery.

This does not change the path within the CIPD package repo, nor does it
change the path to which we download it via gclient as specified in the
DEPS file.

This will be followed by a patch to add a new Windows CIPD package
necessary for UWP builds.
2021-03-03 15:21:28 -08:00
Jason Simmons
493670510c Add third_party/libpng repository and roll buildroot (flutter/engine#24616) 2021-02-26 15:28:14 -08:00
Kaushik Iska
b8d4abfab5 [macos] Reland default metal and also check if the system supports metal before defaulting to it (flutter/engine#24601) 2021-02-25 05:49:23 -06:00
Kaushik Iska
ca6e477c10 Revert "[macos] Make metal the default rendering backend on macOS >= … (flutter/engine#24600)
This reverts commit ca5bf569977085b5730486b24a9219524fc23426.
2021-02-24 09:58:10 -08:00
Kaushik Iska
d6d316c153 [macos] Make metal the default rendering backend on macOS >= 10.14 (flutter/engine#23967)
Fixes: https://github.com/flutter/flutter/issues/74058
2021-02-22 15:17:45 -08:00
Kaushik Iska
6669586560 External Texture support for macOS Metal (flutter/engine#24523) 2021-02-19 14:36:02 -08:00
James Clarke
e9543eaf17 Windows: linker compatibility with AppContainer for winuwp target (flutter/engine#24318)
* Update Windows linker settings to be compatible with AppContainer when target==winuwp
2021-02-12 19:10:09 -08:00
skia-flutter-autoroll
62e17db75e Roll Dart SDK from 02230d7386c7 to 4bd4c2a493e9 (6 revisions) (flutter/engine#24313) 2021-02-09 23:01:01 -08:00
Jason Simmons
c7db03ea09 Pin the package_config package used by generate_package_config at version 1.9.3 (flutter/engine#24246) 2021-02-05 14:25:47 -08:00
stuartmorgan
a0b53092c8 Roll ANGLE (flutter/engine#23999) 2021-01-29 10:01:59 -08:00
Robert Ancell
b987804693 Add a --linux shortcut to --target-os=linux
The other OSs all have this shortcut.
2021-01-28 11:23:22 +13:00
Chase Latta
74c7cac41a use a single clang toolchain (flutter/engine#23842) 2021-01-25 13:23:04 -08:00
skia-flutter-autoroll
2dc7e5c3b4 Roll Dart SDK from c4214e6daaac to 0265477b0534 (5 revisions) (flutter/engine#23796) 2021-01-20 10:34:01 -08:00
Zachary Anderson
c410f4a8b3 Revert "Roll Dart SDK from c4214e6daaac to 4a6764bf28c2 (4 revisions) (#23770)" (flutter/engine#23791)
This reverts commit a2d03f9343cdeef3bfc264e6fa64ab3d285399cd.
2021-01-19 23:57:55 -08:00
skia-flutter-autoroll
a2d03f9343 Roll Dart SDK from c4214e6daaac to 4a6764bf28c2 (4 revisions) (flutter/engine#23770) 2021-01-19 12:59:02 -08:00
xster
8b90c7869e FlutterEngineGroup for Android (flutter/engine#23675) 2021-01-19 12:29:02 -08:00
Chinmay Garde
0d4045c533 Allow creation of symlinks for Goma via an environment variable. (flutter/engine#23765)
Setting `FLUTTER_GOMA_CREATE_XCODE_SYMLINKS=1` as an environment variable should
achieve the same result as manually specifying the `--xcode-symlinks` flag
(which I often forget). This is in keeping with the pattern of setting the
`GOMA_DIR` environment variable. The variable has a the `FLUTTER_` prefix
because environment variable with the `GOMA_` prefix are reserved for use by
Goma and variable unknown to Goma will cause a fatal error.
2021-01-19 10:35:24 -08:00
Dan Field
e0585abfba Roll buildroot to 7832e9ed954bd5b22d043ab49a67e93babd291e6, clang to 12.0.0 mark 2 (flutter/engine#23742) 2021-01-16 20:12:36 -08:00
Dan Field
4ea1012ee3 Revert "Roll buildroot to 92a8d2eb7aad592068f808e39b8330fd2bce25e3, Clang to 12.0.0 (#23698)" (flutter/engine#23734)
This reverts commit 395bcb51b7e1910e02ac188faf27e72b19b5aeb6.
2021-01-15 16:38:30 -08:00
Dan Field
395bcb51b7 Roll buildroot to 92a8d2eb7aad592068f808e39b8330fd2bce25e3, Clang to 12.0.0 (flutter/engine#23698) 2021-01-15 16:16:22 -08:00
Jason Simmons
9122589da0 Roll FreeType to 2.10.4 (flutter/engine#23666) 2021-01-15 14:12:46 -08:00
Kaushik Iska
ce8bf2451c Skia can now build with 10.11 as the min deployment version (flutter/engine#23717)
https://bugs.chromium.org/p/skia/issues/detail?id=11160
was blocking this from happening, now that its addresses we can
work on a build to support both metal and opengl.
2021-01-15 13:24:12 -08:00
Jason Simmons
507e959c34 SkParagraph: enable the ICU breaker cache (flutter/engine#23667) 2021-01-14 14:39:05 -08:00
Robert Ancell
1e80dc3495 Add winuwp as one of the choices in --target-os.
It's set by --winuwp.
2021-01-15 11:33:57 +13:00
Chase Latta
d2ecff7969 Reland - bump fuchsia toolchain to clang 12 (flutter/engine#23656) 2021-01-13 13:46:52 -08:00
Jason Simmons
074d70ce6d Link SkShaper/SkParagraph into the engine by default (flutter/engine#23626) 2021-01-12 15:49:01 -08:00
Michael Goderbauer
f2a937ebba Update outdated links (flutter/engine#23513) 2021-01-08 10:14:01 -08:00
Chase Latta
b203aaaa99 Revert "bump fuchsia toolchain to clang-12" (flutter/engine#23456) 2021-01-06 11:14:49 -08:00
Kaushik Iska
e5e6e9cd29 [metal] [macos] Suffix for metal builds macos (flutter/engine#23432) 2021-01-05 14:59:25 -08:00
George Wright
90fd5c978f Add support for different simulator architectures 2021-01-05 11:46:27 -08:00
Kaushik Iska
eb3ab64883 [embedder] [metal] Add support for Metal Renderer Config in the embedder API (flutter/engine#22854)
This change adds a FlutterMetalRendererConfig that lets embedders
specify metal as rendering api.

Also adds a test that validates rendering a gradient using metal.
2021-01-01 20:39:36 -08:00
Dan Field
fa58c54dd2 Make it easier to turn on Xcode symlinks (flutter/engine#23150) 2020-12-17 13:44:01 -08:00
Zachary Anderson
acf636e5d9 Update android_lint deps (flutter/engine#23151) 2020-12-17 12:55:07 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
Chase Latta
21a7f7065e bump fuchsia toolchain to clang-12 (flutter/engine#23067) 2020-12-16 15:18:21 -08:00
gaaclarke
3d4aa5548a Implemented FlutterEngineGroup and Spawn API. (flutter/engine#22975) 2020-12-14 17:07:44 -08:00
James Clarke
bf3c427990 Windows: Add UWP target stub [Flutter#14697] (flutter/engine#21754) 2020-12-06 11:03:02 -08:00
skia-flutter-autoroll
9a4e45f407 Roll Dart SDK from f9760fc12871 to 2736bd161251 (1 revision) (flutter/engine#22888) 2020-12-04 20:13:01 -08:00
skia-flutter-autoroll
326137f27a Roll Dart SDK from 97cfd05b3cb3 to a37a4d42e53d (4 revisions) (flutter/engine#22849)
https://dart.googlesource.com/sdk.git/+log/97cfd05b3cb3..a37a4d42e53d

2020-12-03 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-112.0.dev
2020-12-03 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-111.0.dev
2020-12-03 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-110.0.dev
2020-12-03 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.12.0-109.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 dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

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/master/autoroll/README.md
2020-12-03 14:10:04 -08:00
Jason Simmons
111a924c83 Generate Maven metadata files for engine artifacts (flutter/engine#22685) 2020-12-02 12:43:01 -08:00