Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c306f8c

Browse files
Merge branch 'master' into autofill-ios
2 parents e87f36f + 9d86b2f commit c306f8c

File tree

147 files changed

+3131
-1745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+3131
-1745
lines changed

.cirrus.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ task:
6060
cd $ENGINE_PATH/src/out/host_release/
6161
./txt_benchmarks --benchmark_format=json > txt_benchmarks.json
6262
./fml_benchmarks --benchmark_format=json > fml_benchmarks.json
63-
./fml_benchmarks --benchmark_format=json > shell_benchmarks.json
63+
./shell_benchmarks --benchmark_format=json > shell_benchmarks.json
6464
cd $ENGINE_PATH/src/flutter/testing/benchmark
6565
pub get
6666
dart bin/parse_and_send.dart ../../../out/host_release/txt_benchmarks.json
@@ -74,6 +74,9 @@ task:
7474
test_host_script: |
7575
cd $ENGINE_PATH/src
7676
./flutter/testing/run_tests.sh host_release
77+
78+
# The following test depends on Flutter framework repo. It may fail if the
79+
# framework repo is currently broken.
7780
- name: build_and_test_linux_unopt_debug
7881
compile_host_script: |
7982
cd $ENGINE_PATH/src
@@ -166,6 +169,7 @@ task:
166169
- $FRAMEWORK_PATH/flutter/bin/flutter config --local-engine=host_debug_unopt --no-analytics --enable-web
167170
- $FRAMEWORK_PATH/flutter/bin/flutter pub get --local-engine=host_debug_unopt
168171
- $FRAMEWORK_PATH/flutter/bin/flutter drive -v --target=test_driver/text_editing_e2e.dart -d web-server --release --browser-name=chrome --local-engine=host_debug_unopt
172+
- $FRAMEWORK_PATH/flutter/bin/flutter drive -v --target=test_driver/platform_messages_e2e.dart -d web-server --release --browser-name=chrome --local-engine=host_debug_unopt
169173
- $FRAMEWORK_PATH/flutter/bin/flutter drive -v --target=test_driver/treeshaking_e2e.dart -d web-server --profile --browser-name=chrome --local-engine=host_debug_unopt
170174
- $FRAMEWORK_PATH/flutter/bin/flutter drive -v --target=test_driver/image_loading_e2e.dart -d web-server --release --browser-name=chrome --local-engine=host_debug_unopt
171175

BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ group("flutter") {
7676
"//flutter/runtime:runtime_unittests",
7777
"//flutter/shell/common:shell_unittests",
7878
"//flutter/shell/platform/common/cpp:common_cpp_core_unittests",
79+
"//flutter/shell/platform/common/cpp:common_cpp_unittests",
7980
"//flutter/shell/platform/common/cpp/client_wrapper:client_wrapper_unittests",
8081
"//flutter/shell/platform/embedder:embedder_unittests",
8182
"//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests",

DEPS

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ vars = {
2626
'skia_git': 'https://skia.googlesource.com',
2727
# OCMock is for testing only so there is no google clone
2828
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
29-
'skia_revision': '8afde5f395088351ea43045a380e2feb55bf88ea',
29+
'skia_revision': '05e2350de5a97a4f2adc91af9ad292538fd7fa10',
3030

3131
# When updating the Dart revision, ensure that all entries that are
3232
# dependencies of Dart are also updated to match the entries in the
3333
# Dart SDK's DEPS file for that revision of Dart. The DEPS file for
3434
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
3535
# You can use //tools/dart/create_updated_flutter_deps.py to produce
3636
# updated revision list of existing dependencies.
37-
'dart_revision': 'fae35fca47c9fed7a2339cf2e9535d526146ddd2',
37+
'dart_revision': '9f65693f5772f9b859a16baa2381462920abbee9',
3838

3939
# WARNING: DO NOT EDIT MANUALLY
4040
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -73,7 +73,7 @@ vars = {
7373
'dart_observatory_pub_packages_rev': '0894122173b0f98eb08863a7712e78407d4477bc',
7474
'dart_package_config_tag': 'v1.9.2',
7575
'dart_path_tag': '1.6.2',
76-
'dart_pedantic_tag': 'v1.8.0',
76+
'dart_pedantic_tag': 'v1.9.0',
7777
'dart_pool_tag': '1.3.6',
7878
'dart_protobuf_rev': '3746c8fd3f2b0147623a8e3db89c3ff4330de760',
7979
'dart_pub_rev': '3606265962da4248d34d352aa3d170aae4496a90',
@@ -113,6 +113,9 @@ vars = {
113113
# Checkout Windows dependencies only if we are building on Windows.
114114
'download_windows_deps' : 'host_os == "win"',
115115

116+
# Checkout Linux dependencies only when building on Linux.
117+
'download_linux_deps': 'host_os == "linux"',
118+
116119
# An LLVM backend needs LLVM binaries and headers. To avoid build time
117120
# increases we can use prebuilts. We don't want to download this on every
118121
# CQ/CI bot nor do we want the average Dart developer to incur that cost.
@@ -136,7 +139,7 @@ allowed_hosts = [
136139
]
137140

138141
deps = {
139-
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'a0fb98af7b6f50f17b47ab7968f3f5664d0d6316',
142+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '0c64fd23eeedbad60c2bfa294710cd587ccb7c27',
140143

141144
# Fuchsia compatibility
142145
#
@@ -517,8 +520,8 @@ deps = {
517520
'src/buildtools/{host_os}-x64/clang': {
518521
'packages': [
519522
{
520-
'package': 'fuchsia/clang/${{platform}}',
521-
'version': 'git_revision:de39621f0f03f20633bdfa50bde97a3908bf6e98'
523+
'package': 'fuchsia/third_party/clang/${{platform}}',
524+
'version': 'git_revision:7e9747b50bcb1be28d4a3236571e8050835497a6'
522525
}
523526
],
524527
'condition': 'host_os == "mac" or host_os == "linux"',
@@ -532,7 +535,7 @@ deps = {
532535
'packages': [
533536
{
534537
'package': 'fuchsia/sdk/core/mac-amd64',
535-
'version': '6V5BRZbu7X78QeWu5MLPsTSEe87gD9AjXtxEhUkf4JAC'
538+
'version': 'REQ-c4gnypoLDrJp8vxMd6VeQXzD3xHdgjWRPwShcHcC'
536539
}
537540
],
538541
'condition': 'host_os == "mac"',
@@ -552,7 +555,7 @@ deps = {
552555
'packages': [
553556
{
554557
'package': 'fuchsia/sdk/core/linux-amd64',
555-
'version': 'v61zgYIe9NuuksbE4M1t2gGUKFkkbftlCx7cF7xRPOcC'
558+
'version': 'VzWN4x5phvAfhb4PT5j9mgzeNIGwxlfQxJHkhiKnligC'
556559
}
557560
],
558561
'condition': 'host_os == "linux"',
@@ -622,4 +625,13 @@ hooks = [
622625
'src/third_party/dart/third_party/7zip.tar.gz.sha1',
623626
],
624627
},
628+
{
629+
'name': 'linux_sysroot',
630+
'pattern': '.',
631+
'condition': 'download_linux_deps',
632+
'action': [
633+
'python',
634+
'src/build/linux/sysroot_scripts/install-sysroot.py',
635+
'--arch=x64'],
636+
},
625637
]

ci/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fi;
4242

4343
BASE_SHA="$(git fetch $UPSTREAM master > /dev/null 2>&1 && \
4444
(git merge-base --fork-point FETCH_HEAD HEAD || git merge-base FETCH_HEAD HEAD))"
45-
CLANG_FILES_TO_CHECK="$(git diff $DIFF_OPTS $BASE_SHA -- $CLANG_FILETYPES)"
45+
CLANG_FILES_TO_CHECK="$(git ls-files $CLANG_FILETYPES)"
4646
FAILED_CHECKS=0
4747
for f in $CLANG_FILES_TO_CHECK; do
4848
set +e

ci/licenses_golden/licenses_flutter

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,6 @@ FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/
778778
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/binary_messenger.h
779779
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/encodable_value.h
780780
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/engine_method_result.h
781-
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/json_message_codec.h
782-
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/json_method_codec.h
783-
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/json_type.h
784781
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/message_codec.h
785782
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/method_call.h
786783
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/method_channel.h
@@ -790,8 +787,6 @@ FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/
790787
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/plugin_registry.h
791788
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/standard_message_codec.h
792789
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/include/flutter/standard_method_codec.h
793-
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/json_message_codec.cc
794-
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/json_method_codec.cc
795790
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/method_call_unittests.cc
796791
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/method_channel_unittests.cc
797792
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/plugin_registrar.cc
@@ -802,6 +797,12 @@ FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/standard_message
802797
FILE: ../../../flutter/shell/platform/common/cpp/client_wrapper/standard_method_codec_unittests.cc
803798
FILE: ../../../flutter/shell/platform/common/cpp/incoming_message_dispatcher.cc
804799
FILE: ../../../flutter/shell/platform/common/cpp/incoming_message_dispatcher.h
800+
FILE: ../../../flutter/shell/platform/common/cpp/json_message_codec.cc
801+
FILE: ../../../flutter/shell/platform/common/cpp/json_message_codec.h
802+
FILE: ../../../flutter/shell/platform/common/cpp/json_message_codec_unittests.cc
803+
FILE: ../../../flutter/shell/platform/common/cpp/json_method_codec.cc
804+
FILE: ../../../flutter/shell/platform/common/cpp/json_method_codec.h
805+
FILE: ../../../flutter/shell/platform/common/cpp/json_method_codec_unittests.cc
805806
FILE: ../../../flutter/shell/platform/common/cpp/path_utils.cc
806807
FILE: ../../../flutter/shell/platform/common/cpp/path_utils.h
807808
FILE: ../../../flutter/shell/platform/common/cpp/path_utils_unittests.cc
@@ -872,10 +873,13 @@ FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterUmbrell
872873
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h
873874
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.mm
874875
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm
875-
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.m
876+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm
876877
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController_Internal.h
878+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.h
879+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.mm
877880
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.h
878881
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm
882+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge_ios.h
879883
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.h
880884
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.mm
881885
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h

ci/licenses_golden/licenses_fuchsia

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 18c6c9c5873393a0ab127ace3b75f16e
1+
Signature: 4f1e4147fee10dda274e4946a42065f6
22

33
UNUSED LICENSES:
44

@@ -3273,6 +3273,7 @@ FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.settings/night_mode.fidl
32733273
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/events.fidl
32743274
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/keyboard.fidl
32753275
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/modifiers.fidl
3276+
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/pointer.fidl
32763277
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.update/update.fidl
32773278
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.url/url.fidl
32783279
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.weave/auth.fidl

0 commit comments

Comments
 (0)