154 Commits

Author SHA1 Message Date
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
Adam Barth
2cf3cffd3f Add //garnet (flutter/engine#4043)
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Petr Hosek
8f73cd6c6c No longer need to use fuchsia_shared_library (flutter/engine#3983)
Use $shlib_toolchain to find the shared_library output file.
2017-08-15 23:44:38 -07:00
Ryan Macnak
d07c9b42f2 [fuchsia] Make it easy to flip the whole system between flutter_jit_app and flutter_aot_app. (flutter/engine#3873) 2017-07-19 14:21:02 -07:00
Petr Hosek
aa98fe557c Use shared library output from shared toolchain (flutter/engine#3869)
This is needed for https://fuchsia-review.googlesource.com/c/37541
2017-07-18 12:45:46 -07:00
James Robinson
d9157e2be2 [fuchsia] Be less specific about location of flutter_runner in flutter_app template (flutter/engine#3855) 2017-07-07 16:55:37 -07:00
Ryan Macnak
bbc94b95a5 [fuchsia] core-jit (flutter/engine#3753) 2017-06-19 12:12:18 -07:00
Ryan Macnak
aa1c5cb32f Plumbing for a core snapshot with code (currently empty). (flutter/engine#3749) 2017-06-07 09:57:24 -07:00
Zachary Anderson
f3b697cb8a [Fuchsia] AOT fixes, CPU profiling (flutter/engine#3744) 2017-06-06 12:20:39 -07:00
Ryan Macnak
a14c3c4f80 [fuchsia] Ensure flutter_apps in the same BUILD.gn have separate scratch directories for building the FLX. (flutter/engine#3720) 2017-05-31 12:41:25 -07:00
Ryan Macnak
c549fc12ce Fuchsia AOT: (flutter/engine#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
5e414da0b4 Updated label for Fuchsia flx builder. (flutter/engine#3605) 2017-04-20 14:18:47 -07:00
Ryan Macnak
975cebb327 Print gen_snapshot invocation on failure. (flutter/engine#3603)
Makes it much easier to get it running under gdb.
2017-04-18 12:14:07 -07:00