Skip to content

Commit

Permalink
Merge pull request #10 from flutter/master
Browse files Browse the repository at this point in the history
update
  • Loading branch information
skia-flutter-autoroll authored Apr 17, 2020
2 parents 059291c + 99f8d00 commit 981f089
Show file tree
Hide file tree
Showing 84 changed files with 2,534 additions and 1,891 deletions.
22 changes: 3 additions & 19 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ gcp_credentials: ENCRYPTED[987a78af29b91ce8489594c9ab3fec21845bbe5ba68294b8f6def
web_shard_template: &WEB_SHARD_TEMPLATE
only_if: "changesInclude('.cirrus.yml', 'DEPS', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''"
environment:
# As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking.
# As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking.
CPU: 4
MEMORY: 16G
WEB_SHARD_COUNT: 4
compile_host_script: |
cd $ENGINE_PATH/src
./flutter/tools/gn --unoptimized --full-dart-sdk
Expand Down Expand Up @@ -124,19 +125,7 @@ task:
- name: web_tests-2-linux
<< : *WEB_SHARD_TEMPLATE

- name: web_tests-3-linux
<< : *WEB_SHARD_TEMPLATE

- name: web_tests-4-linux
<< : *WEB_SHARD_TEMPLATE

- name: web_tests-5-linux
<< : *WEB_SHARD_TEMPLATE

- name: web_tests-6-linux
<< : *WEB_SHARD_TEMPLATE

- name: web_tests-7_last-linux # last Web shard must end with _last
- name: web_tests-3_last-linux # last Web shard must end with _last
<< : *WEB_SHARD_TEMPLATE

- name: web_engine_analysis
Expand Down Expand Up @@ -207,8 +196,3 @@ task:
build_script: |
cd $ENGINE_PATH/src/flutter
./ci/build.sh
- name: build_fuchsia_artifacts
compile_fuchsia_script: |
cd $ENGINE_PATH/src
./flutter/tools/fuchsia/build_fuchsia_artifacts.py --engine-version HEAD --runtime-mode debug --no-lto --archs x64
cd $ENGINE_PATH/src/flutter
1 change: 0 additions & 1 deletion .github/auto_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ reviewers:
- GaryQian
- jason-simmons
- iskakaushik
- franciscojma86
- cbracken
- flar

Expand Down
38 changes: 23 additions & 15 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# found in the LICENSE file.

import("//flutter/common/config.gni")
import("//flutter/shell/platform/config.gni")

if (is_fuchsia) {
import("//build/fuchsia/sdk.gni")
Expand Down Expand Up @@ -63,10 +64,8 @@ group("flutter") {
# If on the host, compile all unittests targets.
if (current_toolchain == host_toolchain) {
if (is_mac) {
public_deps += [
"//flutter/shell/platform/darwin:flutter_channels_unittests",
"//flutter/shell/platform/darwin/macos:flutter_desktop_darwin_unittests",
]
public_deps +=
[ "//flutter/shell/platform/darwin:flutter_channels_unittests" ]
}

public_deps += [
Expand All @@ -75,29 +74,38 @@ group("flutter") {
"//flutter/lib/ui:ui_unittests",
"//flutter/runtime:runtime_unittests",
"//flutter/shell/common:shell_unittests",
"//flutter/shell/platform/common/cpp:common_cpp_core_unittests",
"//flutter/shell/platform/common/cpp:common_cpp_unittests",
"//flutter/shell/platform/common/cpp/client_wrapper:client_wrapper_unittests",
"//flutter/shell/platform/embedder:embedder_unittests",
"//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests",
"//flutter/testing:testing_unittests",
"//flutter/third_party/txt:txt_unittests",
]

if (is_win) {
public_deps += [
"//flutter/shell/platform/windows:flutter_windows_unittests",
"//flutter/shell/platform/windows/client_wrapper:client_wrapper_windows_unittests",
]
}

if (!is_win) {
public_deps += [
"//flutter/fml:fml_benchmarks",
"//flutter/shell/common:shell_benchmarks",
"//flutter/third_party/txt:txt_benchmarks",
]
}

# Unit tests for desktop embeddings should only be built if the desktop
# embeddings are being built.
if (enable_desktop_embeddings) {
public_deps += [
"//flutter/shell/platform/common/cpp:common_cpp_core_unittests",
"//flutter/shell/platform/common/cpp:common_cpp_unittests",
"//flutter/shell/platform/common/cpp/client_wrapper:client_wrapper_unittests",
"//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw_unittests",
]
if (is_mac) {
public_deps += [ "//flutter/shell/platform/darwin/macos:flutter_desktop_darwin_unittests" ]
}
if (is_win) {
public_deps += [
"//flutter/shell/platform/windows:flutter_windows_unittests",
"//flutter/shell/platform/windows/client_wrapper:client_wrapper_windows_unittests",
]
}
}
}
}

Expand Down
20 changes: 8 additions & 12 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ vars = {
'skia_git': 'https://skia.googlesource.com',
# OCMock is for testing only so there is no google clone
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
'skia_revision': 'ad653d8378d7a17502956c4addebb68eb3129961',
'skia_revision': 'efebaa2a1152d3950f252d63a619f53992366ff2',

# When updating the Dart revision, ensure that all entries that are
# dependencies of Dart are also updated to match the entries in the
# Dart SDK's DEPS file for that revision of Dart. The DEPS file for
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': '3e43a3dcadf96c0f1e30b12e0a1805df5a336c3c',
'dart_revision': '5900a0ac492b6d8ac2ca45a63f9236c61aa3f6a9',

# WARNING: DO NOT EDIT MANUALLY
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
Expand Down Expand Up @@ -62,17 +62,16 @@ vars = {
'dart_http_throttle_tag': '1.0.2',
'dart_intl_tag': '0.16.1',
'dart_json_rpc_2_tag': '2.0.9',
'dart_linter_tag': '0.1.115',
'dart_linter_tag': '0.1.114',
'dart_logging_tag': '0.11.3+2',
'dart_markdown_tag': '2.1.1',
'dart_matcher_tag': '0.12.5',
'dart_mime_tag': '0.9.6+2',
'dart_mockito_tag': 'd39ac507483b9891165e422ec98d9fb480037c8b',
'dart_mustache_tag': '5e81b12215566dbe2473b2afd01a8a8aedd56ad9',
'dart_oauth2_tag': '1.2.1',
'dart_observatory_pub_packages_rev': '0894122173b0f98eb08863a7712e78407d4477bc',
'dart_package_config_tag': 'v1.9.2',
'dart_path_tag': '1.6.2',
'dart_path_tag': '1.7.0',
'dart_pedantic_tag': 'v1.9.0',
'dart_pool_tag': '1.3.6',
'dart_protobuf_rev': '3746c8fd3f2b0147623a8e3db89c3ff4330de760',
Expand Down Expand Up @@ -139,7 +138,7 @@ allowed_hosts = [
]

deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '036715c76da60220b39312ea066cd65d32c2157d',
'src': 'https://github.com/flutter/buildroot.git' + '@' + '1b6a1b344074a1105b2e9b1c714766bace22acd7',

# Fuchsia compatibility
#
Expand Down Expand Up @@ -196,9 +195,6 @@ deps = {
'src/third_party/dart/pkg/analysis_server/language_model':
{'packages': [{'version': 'lIRt14qoA1Cocb8j3yw_Fx5cfYou2ddam6ArBm4AI6QC', 'package': 'dart/language_model'}], 'dep_type': 'cipd'},

'src/third_party/dart/third_party/observatory_pub_packages':
Var('dart_git') + '/observatory_pub_packages.git' + '@' + Var('dart_observatory_pub_packages_rev'),

'src/third_party/dart/third_party/pkg/args':
Var('dart_git') + '/args.git' + '@' + Var('dart_args_tag'),

Expand Down Expand Up @@ -233,7 +229,7 @@ deps = {
Var('dart_git') + '/dart2js_info.git' + '@' + Var('dart_dart2js_info_tag'),

'src/third_party/dart/third_party/pkg/dartdoc':
Var('dart_git') + '/[email protected].3',
Var('dart_git') + '/[email protected].4',

'src/third_party/dart/third_party/pkg/ffi':
Var('dart_git') + '/ffi.git' + '@' + Var('dart_ffi_tag'),
Expand Down Expand Up @@ -538,7 +534,7 @@ deps = {
'packages': [
{
'package': 'fuchsia/sdk/core/mac-amd64',
'version': '8JtFK64mmIC2zTEj9ICMrcQBITqKDZVQluLVKczro9kC'
'version': 'W1XGOOg536oZa9c08cv4pRp2Hq60gagWtr-TMSb6iN0C'
}
],
'condition': 'host_os == "mac"',
Expand All @@ -558,7 +554,7 @@ deps = {
'packages': [
{
'package': 'fuchsia/sdk/core/linux-amd64',
'version': 'LnaL23_DpQsbnbs-byJi-UoGe1XerKCfLjb4_XkxMRoC'
'version': 'PgthiSmMqgeVVi3s8ATyJ1ut411xGyk0h0lDZta1iUQC'
}
],
'condition': 'host_os == "linux"',
Expand Down
3 changes: 3 additions & 0 deletions ci/licenses_golden/licenses_flutter
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,9 @@ FILE: ../../../flutter/shell/platform/windows/keyboard_hook_handler.h
FILE: ../../../flutter/shell/platform/windows/platform_handler.cc
FILE: ../../../flutter/shell/platform/windows/platform_handler.h
FILE: ../../../flutter/shell/platform/windows/public/flutter_windows.h
FILE: ../../../flutter/shell/platform/windows/string_conversion.cc
FILE: ../../../flutter/shell/platform/windows/string_conversion.h
FILE: ../../../flutter/shell/platform/windows/string_conversion_unittests.cc
FILE: ../../../flutter/shell/platform/windows/text_input_plugin.cc
FILE: ../../../flutter/shell/platform/windows/text_input_plugin.h
FILE: ../../../flutter/shell/platform/windows/win32_flutter_window.cc
Expand Down
4 changes: 2 additions & 2 deletions ci/licenses_golden/licenses_fuchsia
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Signature: adc98c90de1d424da0f0546ff7689965
Signature: ce7ff857ac8a13447faa8112735366c8

UNUSED LICENSES:

Expand Down Expand Up @@ -2674,7 +2674,6 @@ FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.media/stream_processor.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.media/stream_type.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.media/timeline_function.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.mediacodec/codec_factory.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.modular/intent/intent_handler.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.modular/module/module_manifest.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.modular/story/puppet_master.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.modular/story/story_command.fidl
Expand Down Expand Up @@ -3269,6 +3268,7 @@ FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.media/activity_reporter.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.media/profile_provider.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.memorypressure/memorypressure.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.modular/session/session_restart_controller.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.net/socket.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.settings/night_mode.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/events.fidl
FILE: ../../../fuchsia/sdk/linux/fidl/fuchsia.ui.input3/keyboard.fidl
Expand Down
15 changes: 14 additions & 1 deletion ci/licenses_golden/licenses_skia
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Signature: 2da5a3733cfc3ee9d4098855a1f98d15
Signature: bfea63318cfc35e64a47648bbbffcd51

UNUSED LICENSES:

Expand Down Expand Up @@ -1070,6 +1070,8 @@ FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.ex
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Debian10-GCC-x86_64-Debug-Docker.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Debian10-GCC-x86_64-Release-NoGPU_Docker.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Debian10-GCC-x86_64-Release-Shared_Docker.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Debian9-Clang-x86_64-Debug-Chromebook_GLES_Docker.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Debian9-Clang-x86_64-Release-Chromebook_GLES_Docker.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Mac-Clang-arm-Debug-iOS.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Mac-Clang-arm64-Debug-Android_Vulkan.json
FILE: ../../../third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/Build-Mac-Clang-arm64-Debug-iOS.json
Expand Down Expand Up @@ -1237,6 +1239,7 @@ FILE: ../../../third_party/skia/infra/canvaskit/docker/canvaskit-emsdk/Dockerfil
FILE: ../../../third_party/skia/infra/config/recipes.cfg
FILE: ../../../third_party/skia/infra/cross-compile/docker/cross-linux-arm64/Dockerfile
FILE: ../../../third_party/skia/infra/cts/whitelist_devices.json
FILE: ../../../third_party/skia/infra/docker/debian9/Dockerfile
FILE: ../../../third_party/skia/infra/gcc/Debian10-mips64el/Dockerfile
FILE: ../../../third_party/skia/infra/gcc/Debian10-x86/Dockerfile
FILE: ../../../third_party/skia/infra/gcc/Debian10/Dockerfile
Expand Down Expand Up @@ -3914,11 +3917,17 @@ FILE: ../../../third_party/skia/src/gpu/d3d/GrD3DTypesPriv.cpp
FILE: ../../../third_party/skia/src/gpu/d3d/GrD3DUtil.cpp
FILE: ../../../third_party/skia/src/gpu/d3d/GrD3DUtil.h
FILE: ../../../third_party/skia/src/gpu/effects/GrDeviceSpaceEffect.fp
FILE: ../../../third_party/skia/src/gpu/effects/GrMatrixEffect.fp
FILE: ../../../third_party/skia/src/gpu/effects/generated/GrDeviceSpaceEffect.cpp
FILE: ../../../third_party/skia/src/gpu/effects/generated/GrDeviceSpaceEffect.h
FILE: ../../../third_party/skia/src/gpu/effects/generated/GrMatrixEffect.cpp
FILE: ../../../third_party/skia/src/gpu/effects/generated/GrMatrixEffect.h
FILE: ../../../third_party/skia/src/gpu/glsl/GrGLSLUniformHandler.cpp
FILE: ../../../third_party/skia/src/gpu/vk/GrVkManagedResource.h
FILE: ../../../third_party/skia/src/sksl/SkSLSPIRVtoHLSL.cpp
FILE: ../../../third_party/skia/src/sksl/SkSLSPIRVtoHLSL.h
FILE: ../../../third_party/skia/src/sksl/SkSLSampleMatrix.cpp
FILE: ../../../third_party/skia/src/sksl/SkSLSampleMatrix.h
----------------------------------------------------------------------------------------------------
Copyright 2020 Google LLC

Expand Down Expand Up @@ -5033,6 +5042,8 @@ FILE: ../../../third_party/skia/gm/fpcoordinateoverride.cpp
FILE: ../../../third_party/skia/gm/inverseclip.cpp
FILE: ../../../third_party/skia/gm/labyrinth.cpp
FILE: ../../../third_party/skia/gm/preservefillrule.cpp
FILE: ../../../third_party/skia/gm/sample_matrix_constant.cpp
FILE: ../../../third_party/skia/gm/sample_matrix_variable.cpp
FILE: ../../../third_party/skia/gm/tilemodes_alpha.cpp
FILE: ../../../third_party/skia/include/core/SkPathTypes.h
FILE: ../../../third_party/skia/modules/skplaintexteditor/app/editor_application.cpp
Expand Down Expand Up @@ -5627,6 +5638,8 @@ FILE: ../../../third_party/skia/src/core/SkColorFilterPriv.h
FILE: ../../../third_party/skia/src/core/SkCompressedDataUtils.cpp
FILE: ../../../third_party/skia/src/core/SkCompressedDataUtils.h
FILE: ../../../third_party/skia/src/core/SkM44.cpp
FILE: ../../../third_party/skia/src/core/SkMarkerStack.cpp
FILE: ../../../third_party/skia/src/core/SkMarkerStack.h
FILE: ../../../third_party/skia/src/core/SkVerticesPriv.h
FILE: ../../../third_party/skia/src/gpu/GrDynamicAtlas.cpp
FILE: ../../../third_party/skia/src/gpu/GrDynamicAtlas.h
Expand Down
Loading

0 comments on commit 981f089

Please sign in to comment.