Skip to content

Commit 06506ae

Browse files
Merge branch 'master' into master
2 parents 7af50ff + 7f23dc7 commit 06506ae

File tree

196 files changed

+5465
-2595
lines changed

Some content is hidden

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

196 files changed

+5465
-2595
lines changed

DEPS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vars = {
1414
'flutter_git': 'https://flutter.googlesource.com',
1515
'skia_git': 'https://skia.googlesource.com',
1616
'llvm_git': 'https://llvm.googlesource.com',
17-
'skia_revision': 'c16b145749d44524b7d5b096c1ec5229c7bcb16a',
17+
'skia_revision': 'ac14158663eae191ebc38d11047b1b86d4bb1012',
1818

1919
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2020
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -794,7 +794,7 @@ deps = {
794794
'packages': [
795795
{
796796
'package': 'fuchsia/sdk/core/linux-amd64',
797-
'version': '1elkOxihZuTEiTXzYFBwMHM_ooFm50eMLLVPZKzGMy4C'
797+
'version': 'QMun2itYrV_zUYrvWen6ythcyEPiRCsgaJvUAiqpwn0C'
798798
}
799799
],
800800
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',

bin/internal/engine.merge_method

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
01d3d5c1dca374fb6d342c47a94c73f93d99fc73
1+
70b41e1adff02b30a37a149b5ef1ddfcaf0debcc

dev/a11y_assessments/android/app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (keystorePropertiesFile.exists()) {
3434

3535
android {
3636
namespace "com.example.a11y_assessments"
37-
compileSdk flutter.compileSdkVersion
37+
compileSdk = flutter.compileSdkVersion
3838

3939
// Flutter's CI installs the NDK at a non-standard path.
4040
// This non-standard structure is initially created by
@@ -46,12 +46,12 @@ android {
4646
}
4747

4848
compileOptions {
49-
sourceCompatibility JavaVersion.VERSION_1_8
50-
targetCompatibility JavaVersion.VERSION_1_8
49+
sourceCompatibility = JavaVersion.VERSION_1_8
50+
targetCompatibility = JavaVersion.VERSION_1_8
5151
}
5252

5353
kotlinOptions {
54-
jvmTarget = '1.8'
54+
jvmTarget = JavaVersion.VERSION_1_8.toString()
5555
}
5656

5757
sourceSets {
@@ -63,10 +63,10 @@ android {
6363
applicationId "dev.flutter.a11yassessments"
6464
// You can update the following values to match your application needs.
6565
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
66-
minSdkVersion flutter.minSdkVersion
67-
targetSdkVersion flutter.targetSdkVersion
68-
versionCode flutterVersionCode.toInteger()
69-
versionName flutterVersionName
66+
minSdk = flutter.minSdkVersion
67+
targetSdk = flutter.targetSdkVersion
68+
versionCode = flutterVersionCode.toInteger()
69+
versionName = flutterVersionName
7070
}
7171
signingConfigs {
7272
release {

dev/benchmarks/multiple_flutters/android/app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ android {
1414
}
1515

1616
namespace "dev.flutter.multipleflutters"
17-
compileSdk 35
17+
compileSdk = 35
1818

1919
// Flutter's CI installs the NDK at a non-standard path.
2020
// This non-standard structure is initially created by
@@ -26,20 +26,20 @@ android {
2626
}
2727

2828
compileOptions {
29-
sourceCompatibility JavaVersion.VERSION_17
30-
targetCompatibility JavaVersion.VERSION_17
29+
sourceCompatibility = JavaVersion.VERSION_17
30+
targetCompatibility = JavaVersion.VERSION_17
3131
}
3232

3333
kotlinOptions {
34-
jvmTarget = '17'
34+
jvmTarget = JavaVersion.VERSION_17.toString()
3535
}
3636

3737
defaultConfig {
3838
applicationId "dev.flutter.multipleflutters"
39-
minSdkVersion 24
40-
targetSdkVersion 35
41-
versionCode 1
42-
versionName "1.0"
39+
minSdk = 24
40+
targetSdk = 35
41+
versionCode = 1
42+
versionName = "1.0"
4343

4444
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4545
}

dev/benchmarks/platform_views_layout/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies:
3939
webview_flutter: 4.9.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
4040
webview_flutter_android: 3.16.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
4141
webview_flutter_platform_interface: 2.10.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
42-
webview_flutter_wkwebview: 3.18.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
42+
webview_flutter_wkwebview: 3.18.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
4343

4444
dev_dependencies:
4545
flutter_test:
@@ -90,4 +90,4 @@ flutter:
9090
- packages/flutter_gallery_assets/people/square/ali.png
9191
- packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png
9292

93-
# PUBSPEC CHECKSUM: 4458
93+
# PUBSPEC CHECKSUM: 5b59

dev/bots/suite_runners/run_framework_tests.dart

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,36 @@ Future<void> frameworkTestsRunner() async {
247247
await runFixTests('integration_test');
248248
await runFixTests('flutter_driver');
249249
await runPrivateTests();
250+
251+
// Run java unit tests for integration_test
252+
//
253+
// Generate Gradle wrapper if it doesn't exist.
254+
Process.runSync(
255+
flutter,
256+
<String>['build', 'apk', '--config-only'],
257+
workingDirectory: path.join(
258+
flutterRoot,
259+
'packages',
260+
'integration_test',
261+
'example',
262+
'android',
263+
),
264+
);
265+
await runCommand(
266+
path.join(flutterRoot, 'packages', 'integration_test', 'example', 'android', 'gradlew$bat'),
267+
<String>[
268+
':integration_test:testDebugUnitTest',
269+
'--tests',
270+
'dev.flutter.plugins.integration_test.FlutterDeviceScreenshotTest',
271+
],
272+
workingDirectory: path.join(
273+
flutterRoot,
274+
'packages',
275+
'integration_test',
276+
'example',
277+
'android',
278+
),
279+
);
250280
}
251281

252282
Future<void> runMisc() async {
@@ -289,35 +319,6 @@ Future<void> frameworkTestsRunner() async {
289319
'--exclude-tags=web',
290320
],
291321
);
292-
// Run java unit tests for integration_test
293-
//
294-
// Generate Gradle wrapper if it doesn't exist.
295-
Process.runSync(
296-
flutter,
297-
<String>['build', 'apk', '--config-only'],
298-
workingDirectory: path.join(
299-
flutterRoot,
300-
'packages',
301-
'integration_test',
302-
'example',
303-
'android',
304-
),
305-
);
306-
await runCommand(
307-
path.join(flutterRoot, 'packages', 'integration_test', 'example', 'android', 'gradlew$bat'),
308-
<String>[
309-
':integration_test:testDebugUnitTest',
310-
'--tests',
311-
'dev.flutter.plugins.integration_test.FlutterDeviceScreenshotTest',
312-
],
313-
workingDirectory: path.join(
314-
flutterRoot,
315-
'packages',
316-
'integration_test',
317-
'example',
318-
'android',
319-
),
320-
);
321322
await runFlutterTest(path.join(flutterRoot, 'packages', 'flutter_goldens'));
322323
await runFlutterTest(path.join(flutterRoot, 'packages', 'flutter_localizations'));
323324
await runFlutterTest(path.join(flutterRoot, 'packages', 'flutter_test'));

dev/bots/test/analyze-test-input/ktlint-baseline.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<file name="dev/integration_tests/spell_check/android/app/src/main/kotlin/com/example/sc_int_test/MainActivity.kt">
1919
<error line="1" column="9" source="standard:package-name" />
2020
</file>
21+
<file name="dev/integration_tests/spell_check/android/app/src/main/kotlin/com/example/sc_int_test/MainApplication.kt">
22+
<error line="5" column="9" source="standard:package-name" />
23+
</file>
2124
<file name="dev/manual_tests/android/app/src/main/kotlin/dev/flutter/manual_tests/MainActivity.kt">
2225
<error line="1" column="9" source="standard:package-name" />
2326
</file>

dev/conductor/core/lib/src/next.dart

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,51 @@ class NextContext extends Context {
150150
}
151151
}
152152

153+
await pushWorkingBranch(framework, state.framework);
154+
case pb.ReleasePhase.UPDATE_ENGINE_VERSION:
155+
final Remote upstream = Remote.upstream(state.framework.upstream.url);
156+
final FrameworkRepository framework = FrameworkRepository(
157+
checkouts,
158+
initialRef: state.framework.workingBranch,
159+
upstreamRemote: upstream,
160+
previousCheckoutLocation: state.framework.checkoutPath,
161+
);
162+
final String rev = await framework.reverseParse('HEAD');
163+
final File engineVersionFile = (await framework.checkoutDirectory)
164+
.childDirectory('bin')
165+
.childDirectory('internal')
166+
.childFile('engine.version');
167+
168+
engineVersionFile.writeAsStringSync(rev);
169+
170+
// Must force add since it is gitignored
171+
await framework.git.run(
172+
const <String>['add', 'bin/internal/engine.version', '--force'],
173+
'adding engine.version file',
174+
workingDirectory: (await framework.checkoutDirectory).path,
175+
);
176+
final String revision = await framework.commit(
177+
'Create engine.version file pointing to $rev',
178+
);
179+
// append to list of cherrypicks so we know a PR is required
180+
state.framework.cherrypicks.add(
181+
pb.Cherrypick.create()
182+
..appliedRevision = revision
183+
..state = pb.CherrypickState.COMPLETED,
184+
);
185+
186+
if (!autoAccept) {
187+
final bool response = await prompt(
188+
'Are you ready to push your framework branch to the repository '
189+
'${state.framework.mirror.url}?',
190+
);
191+
if (!response) {
192+
stdio.printError('Aborting command.');
193+
updateState(state, stdio.logs);
194+
return;
195+
}
196+
}
197+
153198
await pushWorkingBranch(framework, state.framework);
154199
case pb.ReleasePhase.PUBLISH_VERSION:
155200
final String command = '''

dev/conductor/core/lib/src/proto/conductor_state.pbenum.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ import 'package:protobuf/protobuf.dart' as $pb;
2020
class ReleasePhase extends $pb.ProtobufEnum {
2121
static const ReleasePhase APPLY_FRAMEWORK_CHERRYPICKS =
2222
ReleasePhase._(0, _omitEnumNames ? '' : 'APPLY_FRAMEWORK_CHERRYPICKS');
23+
static const ReleasePhase UPDATE_ENGINE_VERSION =
24+
ReleasePhase._(1, _omitEnumNames ? '' : 'UPDATE_ENGINE_VERSION');
2325
static const ReleasePhase PUBLISH_VERSION =
24-
ReleasePhase._(1, _omitEnumNames ? '' : 'PUBLISH_VERSION');
26+
ReleasePhase._(2, _omitEnumNames ? '' : 'PUBLISH_VERSION');
2527
static const ReleasePhase VERIFY_RELEASE =
26-
ReleasePhase._(2, _omitEnumNames ? '' : 'VERIFY_RELEASE');
28+
ReleasePhase._(3, _omitEnumNames ? '' : 'VERIFY_RELEASE');
2729
static const ReleasePhase RELEASE_COMPLETED =
28-
ReleasePhase._(3, _omitEnumNames ? '' : 'RELEASE_COMPLETED');
30+
ReleasePhase._(4, _omitEnumNames ? '' : 'RELEASE_COMPLETED');
2931

3032
static const $core.List<ReleasePhase> values = <ReleasePhase>[
3133
APPLY_FRAMEWORK_CHERRYPICKS,
34+
UPDATE_ENGINE_VERSION,
3235
PUBLISH_VERSION,
3336
VERIFY_RELEASE,
3437
RELEASE_COMPLETED,

0 commit comments

Comments
 (0)