166 Commits

Author SHA1 Message Date
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
stuartmorgan
285eec928c Remove jsoncpp from desktop Linux shell setup (flutter/engine#8230)
The jsoncpp requirement was removed in the migration from FDE to this
repository, so it doesn't need to be installed by the script.
2019-03-20 17:05:58 -04:00
stuartmorgan
165e59b40d Add a build dependencies script for Linux desktop (flutter/engine#8160)
Installs the dependencies necessary to build the Linux desktop shell.
Similar to the existing install-build-deps.sh and
install-build-deps-android.sh but specifically for the desktop shell
requirements.
2019-03-19 17:23:32 -04:00
Dan Field
8795ea6ddd use full git hash for version (flutter/engine#7741) 2019-02-07 22:00:17 -08:00
Chinmay Garde
e99305f71d Add lcov coverage file generation. (flutter/engine#7579) 2019-01-24 16:57:26 -08:00
Chinmay Garde
3407c73dbd Allow generating coverage reports for all unit-tests in the engine. (flutter/engine#7576) 2019-01-24 14:03:15 -08:00
Michael Goderbauer
0def82ddb0 Unify copyright lines (flutter/engine#6757) 2018-11-07 12:24:35 -08:00
Chinmay Garde
86e253fadd Alllow access to Flutter engine, Dart & Skia versions in the Shell API. (flutter/engine#6060) 2018-08-21 08:52:24 -07:00
P.Y. Laligand
95d52d543c Declare that a pubspec.yaml file is being generated for a dart_pkg. (flutter/engine#4713)
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
baf69ca25c [fuchsia] Removed the flutter_app template. (flutter/engine#4511)
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
Adam Barth
84d6c3f9b6 [fuchsia] Use AOT in release builds (flutter/engine#4430) 2018-01-02 09:33:53 -08:00
Ben Konyi
31f0a6055c Changes to assets/ build/ flow/ runtime/ and shell/ to allow for compilation on Windows (flutter/engine#4407)
Made changes to assets/ build/ flow/ runtime/ and shell/ to allow for
compilation on Windows.
2017-11-30 19:47:20 -05:00
Zachary Anderson
2db5ec9775 Roll Dart to 3ee0a4284203ebc6991c78054583a7c02dc8faf9 (flutter/engine#4378) 2017-11-21 12:16:34 -08:00
Zachary Anderson
3d346b67fc Roll Dart back to 4dd4fd745e588eef64b8d85811d847ab72633cb7 (flutter/engine#4370) 2017-11-16 09:24:13 -08:00
Zachary Anderson
cb46299d06 Roll Dart forward (flutter/engine#4363) 2017-11-15 13:17:10 -08:00
P.Y. Laligand
598b293898 [fuchsia] Allow flutter_app to be included in non-Fuchsia toolchains. (flutter/engine#4342)
A flutter_app target might be declared in a build file alongside some host tool.
The intent of the assertion seemed to be restricting the use of the template to the Fuchsia codebase.
2017-11-08 18:33:09 -08:00
Adam Barth
166b7b7651 Move flutter_*_runner to /system/bin (flutter/engine#4286)
Previously, these binaries were in /system/apps, which is going away. Also,
rename flutter_runner to flutter_jit_runner to match flutter_aot_runner.
2017-10-30 19:28:19 -07:00
P.Y. Laligand
2d897e227d Removed the deprecated analysis_options attribute. (flutter/engine#4278) 2017-10-25 22:27:32 -07:00
P.Y. Laligand
277e27cba0 [fuchsia] Account for the new Dart toolchain. (flutter/engine#4271) 2017-10-24 21:30:40 -07:00
P.Y. Laligand
3a943b12c3 Update the location of Flutter packages. (flutter/engine#4257) 2017-10-20 14:25:49 -07:00
P.Y. Laligand
0768d0714e Move //dart to //third_party/dart. (flutter/engine#4245) 2017-10-19 01:20:38 -07:00
Adam Barth
898f5afa3e Make flutter_app's output_name work like other templates (flutter/engine#4236)
The output_name property of a template is typically relative to the
root_build_dir rather than the target_gen_dir. This patch makes flutter_app
consistent with this pattern.
2017-10-18 14:11:48 -07:00
P.Y. Laligand
235f07742a Allow the project to be mapped to a location other than //flutter. (flutter/engine#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Zachary Anderson
95b0e0bc7f Remove daed --assert_initializer flag (flutter/engine#4181) 2017-10-06 14:54:08 -07:00
P.Y. Laligand
ad4b6338af Properly pass the disable_analysis parameter. (flutter/engine#4177)
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Adam Barth
80b35ebe57 Update paths to Fuchsia libraries (flutter/engine#4147)
These libraries are in Topaz now.
2017-09-27 13:45:49 -07:00
Adam Barth
77597e6279 Update paths for Mozart move (flutter/engine#4081) 2017-09-08 15:24:16 -07:00
Ian McKellar
6ea4f8e327 Updates for the dart:fidl.internal rename and split. (flutter/engine#4070)
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00