601 Commits

Author SHA1 Message Date
Chinmay Garde
ba8b4b7161 Add family of dependencies that work on SPIRV. (flutter/engine#26745) 2021-06-15 18:04:01 -07:00
Gary Qian
8bd3a1ca26 Update create_sdk_cipd_package.sh (flutter/engine#26755) 2021-06-15 00:21:26 -07:00
godofredoc
3e4c6957e4 Updates the objectc docs script to use env variables. (flutter/engine#26666) 2021-06-10 12:49:02 -07:00
Yegor
3d93c2d50f small clean-up of the license script (flutter/engine#26659)
* small clean-up of the license script
2021-06-09 16:22:35 -07:00
David Worsham
bad9b71a01 Revert "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#26637)
This reverts commit 9afd7d6af8a0d023c0db67d24c55eb6c08c48aba.
2021-06-08 12:47:44 -07:00
David Worsham
9afd7d6af8 fuchsia: Delete all the legacy code! (flutter/engine#26422) 2021-06-07 17:29:39 -07:00
Chris Bracken
f411050a16 Fix Android imports stamp file write mode (flutter/engine#26614) 2021-06-07 12:29:02 -07:00
LongCatIsLooong
f2d4eff14c [Android KeyEvents] Split AndroidKeyProcessor into separate classes (flutter/engine#25628) 2021-06-04 18:54:01 -07:00
Daco Harkes
c386089d6a Update pub_get_offline.py (flutter/engine#26510) 2021-06-01 08:19:02 -07:00
Darren Chan
5b6518d416 Add debug symbols (symbol-index) to serve.sh for Fuchsia. (flutter/engine#26463) 2021-05-27 16:49:02 -07:00
Jason Simmons
b0f0e798b4 Disable hidden symbols on unoptimized builds in order to improve test backtraces (flutter/engine#26409) 2021-05-27 13:59:02 -07:00
Darren Chan
24e35adeb4 Canonicalize fuchsia runner debug symbol path. (flutter/engine#26426) 2021-05-27 13:14:01 -07:00
Chase Latta
b563c3aa66 Add script to serve fuchsia packages (flutter/engine#26380) 2021-05-26 15:39:02 -07:00
Darren Chan
a18e76809f Remove build timestamp from build_info.h. (flutter/engine#26403)
Remove build timestamp as it is not updating correctly and it would mark
the build as dirty, triggering a rebuild.

Bug: https://fxbug.dev/73263
2021-05-25 14:43:46 -04:00
Zachary Anderson
996427a9ea Clean up Dart scripts in ci/ (flutter/engine#26325) 2021-05-21 13:29:23 -07:00
Darren Chan
d67fdf5256 Provide the following information to the inspect tree: (flutter/engine#26179) 2021-05-21 11:09:02 -07:00
Chris Bracken
31b399abd6 Make tools/gn compatible with Python 3 (flutter/engine#26321)
Python 2.7 was end-of-lifed on 2020-01-01. This makes tools/gn
compatible with both Python 2.7 and Python 3.

Issue: https://github.com/flutter/flutter/issues/83043
2021-05-21 10:58:13 -07:00
Zachary Anderson
ac61a5fea8 Clean up testing/benchmark (flutter/engine#26313) 2021-05-21 09:49:05 -07:00
Zachary Anderson
485954071d Use 'pub get --offline' for scenario_app deps (flutter/engine#26254) 2021-05-20 12:02:12 -07:00
Zachary Anderson
16371c3379 Use path dependencies for testing/symbols (flutter/engine#26261) 2021-05-20 09:23:21 -07:00
Zachary Anderson
740a85e9f0 Adds package:litetest, uses it instead of package:test under testing/dart (flutter/engine#26215) 2021-05-19 23:08:23 -07:00
Chase Latta
84f7a3337b Reland outputs a json version of the package manifest. (flutter/engine#26163)
This patch is in preparation for incremental package serving from the engine repo.

fxbug.dev/76633
Previous attempt to land this patch was failing because I was generating
the package manifest in the package's directory.
2021-05-17 13:21:30 -07:00
Chase Latta
11a976f241 Revert "output fuchsia json package manifest (#26138)" (flutter/engine#26162)
This reverts commit 6d84180a0379ab7eb75645552e5f7e125a2d537d.
2021-05-14 14:43:51 -07:00
Chase Latta
6d84180a03 output fuchsia json package manifest (flutter/engine#26138) 2021-05-14 10:39:03 -07:00
Zachary Anderson
197908b0a0 Get android_lint deps using gclient rather than pub. (flutter/engine#26106) 2021-05-13 09:17:56 -07:00
Zachary Anderson
a27d3d6fb1 Get licenses check deps from gclient rather than pub (flutter/engine#26077) 2021-05-12 08:09:02 -07:00
Zachary Anderson
c5b6ecbb50 Use pub get --offline for flutter_frontend_server and const_finder (flutter/engine#26019) 2021-05-11 09:45:25 -07:00
Jason Simmons
82c4619f35 Exclude third_party/dart/third_party/devtools from the license script (flutter/engine#25918) 2021-05-07 14:34:02 -07:00
Hunter Freyer
54bc92e051 [build_fuchsia_artifacts] Move license copying into BuildBucket(). (flutter/engine#25815)
Currently, the licenses are copied into the bucket just before
uploading it. Copying the licenses is definitely more about "building"
the bucket than it is about "processing the CIPD package", but
concretely, some tools complain if the license files arent there, and
I'd like to be able to use the cipd tool to upload the bucket
directly.

Co-authored-by: Hunter Freyer <hjfreyer@google.com>
2021-05-07 12:51:02 -07:00
Chinmay Garde
0eb4d7b432 Use GN instead of Ninja to generate compile commands and save ~1sec off of no-op builds. (flutter/engine#25737) 2021-04-29 15:14:01 -07:00
Matej Knopp
5f4f3401fa Add mac as target_os and mac_cpu (flutter/engine#25810)
https://github.com/flutter/flutter/issues/69221

This allows creating build folders for macOS cross compilation
2021-04-29 19:28:25 +02:00
Chinmay Garde
596a7197fa Allow dumping trace information during GN calls. (flutter/engine#25739) 2021-04-23 15:34:01 -07:00
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