193 Commits

Author SHA1 Message Date
godofredoc
707b020196 Fix dart_sdk packaging name. (flutter/engine#31942) 2022-03-09 23:10:07 -08:00
godofredoc
517844bc57 Generate MacOS framework with GN + Ninja. (flutter/engine#31903) 2022-03-09 12:45:04 -08:00
godofredoc
eac59ff580 Fix web_engine_archive target. (flutter/engine#31751) 2022-03-02 08:26:11 -08:00
godofredoc
29c2897bfb Standardize embedder archive name. (flutter/engine#31693) 2022-02-28 21:26:09 -08:00
godofredoc
7bfe815f56 Standardize the embedder file name. (flutter/engine#31723) 2022-02-28 16:31:06 -08:00
godofredoc
64edff106a Generate linux gtk zip in the correct folder. (flutter/engine#31650) 2022-02-24 10:41:02 -08:00
godofredoc
229e5b9a1d Generate fonts in the expected location. (flutter/engine#31575)
* Generate fonts in the expected location.

Fonts-subset is generated directly in out/../zip_archives but the final
destination is expected to be inside a folder like linux-x64. This PR
generates the file directly in the expected path.

Bug: https://github.com/flutter/flutter/issues/81855

* Fix font zip tests.

* Revert changes to run_tests.py

* Update host_os_cpu_name variable to report darwin for mac.

* Fix variable names.

* Calculate prebuilts path using mac instead of darwin.

* Add platform to fontset path.

* Fix platforms map.

* Add debugging.

* Add win32 to the map of artifact locations.

* Use full_platform_name instead of host_os_name.

* Use x32 for windows font binaries.

* Fix paths for debug version in windows.

* Use x64 for win32.

* Remove additional logging.

* Add linux2 to map of platforms.
2022-02-23 19:35:20 -08:00
godofredoc
7525d73232 Fix gn problem impacting fuchsia builds. (flutter/engine#31615) 2022-02-22 13:59:09 -08:00
godofredoc
56a84d32da GN targets to create flutter_web_sdk. (flutter/engine#31556) 2022-02-19 22:24:02 -08:00
godofredoc
7da0c5421c Archives for dart-sdk and flutter_patched_sdk. (flutter/engine#30888) 2022-02-04 09:30:02 -08:00
godofredoc
edb4651636 GN targets for generating release artifacts (flutter/engine#30679) 2022-01-05 12:10:02 -08:00
Zachary Anderson
40ca25819e Use a prebuilt Dart SDK during Fuchsia builds (flutter/engine#29680) 2021-11-11 13:24:37 -08:00
Martin Kustermann
29426853af Make the frontend_server validate kernel files more strictly (flutter/engine#29497)
This change will make Flutter's frontend_server validate that any kernel
file given to it was produced by the same Dart SDK hash as the
frontend_server itself is based upon.

Notice that this implies one cannot use the prebuilt Dart SDK's
frontend_server and give it kernel files produced in the current build
iff //third_party/dart is at a different SDK hash. (By-default the
prebuilt Dart SDK and //third_party/dart are based on the same git
commit hash)

=> This is mainly relevant for people who change //third_party/dart
   during local development (e.g. for preparing rolls, ...)

=> In such cases one should pass "--no-prebuilt-dart-sdk" to
   flutter/tools/gn

The effect of this change is that one will get a clear message on
mismatched kernel files instead of possibly an exception from the CFE.

The change is changing the Flutter build actions similar to how [0]
changed the Dart build actions.

Issue https://github.com/flutter/flutter/issues/92679

[0] https://dart-review.googlesource.com/c/sdk/+/152802
2021-11-03 14:26:55 +01:00
Ahmed Ashour
acdc8a5c8b Fix typos (flutter/engine#29280) 2021-10-27 20:30:31 -07:00
Jason Simmons
2c8702d096 Build a specialized snapshot for launching the service isolate in profile mode on Android (flutter/engine#29245) 2021-10-27 11:03:01 -07:00
godofredoc
ae68d0409b Update documentation links to point to main branch. (flutter/engine#29326) 2021-10-26 10:48:02 -07:00
Rich Kadel
b4e2f34518 Improving support for AOT builds of Fuchsia packages
The integration test works in debug/jit mode only, and building in
`profile` and `release` modes was not working, breaking some builders.

The workaround was to disable the test.

This PR will enable release/aot mode so it will build, and unblock both
the debug-mode version of the test (tested by CI) and release mode
builds of the repo.

Due to the request to unblock, this PR does not yet build packages in
`profile` mode that will run in Fuchsia, but it should at least build
without errors. Ongoing work is in progress to also support running in
release mode.
2021-10-19 17:06:29 -07:00
Jason Simmons
e334ed7bc2 Specify the root directory for Dart frontend server sources (flutter/engine#28849) 2021-10-07 13:43:01 -07:00
Jason Simmons
b428a86e0b Use a relative path for the output when building a Dart kernel (flutter/engine#28847) 2021-09-24 15:08:01 -07:00
Dan Field
a2a3c9643c Remove obsolete instructions from scenario_app readme, pass depfile correctly. (flutter/engine#28732) 2021-09-23 14:13:01 -07:00
Jenn Magder
f9f6708037 Set MinimumOSVersion in iOS Info.plist based on buildroot setting (flutter/engine#28743) 2021-09-22 14:38:02 -07:00
Zachary Anderson
75c1fbccc7 Don't use Dart's application_snapshot() rule (flutter/engine#28361) 2021-09-16 13:37:01 -07:00
Emmanuel Garcia
13b187119a Fix git revision encoding (flutter/engine#27853) 2021-08-02 17:46:53 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Zachary Anderson
5c4431a610 Use a pool for dart actions to avoid OOMs (flutter/engine#27781)
* Use a pool for dart actions to avoid OOMs

* Add Windows support
2021-07-29 23:43:49 -07:00
George Wright
868320cb91 Update test scripts for coverage (flutter/engine#27659) 2021-07-23 13:13:34 -07:00
Dan Field
c39eb51448 Fix android zip bundles (flutter/engine#27604) 2021-07-21 12:56:02 -07:00
Zachary Anderson
919219937b Revert "NNBD migration for scenario_app (#27362)" (flutter/engine#27364)
This reverts commit 43e7fb916c676e23ae47a39bf53f00bc9f16e498.
2021-07-13 11:15:12 -07:00
Dan Field
43e7fb916c NNBD migration for scenario_app (flutter/engine#27362) 2021-07-13 10:56:06 -07:00
Dan Field
46caf79429 Reland build rules for scenario app (flutter/engine#27360)
* Revert "Revert "Build rules for scenario_app (#27302)" (#27358)"

This reverts commit 3b10f73c0171d6dfa965d2a50a117798d10de7f5.

* Ignore *.*framework in copy_trees
2021-07-13 10:23:08 -07:00
Zachary Anderson
3b10f73c01 Revert "Build rules for scenario_app (#27302)" (flutter/engine#27358)
This reverts commit 43495d91c23ea16cfa6074f3948776cf0d2e8647.
2021-07-13 09:22:08 -07:00
Dan Field
43495d91c2 Build rules for scenario_app (flutter/engine#27302) 2021-07-13 09:11:21 -07:00
Dan Field
75dd73587d Fix zip bundle structure (flutter/engine#27150)
* Fix zip bundle structure

* Add test, make test.py python3 safe
2021-07-07 15:31:28 -07:00
Dan Field
225eefb97f font-subset builds its own zip bundle and adds a README (flutter/engine#26927) 2021-06-24 12:36:55 -07:00
Greg Spencer
c001ea6f4a Convert format script to Dart (flutter/engine#20572)
This converts the ci/format.sh script to a Dart script that uses process_runner and isolates to multi-process the clang-format, diffs, and grepping needed to do the formatting changes.

It also will (by default) only check the formatting of changed files.

The user can optionally check all files (--all-files) or do only some types of checks with --check. --verbose prints the versions of the tools used for Clang format and Java format.

Specifying --fix will cause any formatting errors that would have been detected to be fixed.
2020-08-18 13:25:30 -07:00
Siva
03706dce89 Manual roll of Dart from 24c7666def...40fd1c456e (flutter/engine#20092)
* Manual roll of Dart from 24c7666def...40fd1c456e

dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10

* Rev buildroot to latest version.

* Update license.

* update.

* Update gn revision.

* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
gaaclarke
055ca94093 Revert "Minimal test harness for iOS (#13029)" (flutter/engine#18631)
This reverts commit 7fb973712962b01f42ac6c81d83e509ece22bea3.
2020-05-28 18:08:07 -07:00
Chris Bracken
723ab032dc Add libfreetype6-dev to desktop Linux dependencies (flutter/engine#17020)
Required for Freetype 2.
2020-03-09 15:07:45 -07:00
Chris Bracken
c94d51bcb6 Update linux desktop deps installation script (flutter/engine#17011)
On a stock Ubuntu 19.10 system, the following deps are required, at
minimum:
  * libx11-dev
  * libxcursor-dev
  * libxrandr-dev
  * libxinerama-dev
  * libxxf86vm-dev
  * libgl-dev
2020-03-07 22:49:47 -08:00
Chinmay Garde
426c48aaac Remove all uses of the redundant flutter_root variable. (flutter/engine#16311)
This was only necessary when the Engine had to build in multiple buildroots
where the sources where checked out at different paths relative to the
buildroot. This is no longer the case and there are already cases GN rules
have been written that mix and match variable usage with the direct
specification of the path to the Flutter sources relative to the sole buildroot.
2020-01-31 21:49:48 -08:00
Jason Simmons
2c61d2336b Reformat BUILD.gn files to comply with the format checker presubmit script (flutter/engine#13401) 2019-10-29 09:49:16 -07:00
Dan Field
80492fb4e9 Android targets create final zip artifacts (flutter/engine#13059) 2019-10-10 06:56:43 -07:00
Dan Field
7fb9737129 Minimal test harness for iOS (flutter/engine#13029) 2019-10-09 21:16:11 -07:00
stuartmorgan
d717bc38c9 Switch to an incremental runloop for GLFW (flutter/engine#11368)
Rather than running the runloop forever, have the API expose an incremental runloop. This allows clients to do other processing if they need it.

This allows for removing the odd construction of having knowledge of GTK event handling built into the library even though nothing in the library uses it; instead runner applications that use GTK plugins (such as FDE's testbed) can do that processing at the application level instead.
2019-08-22 11:39:00 -07:00
Dan Field
f743db9bf5 Add clang version to Info.plist (flutter/engine#9873) 2019-07-17 12:14:07 -07:00
gaaclarke
4a23fbcb30 Started adding the engine hash to frameworks' Info.plist. (flutter/engine#9847)
Started adding the engine hash to Flutter.framework's Info.plist.
2019-07-16 15:54:26 -07:00
Joseph Richey
2133dbf219 Allow building without python2 (flutter/engine#8605)
Almost all of the python build files in the flutter project work if
`python` is `python2` or `python3`. This is the only area where print is
incorrectly used (for `python3`).

Related issue: https://fuchsia-review.googlesource.com/c/fuchsia/+/272925
2019-04-17 19:57:20 -07:00
Chinmay Garde
1a7c5d7bf3 GN Format all files in the engine. (flutter/engine#8369) 2019-03-29 12:44:57 -07:00
stuartmorgan
21ff4f0dd3 Build GLFW from source for Linux shell (flutter/engine#8327)
Instead of requiring a system-level GLFW, build it from source and
statically link it into the Linux shell.
2019-03-27 20:22:50 -04:00
stuartmorgan
fcc2ff8886 Remove use of epoxy from Linux shell (flutter/engine#8334)
Simplifies the build and runtime requirements for the Linux shell.
Since the engine does GL extension lookup manually anway, an extension
loader library isn't necessary.
2019-03-27 19:24:03 -04:00