Greg Spencer
35640af9fa
Convert format script to Dart ( #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
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e ( #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
17737e6fd4
Revert "Minimal test harness for iOS ( #13029 )" ( #18631 )
...
This reverts commit 0622b051b63b399838eb7956bed97d76fc8bdf77.
2020-05-28 18:08:07 -07:00
Chris Bracken
0d114c0c2f
Add libfreetype6-dev to desktop Linux dependencies ( #17020 )
...
Required for Freetype 2.
2020-03-09 15:07:45 -07:00
Chris Bracken
162199452e
Update linux desktop deps installation script ( #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
f7b78e001d
Remove all uses of the redundant flutter_root variable. ( #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
7069025a32
Reformat BUILD.gn files to comply with the format checker presubmit script ( #13401 )
2019-10-29 09:49:16 -07:00
Dan Field
a05803a0d2
Android targets create final zip artifacts ( #13059 )
2019-10-10 06:56:43 -07:00
Dan Field
0622b051b6
Minimal test harness for iOS ( #13029 )
2019-10-09 21:16:11 -07:00
stuartmorgan
fa161274fb
Switch to an incremental runloop for GLFW ( #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
8f060b9954
Add clang version to Info.plist ( #9873 )
2019-07-17 12:14:07 -07:00
gaaclarke
b7e5940e3b
Started adding the engine hash to frameworks' Info.plist. ( #9847 )
...
Started adding the engine hash to Flutter.framework's Info.plist.
2019-07-16 15:54:26 -07:00
Joseph Richey
70068706d0
Allow building without python2 ( #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
a1a2129bc4
GN Format all files in the engine. ( #8369 )
2019-03-29 12:44:57 -07:00
stuartmorgan
5c99138fa8
Build GLFW from source for Linux shell ( #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
6d8b836777
Remove use of epoxy from Linux shell ( #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
512004503f
Remove jsoncpp from desktop Linux shell setup ( #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
172810342d
Add a build dependencies script for Linux desktop ( #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
c5ab027664
use full git hash for version ( #7741 )
2019-02-07 22:00:17 -08:00
Chinmay Garde
6d405201fa
Add lcov coverage file generation. ( #7579 )
2019-01-24 16:57:26 -08:00
Chinmay Garde
1dc01adfa6
Allow generating coverage reports for all unit-tests in the engine. ( #7576 )
2019-01-24 14:03:15 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
Chinmay Garde
140a5b7575
Alllow access to Flutter engine, Dart & Skia versions in the Shell API. ( #6060 )
2018-08-21 08:52:24 -07:00
P.Y. Laligand
5d31ce7098
Declare that a pubspec.yaml file is being generated for a dart_pkg. ( #4713 )
...
This will let other targets depend on the existence of that file.
2018-02-24 20:57:43 -08:00
P.Y. Laligand
194fb81209
[fuchsia] Removed the flutter_app template. ( #4511 )
...
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
Adam Barth
2e6afc5cc7
[fuchsia] Use AOT in release builds ( #4430 )
2018-01-02 09:33:53 -08:00
Ben Konyi
74a2d90530
Changes to assets/ build/ flow/ runtime/ and shell/ to allow for compilation on Windows ( #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
5f9c8522dd
Roll Dart to 3ee0a4284203ebc6991c78054583a7c02dc8faf9 ( #4378 )
2017-11-21 12:16:34 -08:00
Zachary Anderson
0e564957ac
Roll Dart back to 4dd4fd745e588eef64b8d85811d847ab72633cb7 ( #4370 )
2017-11-16 09:24:13 -08:00
Zachary Anderson
7033e104e3
Roll Dart forward ( #4363 )
2017-11-15 13:17:10 -08:00
P.Y. Laligand
d8dab8aa18
[fuchsia] Allow flutter_app to be included in non-Fuchsia toolchains. ( #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
58fc251900
Move flutter_*_runner to /system/bin ( #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
ca1e750d44
Removed the deprecated analysis_options attribute. ( #4278 )
2017-10-25 22:27:32 -07:00
P.Y. Laligand
f339b2fbb4
[fuchsia] Account for the new Dart toolchain. ( #4271 )
2017-10-24 21:30:40 -07:00
P.Y. Laligand
419ee7c355
Update the location of Flutter packages. ( #4257 )
2017-10-20 14:25:49 -07:00
P.Y. Laligand
6fcb45991d
Move //dart to //third_party/dart. ( #4245 )
2017-10-19 01:20:38 -07:00
Adam Barth
1ce6f0e533
Make flutter_app's output_name work like other templates ( #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
5fae5d52cf
Allow the project to be mapped to a location other than //flutter. ( #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
be547d66c2
Remove daed --assert_initializer flag ( #4181 )
2017-10-06 14:54:08 -07:00
P.Y. Laligand
472596fe3b
Properly pass the disable_analysis parameter. ( #4177 )
...
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Adam Barth
160a98c2b2
Update paths to Fuchsia libraries ( #4147 )
...
These libraries are in Topaz now.
2017-09-27 13:45:49 -07:00
Adam Barth
457f92ba48
Update paths for Mozart move ( #4081 )
2017-09-08 15:24:16 -07:00
Ian McKellar
0047b71aaf
Updates for the dart:fidl.internal rename and split. ( #4070 )
...
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00
Adam Barth
73554a1c32
Add //garnet ( #4043 )
...
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Petr Hosek
b99db8948c
No longer need to use fuchsia_shared_library ( #3983 )
...
Use $shlib_toolchain to find the shared_library output file.
2017-08-15 23:44:38 -07:00
Ryan Macnak
2455f209d0
[fuchsia] Make it easy to flip the whole system between flutter_jit_app and flutter_aot_app. ( #3873 )
2017-07-19 14:21:02 -07:00
Petr Hosek
cfa180de5f
Use shared library output from shared toolchain ( #3869 )
...
This is needed for https://fuchsia-review.googlesource.com/c/37541
2017-07-18 12:45:46 -07:00
James Robinson
a4fa558847
[fuchsia] Be less specific about location of flutter_runner in flutter_app template ( #3855 )
2017-07-07 16:55:37 -07:00
Ryan Macnak
2c611fdac7
[fuchsia] core-jit ( #3753 )
2017-06-19 12:12:18 -07:00
Ryan Macnak
3f8eddf34a
Plumbing for a core snapshot with code (currently empty). ( #3749 )
2017-06-07 09:57:24 -07:00