109 Commits

Author SHA1 Message Date
Zachary Anderson
6fb04adde9
Fix comment in last commit (#4315) 2017-11-03 08:53:42 -07:00
Zachary Anderson
9463b32b23
Reland: [GN] Don't set dart_host_toolchain (#4314) 2017-11-02 10:04:06 -07:00
Mikkel Nygaard Ravn
b41511e9a5
Revert "[GN] Don't set dart_host_toolchain (#4308)" (#4310)
This reverts commit 4caa68b8a061595ccdd8de17b530584604947b79.
2017-11-02 09:09:15 +01:00
Zachary Anderson
4caa68b8a0
[GN] Don't set dart_host_toolchain (#4308) 2017-11-01 13:36:18 -07:00
Chris Bracken
16f6d3f998 Eliminate dependency on chromium build tools repo (#4269)
The hermetic Xcode tooling in that repo is not yet easily usable for
Xcode 9. There are two main issues:

1. The tooling currently assumes that macOS host builds should use
   Xcode 8, whereas iOS builds should use Xcode 9. Flutter builds should
   use Xcode 9 in all cases.
2. The tooling currently includes a bail-out condition for iOS builds
   that exits non-zero immediately (Chrome hasn't yet migrated its iOS
   build to this tooling).

In the meantime, I've manually updated the bot infra with Xcode 9 and
we'll continue to use the current find_xcode.py tooling until Chrome's
new Mac/iOS tooling is ready.
2017-10-24 10:17:35 -07:00
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
Chris Bracken
850a95329d Manually specify iphonesimulator SDK in xcodebuild-arguments (#4242) 2017-10-18 13:34:38 -07:00
Chris Bracken
b41c7cf802 Use iphonesimulator SDK for Obj-C doc generation (#4241)
See: https://github.com/realm/jazzy/issues/791
2017-10-18 13:23:13 -07:00
Chris Bracken
5202ff886e Specify iOS SDK when generating Obj-C docs (#4240) 2017-10-18 13:04:33 -07:00
Chris Bracken
04ad2846bf Add dependency on chromium/src/build for Mac/iOS build (#4224)
* Add dependency on chromium/src/build for Mac/iOS build

Preparation for migrating to mac_toolchain.py for installing/configuring
Xcode versions on the Mac build bots.

* Exclude third_party/chromium_build from licence script

It's used only at build time to fetch and install the correct Xcode
version.
2017-10-17 11:07:54 -07:00
Jason Simmons
e31d0f4ea1 Update the license script to include the topaz root and exclude Skia's version of libpng (#4136) 2017-09-22 14:03:14 -07:00
Abhishek Amit
bd64e8dc5a Add flags to allow cross compiling to linux arm (#4120) 2017-09-19 14:09:35 -07:00
Michael Goderbauer
3df8c88f89 More clarification about license script (#4104) 2017-09-13 15:41:03 -07:00
Michael Goderbauer
f808426ef4 Clarify licenses/README.md (#4102) 2017-09-13 14:04:34 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
Jason Simmons
7fd7ecdcc3 Update licenses for Garnet/FXL renaming (#4093) 2017-09-12 09:51:33 -07:00
Jason Simmons
83ce8c40b1 Set the is_official_build flag that disables GR_TEST_UTILS in Skia (#4072)
Fixes https://github.com/flutter/flutter/issues/11952
2017-09-06 15:55:29 -07:00
Chinmay Garde
7f5bbe186b [GN] Add a --ios-cpu flag to build an iOS armv7 capable Flutter engine. (#4063) 2017-09-05 14:46:39 -07:00
Chinmay Garde
be634bc41b Allow disabling LTO in optimized builds. (#4057) 2017-09-05 13:00:27 -07:00
Jason Simmons
9446ff5d8f Update the license script for the Garnet tree (#4045)
See https://github.com/flutter/engine/pull/4043
2017-09-01 11:00:59 -07:00
Jason Simmons
2ada4107de Move libtxt under flutter/third_party in the license script (#4015) 2017-08-25 16:16:00 -07:00
Jason Simmons
9abc70c324 Update the license script to handle the new version of ICU (#4009) 2017-08-25 14:17:51 -07:00
Chinmay Garde
2e46f6ff75 Switch to Harfbuzz 1.5.0 from Fuchsia. (#4006) 2017-08-25 12:57:43 -07:00
Alexander Aprelev
fe0e123b12 Introduce frontend_server that flutter tools will use for compilation. (#3982)
* Introduce frontend_server that allows for interactive and batch modes.

Example of batch mode:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart

out: result 79256789-598c-4909-a9e4-0ef36d4c26ba
out: 'State&TickerProviderStateMixin^#U0^' is exported from both 'package:flutter/src/widgets/animated_cross_fade.dart' and 'package:flutter/src/widgets/animated_list.dart'.
...
out: Superclass has no method named 'hitTest'.
out: 79256789-598c-4909-a9e4-0ef36d4c26ba $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart.dill
$
```

Example of interactive mode - communication via stdin/stdout:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill --incremental

out: Frontend server is ready.
in: compile abc.dart
out: result fd99c0f9-12bb-4083-818e-2521d454fdc8
out: fd99c0f9-12bb-4083-818e-2521d454fdc8 abc.dart.dill
in: accept
in: recompile kuka
in: 123.dart
in: 456.dart
in: kuka
out: result d12f8d05-6c79-44f7-a775-1d3469e1be53
in: quit
$
```

* Add test. Cleanup dependencies.

* One more test with mocks

* Remove platform-kernel option. Refactored CompilerOptions. Clean up comments.

* Update license

* Use Uri.base.resolve consistently. Ensure folder path for sdk root. Fix test.

* Fix main_dart for frontend_server build target

* Reintroduce .packages file, add README.md, revert changes to licenses_flutter

* Run analyzer on frontend-server. Update .packages deps so tests can be run too.

* Add analyzer options file

* Clean up dependencies

* Add frontend_server files to license file back

* Fix comment in analysis_options.yaml

* Run frontend_server tests in travis

* Update licenses

* Change a+x permission on travis/test.sh

* pub get before pub run test

* Fix path to when

* Clarify accept/reject instructions

* Formatting, fixed docs, style

* Update license script to skip .travis.yml, when/example. Update license file.

* Update style nits

* Fix license

* Trim license extracted text. Fix licenses

* Update licenses_third_party signature

* Few more tests

* Update dart license

* Update dart license

* Style changes. Fix return value for Future<Null>
2017-08-21 12:55:17 -07:00
Jason Simmons
c80860ad1c Skip third_party/benchmark in the license source crawl (#3986)
Also regenerate sky_engine/LICENSE to include libtxt
2017-08-16 16:35:14 -07:00
Chinmay Garde
d8ab878c83 Only enable_lto on platforms where the toolchain recognizes the flag. (#3971) 2017-08-09 14:29:05 -07:00
Jason Simmons
50b29514c2 Exclude lib/txt/third_party/fonts from the license source tree traversal (#3960) 2017-08-07 16:04:08 -07:00
Chinmay Garde
eb33f26513 Update buildroot and opt out of LTO on unopt builds. (#3952) 2017-08-04 13:12:36 -07:00
Carlo Bernaschina
fabd500e56 Upgrade progress reporting in licenses tool (#3951)
On linux the licenses tools progress reporting was cluttering the screen with extra characters and sometimes was missing the last progress update.
2017-08-04 11:30:55 -07:00
Jason Simmons
59e44617cf Simplify a license script regex that was not completing on a Skia source file (#3929)
See https://github.com/flutter/engine/pull/3881
2017-07-27 15:28:05 -07:00
Ryan Macnak
316fa7e223 Speculatively disable GN argument 'enable_profiling' to test its effect on benchmarks. (#3905) 2017-07-19 12:52:53 -07:00
Brian Osman
ab8584eff2 Roll Skia and enable API guards (#3884)
* Roll Skia and enable API guards
* Update licenses
2017-07-18 09:44:21 -04:00
Ryan Macnak
7d698b84bd Restore setting dart_target_arch to fix Windows build. (#3883)
The Windows build does not have an appropriate target_cpu because it is incomplete and does not build the engine.
2017-07-17 13:33:33 -07:00
Ryan Macnak
7480e32854 Remove word-size mismatch from 32-bit Android debug builds to work wi… (#3879)
Roll Dart to be95b916ddf0af2b204286a438e7169e3bb2c67a.
2017-07-17 09:45:10 -07:00
Michael Goderbauer
f02133b5f6 Rename licenses README to get nice formatting on Github (#3853) 2017-07-07 13:02:51 -07:00
Ryan Macnak
eb467a8b85 Don't enable_profiling for x86 Android. (#3848)
This somehow introduces text relocations even though we always use -fPIC.
2017-07-06 14:40:34 -07:00
Ryan Macnak
66fbebaca3 Changes to get the profiler working for C code on Android. (#3847)
Roll Dart VM to daa38a2ea21d290e45adb509dc60418b22ec7eba for fix to Thumb profile sample collection.

Roll buildroot to b0b836db790abff26695a944224a4934480f2f48.
2017-07-06 09:40:23 -07:00
Alexander Aprelev
009d470d50 Generate flutter-flavoured dart patched sdk and platform.dill (#3814)
* Build Flutter patched-sdk with kernel artifacts

* Switch to new dart_host_toolchain argument mechanism to let dart patch_sdk know of host_toolchain.

* Update dart dependency

* Updated licenses

* Rename dart dependencies tag so they have just 'dart_'-prefixed dart's names.

* Fix indentation and line breaks for newly added deps.

* Add toolchain for windows host

* Update dart revision

* Licenses

* Update licenses

* Revert changes to licenses_third_party
2017-06-27 02:44:04 +00:00
Ian Hickson
ca7836108b Roll tonic to pick up my crash fixes (#3816) 2017-06-23 12:32:44 -07:00
Sarah Zakarias
a08f52ed74 Add script for generating ojbc doc for Flutter iOS libraries (#3788) 2017-06-21 09:51:47 +02:00
Todd Volkert
b91d2f1bb4 Fix some minor issues with Javadocs (#3761) 2017-06-09 07:35:50 -07:00
Todd Volkert
e6da0a2b9e Add android v4 support lib to classpath when generating docs (#3760) 2017-06-08 18:58:08 -07:00
Todd Volkert
919f0ad063 Create FlutterFragmentActivity (#3757)
This creates a `FlutterFragmentActivity` class that extends
the Android v4 Support librray's `FragmentActivity` class.
However, we intentionally do not bundle the support library
with our engine, so apps that wish to use this class are
responsible for including the support library .jar file in
their runtime deps when creating the final app.

flutter/flutter#10072
2017-06-08 16:40:37 -07:00
Chris Bracken
1f765cdba7 Don't override ios deployment target in gn (#3751)
Use the value specified in build/config/ios/ios_sdk.gni in the buildroot
repo.

Updates buildroot to 4d1c1fd7103d6daba559e456a6a68e4385bb28f1
2017-06-07 13:47:13 -07:00
Chris Bracken
c9bbcbec3a Exclude ios_tools from license script (#3750)
ios_tools exists to provide find_xcode.py, which is used only on the Mac
Engine bot to select the correct version of Xcode to build with.
2017-06-07 10:01:44 -07:00
Chinmay Garde
aac4fdca96 Fix Android Vulkan build by accounting for updated GN flags. (#3670) 2017-05-09 14:17:24 -07:00
Ian Hickson
ce9251b349 Remove the Android NDK and SDK from the license file. (#3627)
As advised.
2017-04-25 17:22:25 -07:00
Chinmay Garde
0cf10efe31 Add the ‘vulkan’ suffix to the out directory when the —enable-vulkan flag is specified. (#3618)
Earlier, when the —enable-vulkan flag was specified, the out directory name was determined by the other flags specified to `flutter/tools/gn`. But, the build itself was Vulkan enabled. Now that we are going to add the vulkan target to buildbot, we want to clearly delineate a Vulkan enabled build from a non-Vulkan enabled one.
2017-04-21 17:05:35 -07:00
Chinmay Garde
ff941a4c12 Fix benign warning about adding a Skia GN arg that has deprecated. (#3617) 2017-04-21 15:39:13 -07:00
Ryan Macnak
1fed16fb25 Adjust GN for removal of libdart, take two. (#3584)
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00