286 Commits

Author SHA1 Message Date
Jenn Magder
079c66940a
Generate gen_snapshot_armv7 and gen_snapshot_arm64 (#22818) 2020-12-02 12:43:51 -08:00
Jenn Magder
b1c75534a3
Generate XCFramework in recipe package script (#22664) 2020-11-23 10:13:01 -08:00
Jenn Magder
0abcc93eb3
Add xcframework to ios out (#22506) 2020-11-16 13:58:44 -08:00
Dan Field
ff62dec5c9
Roll to clang11, mark 4 (#17483)
* "Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 4 (#17467)" (#17482)"

This reverts commit 8166a91bca11b83c16fba8f8fd407e937a2ac89c.

* format code

* Roll buildroot to 3a27de1c5bb0f50be7d3efe3e00de4f6068c9f30
2020-04-02 13:04:49 -07:00
Dan Field
8166a91bca
Revert "Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 3 (#17467)" (#17482)
This reverts commit 39b77188c5425925a72fe0a64d246dbc0b3cdadc.
2020-04-02 10:01:26 -07:00
Dan Field
39b77188c5
Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 3 (#17467)
* Reland Clang 11, Roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c (#17457)" (#17464)

This reverts commit 9eacd028cdba5c6efef327342dc53fab61474462.

* Skip more image tests, use newer dsymutil, add missing symbols
2020-04-01 20:55:27 -07:00
Dan Field
90771188f8
Set the install name at link time for darwin dylibs (#13428) 2019-10-29 20:30:13 -07:00
Dan Field
48be3d6a99
completely strip bitcode (#11783) 2019-08-30 10:23:02 -07:00
Dan Field
77882ece4a
Optionally strip bitcode when creating ios framework (#11530) 2019-08-27 12:34:23 -07:00
Dan Field
bb25e5c013
Strip bitcode from gen_snapshot (#11528) 2019-08-27 11:19:07 -07:00
stuartmorgan
a9b47638a7
Fix change_install_name.py to be GN-friendly (#11309)
change_install_name.py was operating on framework library files
in-place, which breaks GN's timestamp analysis handling since a file
can't be both an input and output of an action. As a result no-op builds
on macOS were not actually no-ops.

This changes the script to operate on an output copy, both fixing the
no-op build issue, and simplifying the GN framework construction scripts
by combining the copy step and the install-name step.

Fixes https://github.com/flutter/flutter/issues/33465
2019-08-20 21:15:42 -07:00
Jason Simmons
797157bdec
Improvements to the flutter GDB script (#10675)
* Find the arm64 local engine build if the attached device is arm64
* Overwrite any previously copied gdbserver binary even if the binary is read only
* Stop any currently running gdbserver process for the package being debugged
2019-08-07 12:57:50 -07:00
Chris Bracken
03ff5618e4
Delete unused create_macos_gen_snapshot.py script (#10479)
Unused as of https://github.com/flutter/engine/pull/10430 and
https://chromium-review.googlesource.com/c/chromium/tools/build/+/1731443.
2019-08-02 16:54:10 -07:00
Chris Bracken
eac7ef065d
Add copy_gen_snapshots.py tool (#10430)
Copies and renames the architecture-dependent iOS variants of
gen_snapshot to a destination directory. Now that the armv7-emitting
variant of gen_snapshot is 64-bit we can no longer bundle up
gen_snapshot as a fat binary with the x86 armv7 variant merged with the
x86_64 arm64 variant.
2019-08-01 16:15:53 -07:00
Liam Appelbe
c3cc104e19
Fix mac gen_snapshot uploader (#10423) 2019-08-01 14:32:00 -07:00
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