189 Commits

Author SHA1 Message Date
Hannes Winkler
b4e2eb1152 don't build flutter SDK artifacts for armv7 (flutter/engine#28016) 2021-11-05 08:53:01 -07:00
David Worsham
4c9cf9869a fuchsia: Enable ASAN; add tests flag (flutter/engine#29414)
* Get ASAN working

* Remove zircon_ffi from build

* Add enable-unittests gn flag
2021-10-29 15:10:29 -07:00
Jason Simmons
a497ef787b Set the use_ios_simulator flag only on platforms where it is defined (iOS/Mac) (flutter/engine#29199) 2021-10-14 17:13:01 -07:00
Zachary Anderson
5cafa8efb9 Disable iOS simulator flag when targeting mac (flutter/engine#29151) 2021-10-13 13:31:42 -07:00
Siva
21226c68e5 Enable compressed pointers on Android for 64 bit architectures. (flutter/engine#28639) 2021-09-15 13:01:23 -07:00
Rich Kadel
dd51e241e5 Fix building Dart Fuchsia components and packages (flutter/engine#28413) 2021-09-09 14:47:02 -07:00
Zachary Anderson
fb2fe21c52 Revert "Turn compressed pointers on for Android 64 bit architectures. (#28388)" (flutter/engine#28405) 2021-09-01 09:46:01 -07:00
Siva
742e38b385 Turn compressed pointers on for Android 64 bit architectures. (flutter/engine#28388) 2021-08-31 10:55:19 -07:00
Chris Bracken
8f87951759 Revert "Build dart:zircon and dart:zircon_ffi (#28071)" (flutter/engine#28313)
This reverts commit 1e9b7aed566105eec982ca0eb545139b218bc916.

Reverting in order to land revert of the gn script_executable from
python3 to vpython3, which is causing flakes on Windows.

Issue: https://github.com/flutter/flutter/issues/88719
2021-08-26 11:21:49 -07:00
Chris Bracken
a69f834185 Add --verbose flag to gn wrapper (flutter/engine#28318)
When debugging gn invocations, it's useful to be able to run the
underlying `gn` tool in verbose mode. This adds a `--verbose` flag that
passes the `-v` flag on the underlying `gn` invocation.
2021-08-25 20:48:08 -07:00
Chris Bracken
a858cceed8 Eliminate Android-specific Vulkan support (flutter/engine#28239)
This eliminates Vulkan support for Android. As of flutter/engine#27980
(684ad82) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, `shell_enable_vulkan` is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when `test_enable_vulkan` is
true, which is the case when `is_fuchsia` is true. Note that these files
are *not* built as part of a regular fuchsia build (see the
`shell_gpu_configuration` in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Also updates TODOs to dworsham, who is the committer who'll be
transitioning the Fuchsia embedder to the embedding API.
2021-08-23 13:59:43 -07:00
Christopher Fujino
9382e37ecb set pre-built dart sdk to default (flutter/engine#28236) 2021-08-20 19:03:01 -07:00
Kaushik Iska
1e9b7aed56 Build dart:zircon and dart:zircon_ffi (flutter/engine#28071) 2021-08-16 11:17:02 -07:00
Zachary Anderson
a5d5168f0e Revert "Enable Dart compressed pointers for 64-bit mobile targets (#27975)" (flutter/engine#28091)
This reverts commit 854738a760802bba87c39adca7d5e0112deb3b3f.
2021-08-13 21:29:53 -07:00
Siva
854738a760 Enable Dart compressed pointers for 64-bit mobile targets (flutter/engine#27975)
* Enable Dart compressed pointers for 64-bit mobile targets

* Fix.

* Address code review comments.
2021-08-12 15:54:01 -07:00
Chris Bracken
61a2cbcda4 Migrate Python script invocations to Python 3 (flutter/engine#27832)
Rolls buildroot to 300678066c63df763a632943fac3eed0512684b3.
2021-07-30 16:26:14 -07:00
Gary Qian
5417eef989 Revert "Enable Dart compressed pointers for 64-bit mobile targets" (flutter/engine#27615) 2021-07-21 00:22:29 -07:00
Liam Appelbe
6657092b22 Enable Dart compressed pointers for 64-bit mobile targets (flutter/engine#27373) 2021-07-20 15:23:49 -07:00
Zachary Anderson
8aa14be6b5 Warn, but don't fail if prebuilt Dart SDK could not be fetched (flutter/engine#27546) 2021-07-19 09:50:37 -07:00
Zachary Anderson
83066bd45d Add an option to use a prebuilt Dart SDK (flutter/engine#26931) 2021-07-08 10:36:34 -07:00
David Worsham
5e5fe01dd2 Reland "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#27075)
This reverts commit bb3c49a9c3edf931a5601f0245faa85f5e077cb4.
2021-06-30 15:43:21 -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
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
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
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
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
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
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
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
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
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
Jason Simmons
074d70ce6d Link SkShaper/SkParagraph into the engine by default (flutter/engine#23626) 2021-01-12 15:49:01 -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
James Clarke
bf3c427990 Windows: Add UWP target stub [Flutter#14697] (flutter/engine#21754) 2020-12-06 11:03:02 -08:00