Skip to content

Commit 7a6514d

Browse files
author
Dart CI
committed
Version 3.0.0
Merge 3.0.0-417.4.beta into stable
2 parents 5b89364 + 93acdbd commit 7a6514d

File tree

18,016 files changed

+800103
-187925
lines changed

Some content is hidden

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

18,016 files changed

+800103
-187925
lines changed

.github/ISSUE_TEMPLATE/2_cherry_pick.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ title: '[CP] <title>'
44
labels: ['cherry-pick-review']
55
assignees:
66
- mit-mit
7-
- whesse
87
- athomas
98
- vsmenon
109
- itsjustkevin
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Propose a breaking change.
2+
description: You would like to propose a breaking change.
3+
title: '[breaking change] <title>'
4+
labels: ['breaking-change-request']
5+
assignees:
6+
- itsjustkevin
7+
- kevmoo
8+
body:
9+
- type: textarea
10+
id: change_intent
11+
attributes:
12+
label: Change Intent
13+
description: What is the intent of this change?
14+
- type: textarea
15+
id: justification
16+
attributes:
17+
label: Justification
18+
description: What is the justification for this change?
19+
- type: textarea
20+
id: impact
21+
attributes:
22+
label: Impact
23+
description: What is the impact of this change?
24+
- type: textarea
25+
id: mitigation
26+
attributes:
27+
label: Mitigation
28+
description: How can we mitigate the impact?

.github/workflows/scorecards-analysis.yml

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

2424
steps:
2525
- name: "Checkout code"
26-
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
26+
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
2727
with:
2828
persist-credentials: false
2929

3030
- name: "Run analysis"
31-
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d
31+
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86
3232
with:
3333
results_file: results.sarif
3434
results_format: sarif
@@ -43,14 +43,14 @@ jobs:
4343

4444
# Upload the results as artifacts (optional).
4545
- name: "Upload artifact"
46-
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
46+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
4747
with:
4848
name: SARIF file
4949
path: results.sarif
5050
retention-days: 5
5151

5252
# Upload the results to GitHub's code scanning dashboard.
5353
- name: "Upload to code-scanning"
54-
uses: github/codeql-action/upload-sarif@c3b6fce4ee2ca25bc1066aa3bf73962fda0e8898
54+
uses: github/codeql-action/upload-sarif@67a35a08586135a9573f4327e904ecbf517a882d
5555
with:
5656
sarif_file: results.sarif

BUILD.gn

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import("build/config/gclient_args.gni")
66
import("sdk_args.gni")
77

8-
targetting_fuchsia = target_os == "fuchsia"
8+
targeting_fuchsia = target_os == "fuchsia"
99

1010
# This target will be built if no target is specified when invoking ninja.
1111
group("default") {
12-
if (targetting_fuchsia) {
12+
if (targeting_fuchsia) {
1313
# Fuchsia has run_vm_tests marked testonly.
1414
testonly = true
1515
}
@@ -18,7 +18,7 @@ group("default") {
1818

1919
group("most") {
2020
import("runtime/runtime_args.gni")
21-
if (targetting_fuchsia) {
21+
if (targeting_fuchsia) {
2222
# Fuchsia has run_vm_tests marked testonly.
2323
testonly = true
2424
}
@@ -35,7 +35,7 @@ group("most") {
3535
group("runtime") {
3636
import("runtime/runtime_args.gni")
3737

38-
if (targetting_fuchsia) {
38+
if (targeting_fuchsia) {
3939
# Fuchsia has run_vm_tests marked testonly.
4040
testonly = true
4141
}
@@ -60,14 +60,18 @@ group("runtime") {
6060
]
6161
}
6262

63-
# We do not support AOT on ia32 and should therefore not provide native
64-
# snapshot tooling.
65-
if (dart_target_arch != "ia32" && dart_target_arch != "x86") {
66-
if (dart_runtime_mode == "release") {
67-
deps += [ "runtime/bin:analyze_snapshot_product" ]
68-
} else {
69-
deps += [ "runtime/bin:analyze_snapshot" ]
70-
}
63+
# This flag is set in runtime/runtime_args.gni
64+
# The analyze_snapshot tool is only supported on 64 bit AOT builds running
65+
# under linux and android platforms
66+
if (build_analyze_snapshot) {
67+
deps += [
68+
# The `analyze_snapshot` tests require the `analyze_snapshot` as well as
69+
# `gen_snapshot` binaries.
70+
"runtime/bin:analyze_snapshot",
71+
"runtime/bin:analyze_snapshot($host_toolchain)",
72+
"runtime/bin:gen_snapshot",
73+
"runtime/bin:gen_snapshot($host_toolchain)",
74+
]
7175
}
7276

7377
if (is_linux || is_android) {
@@ -189,7 +193,7 @@ if (is_fuchsia) {
189193
if (defined(invoker.data_deps)) {
190194
data_deps += invoker.data_deps
191195
}
192-
manifest = "build/fuchsia/dart.cmx"
196+
manifest = invoker.manifest
193197

194198
library_files = []
195199
if (defined(invoker.library_files)) {
@@ -225,6 +229,7 @@ if (is_fuchsia) {
225229
}
226230

227231
dart_fuchsia_test_component("fuchsia_test_component") {
232+
manifest = "build/fuchsia/fuchsia_test_component.cmx"
228233
resource_dirs = [
229234
"tests/standalone_2",
230235
"pkg/async_helper",
@@ -253,6 +258,7 @@ if (is_fuchsia) {
253258
}
254259

255260
dart_fuchsia_test_component("fuchsia_ffi_test_component") {
261+
manifest = "build/fuchsia/fuchsia_ffi_test_component.cmx"
256262
data_deps = [
257263
"runtime/bin:ffi_test_dynamic_library",
258264
"runtime/bin:ffi_test_functions",

0 commit comments

Comments
 (0)