Skip to content

Commit 56eb1d1

Browse files
authored
Merge branch 'main' into video-player-android-surface-producer-redo
2 parents a1dfdcf + cec00a5 commit 56eb1d1

File tree

1,192 files changed

+108979
-22633
lines changed

Some content is hidden

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

1,192 files changed

+108979
-22633
lines changed

.ci.yaml

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ platform_properties:
6565
device_type: none
6666
dependencies: >-
6767
[
68-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
68+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
6969
]
7070
windows_arm64:
7171
properties:
@@ -292,21 +292,21 @@ targets:
292292
timeout: 30
293293
properties:
294294
target_file: analyze_legacy.yaml
295-
channel: "3.22.0"
295+
channel: "3.22.3"
296296
env_variables: >-
297297
{
298-
"CHANNEL": "3.22.0"
298+
"CHANNEL": "3.22.3"
299299
}
300300
301301
- name: Linux analyze_legacy N-2
302302
recipe: packages/packages
303303
timeout: 30
304304
properties:
305305
target_file: analyze_legacy.yaml
306-
channel: "3.16.9"
306+
channel: "3.19.6"
307307
env_variables: >-
308308
{
309-
"CHANNEL": "3.16.9"
309+
"CHANNEL": "3.19.6"
310310
}
311311
312312
- name: Linux_android custom_package_tests master
@@ -327,7 +327,7 @@ targets:
327327
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
328328
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
329329
{"dependency": "ninja", "version": "version:1.9.0"},
330-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
330+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
331331
]
332332
channel: master
333333
env_variables: >-
@@ -350,7 +350,7 @@ targets:
350350
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
351351
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
352352
{"dependency": "ninja", "version": "version:1.9.0"},
353-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
353+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
354354
]
355355
channel: stable
356356
env_variables: >-
@@ -364,7 +364,24 @@ targets:
364364
timeout: 30
365365
properties:
366366
version_file: flutter_master.version
367-
target_file: android_build_all_packages.yaml
367+
# This builds the all_packages app only in a current JDK.
368+
target_file: android_build_all_packages_jdk17.yaml
369+
channel: master
370+
env_variables: >-
371+
{
372+
"CHANNEL": "master"
373+
}
374+
375+
- name: Linux_android android_build_all_packages_legacy master
376+
recipe: packages/packages
377+
timeout: 30
378+
properties:
379+
version_file: flutter_master.version
380+
# TODO(stuartmorgan): Once stable requires JDK 17, and the
381+
# legacy project is updated accordingly, this entire target
382+
# can be merged back into android_build_all_packages.
383+
# This file only builds a *legacy* version of the project.
384+
target_file: android_build_all_packages_legacy.yaml
368385
channel: master
369386
# The legacy project build requires an older JDK.
370387
dependencies: >-
@@ -382,7 +399,21 @@ targets:
382399
properties:
383400
add_recipes_cq: "true"
384401
version_file: flutter_stable.version
385-
target_file: android_build_all_packages.yaml
402+
# This builds the all_packages app only in a current JDK.
403+
target_file: android_build_all_packages_jdk17.yaml
404+
channel: stable
405+
env_variables: >-
406+
{
407+
"CHANNEL": "stable"
408+
}
409+
410+
- name: Linux_android android_build_all_packages_legacy stable
411+
recipe: packages/packages
412+
timeout: 30
413+
properties:
414+
version_file: flutter_stable.version
415+
# This file only builds a *legacy* version of the project.
416+
target_file: android_build_all_packages_legacy.yaml
386417
channel: stable
387418
# The legacy project build requires an older JDK.
388419
dependencies: >-
@@ -935,7 +966,7 @@ targets:
935966
# Install Chrome as a default handler for schemes for url_launcher.
936967
dependencies: >-
937968
[
938-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
969+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
939970
]
940971
env_variables: >-
941972
{
@@ -953,7 +984,7 @@ targets:
953984
# Install Chrome as a default handler for schemes for url_launcher.
954985
dependencies: >-
955986
[
956-
{"dependency": "chrome_and_driver", "version": "version:114.0"}
987+
{"dependency": "chrome_and_driver", "version": "version:125.0.6422.141"}
957988
]
958989
env_variables: >-
959990
{

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e726eb401c2c1c882aa393071d5bb8bfb45e1dc3
1+
2afc452d3a8eec9756d5936674d1269258299c4e

.ci/flutter_stable.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
761747bfc538b5af34aa0d3fac380f1bc331ec49
1+
80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819

.ci/scripts/create_all_packages_app.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44
# found in the LICENSE file.
55
set -e
66

7+
# The base exclusion file for all_packages app.
8+
exclusions=("script/configs/exclude_all_packages_app.yaml")
9+
10+
# Add a wasm-specific exclusion file if "--wasm" is specified.
11+
if [[ "$1" == "--wasm" ]]; then
12+
exclusions+=",script/configs/exclude_all_packages_app_wasm.yaml"
13+
fi
14+
15+
# Delete ./all_packages if it exists already
16+
rm -rf ./all_packages
17+
718
dart ./script/tool/bin/flutter_plugin_tools.dart create-all-packages-app \
8-
--output-dir=. --exclude script/configs/exclude_all_packages_app.yaml
19+
--output-dir=. --exclude "$exclusions"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This only builds the modern all_packages app, which requires jdk17+
2+
tasks:
3+
- name: prepare tool
4+
script: .ci/scripts/prepare_tool.sh
5+
infra_step: true # Note infra steps failing prevents "always" from running.
6+
- name: create all_packages app
7+
script: .ci/scripts/create_all_packages_app.sh
8+
infra_step: true # Note infra steps failing prevents "always" from running.
9+
- name: build all_packages for Android debug
10+
script: .ci/scripts/build_all_packages_app.sh
11+
args: ["apk", "debug"]
12+
- name: build all_packages for Android release
13+
script: .ci/scripts/build_all_packages_app.sh
14+
args: ["apk", "release"]

.ci/targets/android_build_all_packages.yaml renamed to .ci/targets/android_build_all_packages_legacy.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1+
# This only builds the legacy all_packages app, which requires jdk11
12
tasks:
23
- name: prepare tool
34
script: .ci/scripts/prepare_tool.sh
45
infra_step: true # Note infra steps failing prevents "always" from running.
5-
- name: create all_packages app
6-
script: .ci/scripts/create_all_packages_app.sh
7-
infra_step: true # Note infra steps failing prevents "always" from running.
8-
- name: build all_packages for Android debug
9-
script: .ci/scripts/build_all_packages_app.sh
10-
args: ["apk", "debug"]
11-
- name: build all_packages for Android release
12-
script: .ci/scripts/build_all_packages_app.sh
13-
args: ["apk", "release"]
146
- name: create all_packages app - legacy version
157
script: .ci/scripts/create_all_packages_app_legacy.sh
168
# Output dir; must match the final argument to build_all_packages_app_legacy

.ci/targets/repo_checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tasks:
1919
script: .ci/scripts/tool_runner.sh
2020
args:
2121
- "pubspec-check"
22-
- "--min-min-flutter-version=3.16.0"
22+
- "--min-min-flutter-version=3.19.0"
2323
- "--allow-dependencies=script/configs/allowed_unpinned_deps.yaml"
2424
- "--allow-pinned-dependencies=script/configs/allowed_pinned_deps.yaml"
2525
always: true

.ci/targets/web_build_all_packages.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ tasks:
1010
- name: build all_packages app for Web release
1111
script: .ci/scripts/build_all_packages_app.sh
1212
args: ["web", "release"]
13+
- name: (Wasm) create all_packages app
14+
script: .ci/scripts/create_all_packages_app.sh
15+
args: ["--wasm"]
16+
infra_step: true # Note infra steps failing prevents "always" from running.
17+
- name: (Wasm) build all_packages app for Web release
18+
script: .ci/scripts/build_all_packages_app.sh
19+
args: ["web", "release", "--wasm"]

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
# the change if it doesn't.
3232
run: |
3333
cd $HOME
34-
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.22.0 _flutter
34+
git clone https://github.com/flutter/flutter.git --depth 1 -b 3.24.0 _flutter
3535
echo "$HOME/_flutter/bin" >> $GITHUB_PATH
3636
cd $GITHUB_WORKSPACE
3737
# Checks out a copy of the repo.
3838
- name: Check out code
39-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
39+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
4040
with:
4141
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
4242
- name: Set up tools

.github/workflows/scorecards-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: "Checkout code"
24-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v2.4.0
24+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0
2525
with:
2626
persist-credentials: false
2727

2828
- name: "Run analysis"
29-
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.0.3
29+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.0.3
3030
with:
3131
results_file: results.sarif
3232
results_format: sarif
@@ -41,14 +41,14 @@ jobs:
4141

4242
# Upload the results as artifacts (optional).
4343
- name: "Upload artifact"
44-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v2.3.1
44+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v2.3.1
4545
with:
4646
name: SARIF file
4747
path: results.sarif
4848
retention-days: 5
4949

5050
# Upload the results to GitHub's code scanning dashboard.
5151
- name: "Upload to code-scanning"
52-
uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v1.0.26
52+
uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v1.0.26
5353
with:
5454
sarif_file: results.sarif

0 commit comments

Comments
 (0)