271 Commits

Author SHA1 Message Date
Zachary Anderson
d130f15af6
Add x bit to some python scripts (#7764) 2019-02-08 23:57:46 -08:00
Jason Simmons
050dcaad60
Embed ICU data inside libflutter.so on Android (#7588)
Prior to this the Android embedder code would extract the icudtl.dat asset out
of the APK and write it to local disk during the first startup of the app.

This change will make that work unnecessary and eliminate the risk of ICU
failures due to errors in the extraction process.
2019-01-30 11:56:17 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines (#6757) 2018-11-07 12:24:35 -08:00
Chinmay Garde
30f78af919
Raise errors on non-zero exits while creating artifacts on the bots. (#6424) 2018-10-03 17:00:44 -07:00
Michael Goderbauer
23fcc27718
Prepare for stripping and dsyming Flutter.framework (#6247) 2018-09-13 18:49:54 +02:00
Chris Bracken
4173601071
Add tool to create multi-arch iOS gen_snapshot (#4948)
This adds create_macos_gen_snapshot.py, which can be used to generate a
multi-architecture (x86_64, i386) gen_snapshot fat binary. The resulting
binary can then be run in the desired mode using:

/usr/bin/arch -i386 path/to/gen_snapshot
/usr/bin/arch -x86_64 path/to/gen_snapshot

When creating AOT snapshots for iOS, running as an i386 binary will
generate armv7 code, whereas running as an x86_64 binary will generate
arm64 code.

The primary user of this script is the build bot.
2018-04-06 19:21:05 -07:00
Chris Bracken
d2b69fec75
Require armv7 in create_ios_framework.py (#4944)
This enforces that iOS Flutter.framework builds include arm64, armv7,
and x86_64 (simulator) architectures. This change also eliminates the
previous --device-out-dir option, which has been replaced by
--arm64-out-dir.
2018-04-05 17:43:30 -07:00
Chris Bracken
aa9ce70928
Add armv7 support to create_ios_framework script (#4942)
This adds support for --armv7-out-dir and renames --device-out-dir to
--arm64-out-dir for clarity. It preserves --device-out-dir as a fallback
until the bot recipe has been updated to use --arm64-out-dir.
2018-04-05 14:14:34 -07:00
Jason Simmons
6bc4e7e9e4
Make the new sysroot format the default in flutter_gdb (#4576) 2018-01-19 15:12:00 -08:00
Chinmay Garde
ac16530074
Ensure that public framework headers can be cleanly imported from outside the engine root. (#4303) 2017-10-31 16:25:02 -07:00
Jason Simmons
c826f8353f Improve support for x86 and x86_64 devices in flutter_gdb (#3953) 2017-08-07 15:15:36 -07:00
Jason Simmons
9328229e49 Add a flag for the path to the adb tool in the flutter_gdb script (#3551) 2017-04-03 12:22:26 -07:00
Jason Simmons
c7914e2573 Update scripts for renaming of sky_shell binaries to flutter (#3526) 2017-03-27 15:06:39 -07:00
Jason Simmons
21c9846434 Update the Flutter GDB script to work with Android N (#3220) 2016-11-11 16:02:05 -08:00
Jason Simmons
29676fa53e Update the path to the GDB binary in the current NDK toolchain (#3177) 2016-10-27 10:48:54 -07:00
Jason Simmons
9d98290ebe Update how flutter_gdb finds the root of the engine source tree (#3038) 2016-09-16 17:20:56 -07:00
Chinmay Garde
a6e340dfd0 Revert "Remove the create_ios_framework.py tool. (#2946)" (#2950)
This reverts commit 26f8970835335a3723509d1b04a39c4b4c2b963e.
2016-08-18 16:51:17 -07:00
Chinmay Garde
26f8970835 Remove the create_ios_framework.py tool. (#2946) 2016-08-18 12:35:55 -07:00
Adam Barth
fef5589b41 Move sky_snapshot to a more reasonable location (#2906)
We should eventually rename it to something more sensible, but that's a more
disruptive change. This patch just moves the source code to somewhere easier to
find.
2016-08-10 16:05:38 -07:00
Adam Barth
54d5068b86 Move snapshot to //flutter/lib/snapshot (#2905)
This change disentangles the build for the snapshotter from the main engine
build. Also, we now have all the Dart files for dart:ui in the same directory.
2016-08-10 15:33:11 -07:00
Adam Barth
0392945ce3 Update CONTRIBUTING.md to account for buildroot (#2893) 2016-08-09 14:14:10 -07:00
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
cee106b78e Remove unused build scripts (#2883) 2016-08-07 13:48:27 -07:00
Jason Simmons
5556355d24 sky_snapshot: fix the types of Dart snapshot buffer symbols (#2876)
Also pick up some needed fixes to FTL and Tonic
2016-08-05 15:33:21 -07:00
Adam Barth
05874bab76 Remove //base dependency from sky_snapshot (#2872) 2016-08-05 10:15:04 -07:00
Adam Barth
1e250cfc5f Migrate more code to //lib/tonic (#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
John McCutchan
b23f07e5c7 Initial modified libraries support (#2845) 2016-08-01 12:30:44 -07:00
Ian Hickson
6303108d45 Drop GCM (#2795) 2016-07-13 14:42:38 -07:00
Chinmay Garde
fe69b034c0 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (#2783) 2016-07-12 14:47:44 -07:00
Adam Barth
2ee12a847f We need to make these paths absolute before reading them (#2787) 2016-07-08 15:45:04 -07:00
Adam Barth
211f2d4afb Revert base roll and its fallout.
Updating base turns out to be more complicated than I thought.

This reverts commit daa822aae70a8ab860ed8f085cdadf6987c28d03.
This reverts commit c38428c7b98951e2cccf6b38881eabd87786da49.
This reverts commit 4b73a8a0486d45081c5dde4e2c51c32d1376250b.
2016-06-15 17:30:27 -07:00
Adam Barth
4b73a8a048 Roll base (#2761)
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Adam Barth
e34327b7b5 Move //mojo/icu to //services/icu (#2757)
The upstream mojo.git no longer contains this code.
2016-06-15 11:04:13 -07:00
Adam Barth
633d674c48 Move tonic to //flutter/tonic (#2742)
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00
Adam Barth
a943c732d5 Make sdk_xcode_harness similar to hello_services (#2723)
This patch makes the sdk_xcode_harness work the same way as
hello_services. The goal is to eventually make these the same, but this
is just a first step.
2016-06-01 09:36:31 -07:00
Jason Simmons
d7d99c6223 Do not convert the package map to an absolute path (#2712)
Package map entries can contain relative paths, and these paths will be based
on the package map path as originally specified
2016-05-25 16:34:12 -07:00
Chinmay Garde
a45378b6a0 Only use the Dart bytecode interpreter on iOS device targets. (#2697) 2016-05-18 11:31:58 -07:00
Chinmay Garde
1db1d1507d Create an Xcode project template for dynamic service creation. (#2695)
* Create an Xcode project template for dynamic service creation.

The `create_native_service_sdk.py` will be run on the buildbot similar
to `create_ios_sdk.py`. This will create an Xcode project with both arm
and x64 assets that the user can use to fill in the service
implementation.

* Add the complete_static_lib property to sdk_lib_archive in
dynamic/BUILD.gn
2016-05-18 11:26:33 -07:00
Jason Simmons
b5271b0db3 Update the flutter_gdb script to run on MacOS and make the engine build directory configurable (#2694) 2016-05-17 14:52:23 -07:00
Chinmay Garde
f641f6baa1 Flip the switch on enabling the interpreter by default in debug runtime mode. (#2691) 2016-05-16 13:45:24 -07:00
Adam Barth
4e16c940a5 Revert "Remove vendored dart-sdk (#2688)"
We still need this for the observatory build.

This reverts commit 5082974b74028ecf6093625125f3307c9bc654f3.
2016-05-16 10:54:49 -07:00
Adam Barth
5082974b74 Remove vendored dart-sdk (#2688)
The engine.git repo doesn't need a copy of the Dart SDK anymore.

Fixes https://github.com/flutter/flutter/issues/2618
2016-05-16 08:09:00 -07:00
Chinmay Garde
57edc534d6 In case the script snapshotter fails on Dart_Initialize, dump the message. (#2681) 2016-05-11 16:01:02 -07:00
Jason Simmons
db50fd94ad Update the flutter_gdb script for the new engine output directory names (#2671) 2016-05-11 11:22:37 -07:00
Chinmay Garde
c6bc8d864a create_ios_sdk.py takes additional arguments that specify the out directories of both the device and simulator builds. (#2673) 2016-05-10 15:36:12 -07:00
Chinmay Garde
3fe246987a Removed unused '--ios-force-armv7' flag. (#2672)
Was only used by the buildbot to test that the armv7 precompiler paths built. The Android AOTC variants check that now.
2016-05-10 14:51:24 -07:00
Jason Simmons
3c9223cd8d Change the "develop" runtime mode back to "debug" and rename the "debug" build configuration to "unoptimized" (#2669) 2016-05-10 10:57:56 -07:00
Jason Simmons
fcbfd1c159 Clean up gn flags for the develop/profile/release runtime modes (#2667) 2016-05-09 14:58:45 -07:00
Chinmay Garde
d52d3a4448 Wire up the interpreter on iOS devices. (#2648) 2016-05-06 15:37:59 -07:00
Adam Barth
7af714532d Make iOS Flutter apps extensible (#2654)
This patch switches us to building Runner.app on the end-developer's machine,
which will eventually let them customize their app.
2016-05-06 11:16:04 -07:00