482 Commits

Author SHA1 Message Date
David Worsham
e1c9673bbb
Fix targets in build_fuchsia_artifacts (#19794) 2020-07-30 14:35:33 -07:00
Greg Spencer
e23e4775ae
Lint fixes for fml, tools subdirs (#19990)
This does lint fixes for the fml and tools subdirs.
2020-07-30 12:40:31 -07:00
Siva
406891841f
Manual roll of Dart 40fd1c456e...7e8348f4ce (#20125)
* Manual roll of Dart 40fd1c456e...7e8348f4ce

dart-lang/sdk@7e8348f4ce [dart2js] Assume `isPotentialSubtype` is always true.
dart-lang/sdk@5671730c5a [dart2js] Pass type arguments to callable properties even with --omit-implicit-checks.
dart-lang/sdk@4c74ebb367 [benchmark] Add dartdevc-null targets.
dart-lang/sdk@56708696a9 [vm/nnbd/bytecode] Distinguish function types with different nullabilities in bytecode generator
dart-lang/sdk@d2f7039e9c [dart:io] Parse scoped IPv6 in constructor of InternetAddress
dart-lang/sdk@c2d28d1569 Rename Null Safety tests.
dart-lang/sdk@4d3ec06277 Add more data and performance operations for Cider.
dart-lang/sdk@3103d859e4 Remove unused TypeSystemImpl.mostSpecificTypeArgument().
dart-lang/sdk@6d9a4f16dd Issue 42757. Implement null spread element typing with null-safety.
dart-lang/sdk@8c316a99de Remove unnecessary null checks.
dart-lang/sdk@6c9b885e57 Remove StrongModeCode.INVALID_PARAMETER_DECLARATION; it's redundant
dart-lang/sdk@b98eb386ea [ddc] Use prebuilt_dart_action to build js
dart-lang/sdk@8796382840 Analyzer: Move invalid_super_invocation to compile-time error
dart-lang/sdk@cece303eb4 Check diagnostics in List/Map/SetLiteralTest(s).
dart-lang/sdk@cc519b9a03 Test that during partial resolution for Cider we don't resolve some nodes.
dart-lang/sdk@4ea6d6e130 [tests/ffi] Re-enable commented out tests
dart-lang/sdk@2225b6f472 Migration: fix handling of async functions that return FutureOr.
dart-lang/sdk@f907e561c9 Migration: never produce a type of the form `FutureOr<T?>?`.
dart-lang/sdk@69ba6e5f80 Make FileSystemEntity.absolutePath understand more Windows paths.
dart-lang/sdk@202e32afeb [vm] Native API: Introduce Dart_FinalizableHandle
dart-lang/sdk@debb4dddea [co19] Language/Types and Language/Variables tests enabled
dart-lang/sdk@3661464297 [infra] Update checked-in SDKs to 2.10.0-0.0.dev
dart-lang/sdk@b8dc7627a9 [cfe] Handle NullCheck in constant evaluation

* Switch Android windows builds to also use clang.

* Bump buildroot version to fe3b46e595e7ce1350e11aa0c90365976051f4a3

* Update license.
2020-07-29 20:52:06 -07:00
stuartmorgan
ec9e17c5cb
Roll zlib (#20119)
Picks up the buildroot change to roll zlib to the latest version from Chromium.
2020-07-29 16:02:30 -07:00
Siva
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e (#20092)
* Manual roll of Dart from 24c7666def...40fd1c456e

dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10

* Rev buildroot to latest version.

* Update license.

* update.

* Update gn revision.

* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
Jonah Williams
10adbbd0c5
fix gclient runhooks for windows (#20014)
* fix gclient runhooks for windows
2020-07-24 13:22:24 -07:00
Jonah Williams
3596b9b8b4
remove usage of dartdev command (#20011)
* remove usage of dartdev command so that gclient runhooks can re-generate package_config.json
2020-07-24 12:22:45 -07:00
Siva
3bb6cc265e
Manual merge of Dart a3815b6590...24c7666def (#19967)
* Manual merge or Dart into flutter a3815b6590...24c7666def

dart-lang/sdk@24c7666def Update tests that have the current version number hardcoded
dart-lang/sdk@f88ce7aef5 Increase Dart version to 2.10

* Update language version.

* Update license.

* Hpdate language version.

* Update license.
2020-07-24 11:00:34 -07:00
gaaclarke
21efd7325e
Made the linter print out more information in its output and fixed bugs (#19895) 2020-07-22 15:38:09 -07:00
skia-flutter-autoroll
e120fe0361
Roll Fuchsia Linux SDK from 39EKo... to nP7Ux... (#19825) 2020-07-16 16:56:10 -07:00
Jonah Williams
3fb6899e0e
[null-safety] remove package references from flutter frontend-server test, ci analyze (#19810) 2020-07-16 12:16:02 -07:00
Jonah Williams
5d757690d5
[null-safety] update use of dot packages to package_config.json (#19780)
Work towards flutter/flutter#60999

All usage of .packages must eventually be replace with package_config.json to support language versioning.
2020-07-15 15:26:34 -07:00
Kaushik Iska
7b1515ed29
Revert "ensure we do not double publish to CIPD (#19724)" (#19759)
This reverts commit 56bb3c5b335820c9ee97ec82cd63a5a471bbc604.
2020-07-14 18:55:03 -07:00
Christopher Fujino
56bb3c5b33
ensure we do not double publish to CIPD (#19724) 2020-07-14 14:19:14 -07:00
Chase Latta
b919945af8
include list_libraries.dart as a snapshot for fuchsia (#19567) 2020-07-07 11:16:50 -07:00
Jonah Williams
35b5aa5af2
switch const finder to package_config (#19576)
Generate package config during gclient runhooks and update BUILD.gn to reference it
2020-07-07 10:31:01 -07:00
Chris Yang
cc9ccf98ae
Implement mutator stack on Android hybrid composition platform view (#19426) 2020-07-04 13:03:04 -07:00
renyou
cee437e8d1
Revert "Add tests & --unopt to build_fuchsia_artifacts (#18625)" (#19494)
This reverts commit fae8141f9f5f64bd9aad8d53f031f2416bf82ec8.
2020-07-03 13:26:19 -07:00
Jonah Williams
9837bb062c
generate package config during runhooks (#19428)
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section.

Fixes flutter/flutter#60628
2020-06-30 17:48:36 -07:00
Alexandre Ardhuin
218d98f4d8
Operator equals (#19303)
* use Object for operator==

* apply style guide for operator==
2020-06-30 23:16:31 +02:00
David Worsham
fae8141f9f
Add tests & --unopt to build_fuchsia_artifacts (#18625)
We can build unoptimized code for easier debugging with this flag.
2020-06-29 16:39:15 -07:00
Chase Latta
a4c842f1e6
[fuchsia] include icudtl.dat in cipd bucket (#19296)
Includes the icudtl.dat file which is built into the runner
so it can be used in testing from within the fuchsia repo
2020-06-25 13:04:19 -07:00
Filip Filmar
2a5053f299
[fuchsia] Adds --targets arg for build_fuchsia_artifacts.py (#19109)
The Fuchsia artifact builder didn't allow the end user to add more
packages to build for Fuchsia.  The current default is building only
the platform-specific packages; but packages like
`flutter/shell/common:shell_tests` are also defined for Fuchsia but
not compiled by default.

This change makes it less of a hassle to compile such packages.
2020-06-22 14:51:57 -07:00
Michael Goderbauer
ed5df03dcd
Word substitutions (#19111) 2020-06-18 11:05:24 -07:00
Siva
60a9b85f06
Manual roll of Dart 6d4e7d6830...021a49e88c (#19074)
* 1. Manual roll of Dart 6d4e7d6830...021a49e88c

dart-lang/sdk@021a49e88c Update the way to get feature set and language version.
dart-lang/sdk@d1638508c1 Migration: streamline behavior injection in migration_cli_test.dart.

2. Update ICU dependency and adjust license script to account for this
   change.

* Update license tool signature.
2020-06-16 16:50:30 -07:00
stuartmorgan
5c69b8beb5
Roll ANGLE to ToT (#15868)
Updates the ANGLE checkout to the latest master. Among other things, picks up fixes for errors when building under Visual Studio 2019.

Part of fix for https://github.com/flutter/flutter/issues/48831
2020-06-10 08:52:57 -07:00
Jonah Williams
d13861da2b
Remove simulator build mode restrictions (#18898) 2020-06-08 12:33:02 -07:00
George Wright
ef43e6e3f2
Enable LTO for Fuchsia artifact builds (#18481) 2020-05-18 13:35:01 -07:00
Kaushik Iska
dc500fdfc2
[fuchsia] Dbg symbols cipd package doesn't contain tmp dir (#18433)
Fixes: fxb/41743
2020-05-18 12:22:00 -07:00
George Wright
c8ff03caca
Publish validation layer deps as part of the fuchsia artifacts (#18214) 2020-05-08 12:39:02 -07:00
Ali Mahdiyar
9cdb5a9b6a
Custom unicode handling for Android backspace via JNI to ICU (#17960) 2020-05-06 14:01:02 -07:00
Jason Simmons
663bfe8d61
Remove the ResourceCleaner from the Android embedding (#18072) 2020-05-04 16:34:02 -07:00
Dan Field
fa0e464a71
use clang on Windows (#17407)
* use clang on Windows for everything but Android

This pulls the Clang build from Chromium. We should eventually switch to use the Fuchsia toolchain when it is available.
2020-04-29 09:38:15 -07:00
Nurhan Turgut
2db3276573
use $CIRRUS_BASE_BRANCH for the branch name (#18014)
use $CIRRUS_BASE_BRANCH for getting the branch name when cloning the flutter repo.
2020-04-28 17:23:20 -07:00
Nurhan Turgut
4f888d6625
Change the repo fetch script used in integration tests (#17943)
* change the repo fetch script to recognize candidate versions such as flutter-1.17-candidate.3. Originally the script only accepted branches such as v0.7.3 as valid engine branches.

* addressing reviewer comments: changing the release regular expression
2020-04-24 17:08:39 -07:00
Chinmay Garde
261a1894ee
Add a gn.bat script that runs ./flutter/tools/gn. (#17799) 2020-04-17 18:51:59 -07:00
Kaushik Iska
88e454bf1c
[fuchsia] Remove redundant libs (#16826)
Fixes: #43926
2020-04-17 13:07:37 -07:00
George Wright
9f31d81dcd
Enable Vulkan validation layers for shell_test (#17684) 2020-04-17 13:00:02 -07:00
stuartmorgan
e6a2534b63
Add a gn flag to disable desktop embeddings (#17708)
Desktop embedding dependencies can trigger gn-generation-time
requiremenets; e.g., the Linux embeddings have pkg-config dependencies.
This can be problematic in some build environments, such as building
flutter_engine.so with a custom sysroot where those higher-level
dependencies aren't available.

This flag allows generating build files that don't have those
dependencies.
2020-04-14 17:48:18 -07:00
stuartmorgan
dfe13788ed
Adjust the GLFW build options (#17704)
- Adds an explicit option for not building the GLFW embedding.
- Disables GLFW by default on Windows, where it's no longer the
  uploaded embedding.
- Moves the X11 pkg-config, which is only used by the GLFW embedding,
  behind the GLFW build flag.
2020-04-14 12:45:21 -07:00
George Wright
fd1db54e02
Use VK_LAYER_KHRONOS_validation only on Fuchsia (#17683) 2020-04-13 16:45:03 -07:00
Nurhan Turgut
deef2663ac
Run integration tests on ci (#17598)
* changing felt script to fetch flutter

* changing the clone_flutter.sh code

* running integration tests with felt on cirrus. fetch framework in CI (not in local).

* only run cirrus tests on chrome. fix a comma in the flutter command path

* adding comments to public flags

* use local engine parameter for flutter pub get

* change flutter executable used for flutter drive command

* fix a cleanup issue. address comments. add toolException. enable web in flutter

* address reviwer comments. fix issue with local-engine

* address reviwer comments. fix issue with local-engine

* using engine/flutter/.dart_tools as clone directory. enabling clone script for local usage

* clean flutter repo with felt clean. add a flag to skip cloning the repo. always clone the repo even for local development, unless this flag is set

* fixing typos. updating readme for the new flag.

* fix directory error

* addressing reviewer comments
2020-04-13 09:54:54 -07:00
Joshua Seaton
9101b63f98
[tools][fuchsia] Reland 'Do not tar debug symbol CIPD uploads' (#17597)
Fuchsia is the main consumer of these CIPD packages and - to simplify
its infrastructure - it is migrating its SDK partners over to producing
a CIPD package containing a flat .build-id directory.

This change also updates the CIPD package so that the .build-id
directory is placed at the root.

Bug: fxbug.dev/41443
2020-04-09 16:09:31 -07:00
Kaushik Iska
ab434c5540
Revert "[tools][fuchsia] Do not tar debug symbol CIPD uploads (#17506)" (#17537)
This reverts commit 4b69cf2c49db43ec89bb5004d1f4b767194c4fea.
2020-04-06 14:15:40 -07:00
Joshua Seaton
4b69cf2c49
[tools][fuchsia] Do not tar debug symbol CIPD uploads (#17506)
Fuchsia is the main consumer of these CIPD packages and - to simplify
its infrastructure - it is migrating its SDK partners over to producing
a CIPD package containing a flat .build-id directory.

This change also updates the CIPD package so that the .build-id
directory is placed at the root.

Bug: fxbug.dev/41443
2020-04-06 10:04:54 -07:00
George Wright
dfedac61c1 Revert "[tools][fuchsia] Do not tar debug symbol CIPD uploads (#17275)"
This reverts commit 03d5e500037fb091c9f044a067fca84466a191e5.
2020-04-03 10:56:08 -07:00
Joshua Seaton
03d5e50003
[tools][fuchsia] Do not tar debug symbol CIPD uploads (#17275)
Fuchsia is the main consumer of these CIPD packages and - to simplify
its infrastructure - it is migrating its SDK partners over to producing
a CIPD package containing a flat .build-id directory.

This change also updates the CIPD package so that the .build-id
directory is placed at the root.

Bug: fxbug.dev/41443
2020-04-02 18:44:09 -07:00
Chinmay Garde
f58967fbd3
Re-land "Enable unified OpenGL/Metal builds." (#17230) 2020-03-20 15:56:05 -07:00
Chinmay Garde
fd60ddf751
Revert "Enable unified OpenGL/Metal builds. (#17217)" (#17218)
This reverts commit 8581937c49d6b63be61d9596012d29293a9271d3.
2020-03-19 20:38:22 -07:00
Chinmay Garde
8581937c49
Enable unified OpenGL/Metal builds. (#17217) 2020-03-19 19:46:02 -07:00