117 Commits

Author SHA1 Message Date
Jason Simmons
37c132e2ac
Provide the skia_vulkan_header variable now required by Skia's Vulkan build scripts (#4459) 2017-12-13 17:17:05 -08:00
Jason Simmons
2cf9ed094e
Exclude Skia's copy of libjpeg-turbo from the license crawl (#4432) 2017-12-08 11:50:13 -08:00
Ian Hickson
7e4df308a7
Make Locale know about the deprecated Hebrew language code. (#4411)
...by making it know about ALL the deprecated language and region codes.
2017-12-06 12:17:30 -08:00
Chris Bracken
a2a3dc05ae
Catch divide-by-zero errors early in license tool (#4382)
If Progress is instantiated with a max of 0, throw immediately to avoid
a divide-by-zero later in toString(). This typically happens if the tool
recurses over an empty top-level component, which can happen when a
component is moved around in the repo and the developer hasn't cleaned
up old empty directories from their git client.
2017-11-21 15:42:17 -08:00
Chris Bracken
546cc39f84
Minor formatting fix in license script (#4381)
Fixes an errrant tab and unnecessary braces.
2017-11-21 15:34:13 -08:00
amirh
5afc1e2848
Enable WebP (#4359) 2017-11-15 16:49:50 -08:00
Chris Bracken
a8237ecca0
Roll garnet to b3ba6b6d6ab8ef658278cc43c9f839a8a8d1718e (#4335)
* Roll garnet to b3ba6b6d6ab8ef658278cc43c9f839a8a8d1718e

Also includes a buildroot patch to pick up new dependency:
  build/config/fuchsia/sdk.gni

This fixes a build breakage in
garnet/public/lib/fxl/strings/string_view_unittest.cc wherein a variable
'sw5' was declared but the test erroneously tested against 'sw4' from
the previous test.

* Update license script for garnet

Reflects structural changes in directories we do not depend on. This
filters out the following directories in addition to what was already
filtered:
  garnet/drivers
  garnet/packages
  garnet/public/build/
  garnet/public/rust/

* Update licenses
2017-11-08 15:25:07 -08:00
Ryan Macnak
d615678e6c
Roll tonic to da66b94839f788a0bffc34fd9bdfef3360af8c18. (#4332)
Update to moved repository.

Issue https://github.com/flutter/flutter/issues/9998
2017-11-08 14:04:29 -08:00
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