151 Commits

Author SHA1 Message Date
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
Zachary Anderson
ffba1d6154 [Fuchsia] AOT fixes, CPU profiling (#3744) 2017-06-06 12:20:39 -07:00
Ryan Macnak
9e0eaa151d [fuchsia] Ensure flutter_apps in the same BUILD.gn have separate scratch directories for building the FLX. (#3720) 2017-05-31 12:41:25 -07:00
Ryan Macnak
71456a6801 Fuchsia AOT: (#3626)
- Fix flutter_aot_app template for moved Flutter tool GN label.
 - Add missing dart:io tree-shaking roots.
 - Add example AOT app to catch future breakage.
2017-04-25 13:28:52 -07:00
P.Y. Laligand
d55ba61170 Updated label for Fuchsia flx builder. (#3605) 2017-04-20 14:18:47 -07:00
Ryan Macnak
ab189d7e53 Print gen_snapshot invocation on failure. (#3603)
Makes it much easier to get it running under gdb.
2017-04-18 12:14:07 -07:00
P.Y. Laligand
51adf04b22 Generate flx files in the gen directory. (#3595)
This allows tools to locate them more easily.
2017-04-16 18:15:38 -07:00
Ryan Macnak
1084a83f11 AOT for Fuchsia. (#3570) 2017-04-11 14:53:14 -07:00
P.Y. Laligand
2768d2f31c Use the new flutter_tools app. (#3533) 2017-03-28 13:14:02 -07:00
P.Y. Laligand
88ffaa77b4 Generate a depfile for assets of a flutter_app. (#3497) 2017-03-23 09:43:37 -07:00