280 Commits

Author SHA1 Message Date
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