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

Commit 9b1fdcb

Browse files
Move the Dart SDK to //flutter/third_party/dart (#51917)
1 parent 6280295 commit 9b1fdcb

File tree

47 files changed

+4056
-4053
lines changed

Some content is hidden

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

47 files changed

+4056
-4053
lines changed

DEPS

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ vars = {
269269
'fuchsia_gn_sdk_version': 'RgErspyYHapUO2SpcW-vo2p8yaRUMUrq0eWjRVPfQjoC',
270270
}
271271

272-
gclient_gn_args_file = 'src/third_party/dart/build/config/gclient_args.gni'
272+
gclient_gn_args_file = 'src/flutter/third_party/dart/build/config/gclient_args.gni'
273273
gclient_gn_args = [
274274
'checkout_llvm'
275275
]
@@ -349,189 +349,189 @@ deps = {
349349
# 'src/flutter/build/secondary/third_party/protobuf':
350350
# Var('flutter_git') + '/third_party/protobuf-gn' + '@' + Var('dart_protobuf_gn_rev'),
351351

352-
'src/third_party/dart':
352+
'src/flutter/third_party/dart':
353353
Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'),
354354

355355
# WARNING: Unused Dart dependencies in the list below till "WARNING:" marker are removed automatically - see create_updated_flutter_deps.py.
356356

357-
'src/third_party/dart/third_party/binaryen/src':
357+
'src/flutter/third_party/dart/third_party/binaryen/src':
358358
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@9784f012848a7eb321c2037bdb363dfe0eab8bc9',
359359

360-
'src/third_party/dart/third_party/devtools':
360+
'src/flutter/third_party/dart/third_party/devtools':
361361
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:8be1bc8d6862a3fcf8f43917f6e0c783cac06d51'}]},
362362

363-
'src/third_party/dart/third_party/pkg/args':
363+
'src/flutter/third_party/dart/third_party/pkg/args':
364364
Var('dart_git') + '/args.git@788d93541a578e49f066699e1584bc3ce591c376',
365365

366-
'src/third_party/dart/third_party/pkg/async':
366+
'src/flutter/third_party/dart/third_party/pkg/async':
367367
Var('dart_git') + '/async.git@47968047eb9888f74ca0691640821bd55b47e763',
368368

369-
'src/third_party/dart/third_party/pkg/bazel_worker':
369+
'src/flutter/third_party/dart/third_party/pkg/bazel_worker':
370370
Var('dart_git') + '/bazel_worker.git@8619b92baa9959e55b9fc49d2afcd6dda2ec1c10',
371371

372-
'src/third_party/dart/third_party/pkg/boolean_selector':
372+
'src/flutter/third_party/dart/third_party/pkg/boolean_selector':
373373
Var('dart_git') + '/boolean_selector.git@24635df68661bb44c1c13fb405562421e24298e5',
374374

375-
'src/third_party/dart/third_party/pkg/browser_launcher':
375+
'src/flutter/third_party/dart/third_party/pkg/browser_launcher':
376376
Var('dart_git') + '/browser_launcher.git' + '@' + Var('dart_browser_launcher_rev'),
377377

378-
'src/third_party/dart/third_party/pkg/cli_util':
378+
'src/flutter/third_party/dart/third_party/pkg/cli_util':
379379
Var('dart_git') + '/cli_util.git@12cd216263be587a648600b40017463341bccaf8',
380380

381-
'src/third_party/dart/third_party/pkg/clock':
381+
'src/flutter/third_party/dart/third_party/pkg/clock':
382382
Var('dart_git') + '/clock.git' + '@' + Var('dart_clock_rev'),
383383

384-
'src/third_party/dart/third_party/pkg/collection':
384+
'src/flutter/third_party/dart/third_party/pkg/collection':
385385
Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_rev'),
386386

387-
'src/third_party/dart/third_party/pkg/convert':
387+
'src/flutter/third_party/dart/third_party/pkg/convert':
388388
Var('dart_git') + '/convert.git@186ac2281f0436451b49e1bd8458ff791b42637d',
389389

390-
'src/third_party/dart/third_party/pkg/crypto':
390+
'src/flutter/third_party/dart/third_party/pkg/crypto':
391391
Var('dart_git') + '/crypto.git@1c7fbadd92a44322ee1e89eec9747a24dc6c6746',
392392

393-
'src/third_party/dart/third_party/pkg/csslib':
393+
'src/flutter/third_party/dart/third_party/pkg/csslib':
394394
Var('dart_git') + '/csslib.git@171ed4885f1db13e22b04b513a169e7a99d2c5d5',
395395

396-
'src/third_party/dart/third_party/pkg/dart_style':
396+
'src/flutter/third_party/dart/third_party/pkg/dart_style':
397397
Var('dart_git') + '/dart_style.git@a6ad7693555a9add6f98ad6fd94de80d35c89415',
398398

399-
'src/third_party/dart/third_party/pkg/dartdoc':
399+
'src/flutter/third_party/dart/third_party/pkg/dartdoc':
400400
Var('dart_git') + '/dartdoc.git@bf6080c8a12bf3a2f29f517d152bbd5fa1bb0a37',
401401

402-
'src/third_party/dart/third_party/pkg/file':
402+
'src/flutter/third_party/dart/third_party/pkg/file':
403403
Var('dart_git') + '/external/github.com/google/file.dart@3aa06490bf34bddf04c7ea964a50c177a4ca0de7',
404404

405-
'src/third_party/dart/third_party/pkg/fixnum':
405+
'src/flutter/third_party/dart/third_party/pkg/fixnum':
406406
Var('dart_git') + '/fixnum.git@dec16eb715f70f2fe0ed509da2e118354bea21d8',
407407

408-
'src/third_party/dart/third_party/pkg/glob':
408+
'src/flutter/third_party/dart/third_party/pkg/glob':
409409
Var('dart_git') + '/glob.git@379d60c7cc5c0e9fe7d0d45549ad0b1ca51396c8',
410410

411-
'src/third_party/dart/third_party/pkg/html':
411+
'src/flutter/third_party/dart/third_party/pkg/html':
412412
Var('dart_git') + '/html.git@5b99b43f71da0c6b0f962244c7f5dfa8ca970fef',
413413

414-
'src/third_party/dart/third_party/pkg/http':
414+
'src/flutter/third_party/dart/third_party/pkg/http':
415415
Var('dart_git') + '/http.git@5214f7647ea7a7dd360f12625358bd39f8e6aec0',
416416

417-
'src/third_party/dart/third_party/pkg/http_multi_server':
417+
'src/flutter/third_party/dart/third_party/pkg/http_multi_server':
418418
Var('dart_git') + '/http_multi_server.git@ba9d07f3596b24718ddf45c9e071d40879cca565',
419419

420-
'src/third_party/dart/third_party/pkg/http_parser':
420+
'src/flutter/third_party/dart/third_party/pkg/http_parser':
421421
Var('dart_git') + '/http_parser.git@84db8b029d9b51859a0bb4966859af009f9442e3',
422422

423-
'src/third_party/dart/third_party/pkg/intl':
423+
'src/flutter/third_party/dart/third_party/pkg/intl':
424424
Var('dart_git') + '/intl.git@5d65e3808ce40e6282e40881492607df4e35669f',
425425

426-
'src/third_party/dart/third_party/pkg/json_rpc_2':
426+
'src/flutter/third_party/dart/third_party/pkg/json_rpc_2':
427427
Var('dart_git') + '/json_rpc_2.git@639857be892050159f5164c749d7947694976a4a',
428428

429-
'src/third_party/dart/third_party/pkg/leak_tracker':
429+
'src/flutter/third_party/dart/third_party/pkg/leak_tracker':
430430
Var('dart_git') + '/leak_tracker.git@f5620600a5ce1c44f65ddaa02001e200b096e14c',
431431

432-
'src/third_party/dart/third_party/pkg/logging':
432+
'src/flutter/third_party/dart/third_party/pkg/logging':
433433
Var('dart_git') + '/logging.git@dcaf2498e5ce34b17b48770b4e78c44fc9e63cd3',
434434

435-
'src/third_party/dart/third_party/pkg/markdown':
435+
'src/flutter/third_party/dart/third_party/pkg/markdown':
436436
Var('dart_git') + '/markdown.git@782b1803a29aa964410d93b4437d5d1efa47f6b4',
437437

438-
'src/third_party/dart/third_party/pkg/matcher':
438+
'src/flutter/third_party/dart/third_party/pkg/matcher':
439439
Var('dart_git') + '/matcher.git@54c2798d9b75c6db5cdcc7acbf5b9ae215316ed5',
440440

441-
'src/third_party/dart/third_party/pkg/mime':
441+
'src/flutter/third_party/dart/third_party/pkg/mime':
442442
Var('dart_git') + '/mime.git@0a32241c4fcd077a945949760b287677e4d7aff4',
443443

444-
'src/third_party/dart/third_party/pkg/mockito':
444+
'src/flutter/third_party/dart/third_party/pkg/mockito':
445445
Var('dart_git') + '/mockito.git@3ef744f8749864f2a036eba60c4203cc8f638949',
446446

447-
'src/third_party/dart/third_party/pkg/native':
447+
'src/flutter/third_party/dart/third_party/pkg/native':
448448
Var('dart_git') + '/native.git@71ada4b5c8001e6b8207ed40331d158e0912cd94',
449449

450-
'src/third_party/dart/third_party/pkg/package_config':
450+
'src/flutter/third_party/dart/third_party/pkg/package_config':
451451
Var('dart_git') + '/package_config.git@3d90e6955ef19b7ce4f1b742a06a20ed4260700a',
452452

453-
'src/third_party/dart/third_party/pkg/path':
453+
'src/flutter/third_party/dart/third_party/pkg/path':
454454
Var('dart_git') + '/path.git@a7284b9917830c18618b26d396d0f0bffc92bb01',
455455

456-
'src/third_party/dart/third_party/pkg/pool':
456+
'src/flutter/third_party/dart/third_party/pkg/pool':
457457
Var('dart_git') + '/pool.git@8055cbb290590e761e1149dfbf7c2283fdd88e4f',
458458

459-
'src/third_party/dart/third_party/pkg/protobuf':
459+
'src/flutter/third_party/dart/third_party/pkg/protobuf':
460460
Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_rev'),
461461

462-
'src/third_party/dart/third_party/pkg/pub':
462+
'src/flutter/third_party/dart/third_party/pkg/pub':
463463
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
464464

465-
'src/third_party/dart/third_party/pkg/pub_semver':
465+
'src/flutter/third_party/dart/third_party/pkg/pub_semver':
466466
Var('dart_git') + '/pub_semver.git@3175ba0a58a96fb23f8d68b5f5c44d1a5b30cc16',
467467

468-
'src/third_party/dart/third_party/pkg/shelf':
468+
'src/flutter/third_party/dart/third_party/pkg/shelf':
469469
Var('dart_git') + '/shelf.git@68cb8641c3181cc76006887a7e93b9d3a423f590',
470470

471-
'src/third_party/dart/third_party/pkg/source_map_stack_trace':
471+
'src/flutter/third_party/dart/third_party/pkg/source_map_stack_trace':
472472
Var('dart_git') + '/source_map_stack_trace.git@d03fd9b1cc11f2ad61ccc2e71bfd8d2558019a6d',
473473

474-
'src/third_party/dart/third_party/pkg/source_maps':
474+
'src/flutter/third_party/dart/third_party/pkg/source_maps':
475475
Var('dart_git') + '/source_maps.git@55e92a4b0a8560d5b2b3bb7255249afdb8186ea6',
476476

477-
'src/third_party/dart/third_party/pkg/source_span':
477+
'src/flutter/third_party/dart/third_party/pkg/source_span':
478478
Var('dart_git') + '/source_span.git@21a403a75b6887fbd811fb53b74b08c2cef67ab6',
479479

480-
'src/third_party/dart/third_party/pkg/sse':
480+
'src/flutter/third_party/dart/third_party/pkg/sse':
481481
Var('dart_git') + '/sse.git@1ab266ad570134294468225d1c2ffe86338005be',
482482

483-
'src/third_party/dart/third_party/pkg/stack_trace':
483+
'src/flutter/third_party/dart/third_party/pkg/stack_trace':
484484
Var('dart_git') + '/stack_trace.git@c39ae6e955a76a2ff183288f051f4eee7a5e94d1',
485485

486-
'src/third_party/dart/third_party/pkg/stream_channel':
486+
'src/flutter/third_party/dart/third_party/pkg/stream_channel':
487487
Var('dart_git') + '/stream_channel.git@5f72035464ea675c75982b80db967943a0cfddcb',
488488

489-
'src/third_party/dart/third_party/pkg/string_scanner':
489+
'src/flutter/third_party/dart/third_party/pkg/string_scanner':
490490
Var('dart_git') + '/string_scanner.git@8dbfddf9a7e8cdd4978ddd3cdab188cfabc543fd',
491491

492-
'src/third_party/dart/third_party/pkg/tar':
492+
'src/flutter/third_party/dart/third_party/pkg/tar':
493493
Var('dart_git') + '/external/github.com/simolus3/tar.git@6150a0c88d9bd17e3e961593a9a7a9564866e8b4',
494494

495-
'src/third_party/dart/third_party/pkg/term_glyph':
495+
'src/flutter/third_party/dart/third_party/pkg/term_glyph':
496496
Var('dart_git') + '/term_glyph.git@2ad48ce95b6e6d001251d55b15719ee113caf802',
497497

498-
'src/third_party/dart/third_party/pkg/test':
498+
'src/flutter/third_party/dart/third_party/pkg/test':
499499
Var('dart_git') + '/test.git@2b1ed13ea25c0dfcf112af676533e1daf906a3f0',
500500

501-
'src/third_party/dart/third_party/pkg/test_reflective_loader':
501+
'src/flutter/third_party/dart/third_party/pkg/test_reflective_loader':
502502
Var('dart_git') + '/test_reflective_loader.git@d7167a2375d8a0c02c12b960c059a115a777f238',
503503

504-
'src/third_party/dart/third_party/pkg/tools':
504+
'src/flutter/third_party/dart/third_party/pkg/tools':
505505
Var('dart_git') + '/tools.git' + '@' + Var('dart_tools_rev'),
506506

507-
'src/third_party/dart/third_party/pkg/typed_data':
507+
'src/flutter/third_party/dart/third_party/pkg/typed_data':
508508
Var('dart_git') + '/typed_data.git@8c7393cbbbba7a5d38c6772371f92d6b38e433fc',
509509

510-
'src/third_party/dart/third_party/pkg/usage':
510+
'src/flutter/third_party/dart/third_party/pkg/usage':
511511
Var('dart_git') + '/usage.git@67ecd7d1328347ec15cbf8d8a46918df75a66af8',
512512

513-
'src/third_party/dart/third_party/pkg/watcher':
513+
'src/flutter/third_party/dart/third_party/pkg/watcher':
514514
Var('dart_git') + '/watcher.git' + '@' + Var('dart_watcher_rev'),
515515

516-
'src/third_party/dart/third_party/pkg/web':
516+
'src/flutter/third_party/dart/third_party/pkg/web':
517517
Var('dart_git') + '/web.git' + '@' + Var('dart_web_rev'),
518518

519-
'src/third_party/dart/third_party/pkg/web_socket_channel':
519+
'src/flutter/third_party/dart/third_party/pkg/web_socket_channel':
520520
Var('dart_git') + '/web_socket_channel.git@ced3a37193f89d5ee95792f342eeb15d3d55d8c1',
521521

522-
'src/third_party/dart/third_party/pkg/webdev':
522+
'src/flutter/third_party/dart/third_party/pkg/webdev':
523523
Var('dart_git') + '/webdev.git' + '@' + Var('dart_webdev_rev'),
524524

525-
'src/third_party/dart/third_party/pkg/webkit_inspection_protocol':
525+
'src/flutter/third_party/dart/third_party/pkg/webkit_inspection_protocol':
526526
Var('dart_git') + '/external/github.com/google/webkit_inspection_protocol.dart.git' + '@' + Var('dart_webkit_inspection_protocol_rev'),
527527

528-
'src/third_party/dart/third_party/pkg/yaml':
528+
'src/flutter/third_party/dart/third_party/pkg/yaml':
529529
Var('dart_git') + '/yaml.git@5a1c4be2437bc4122ccf08a3a0f06a7683e62f30',
530530

531-
'src/third_party/dart/third_party/pkg/yaml_edit':
531+
'src/flutter/third_party/dart/third_party/pkg/yaml_edit':
532532
Var('dart_git') + '/yaml_edit.git' + '@' + Var('dart_yaml_edit_rev'),
533533

534-
'src/third_party/dart/tools/sdks/dart-sdk':
534+
'src/flutter/third_party/dart/tools/sdks/dart-sdk':
535535
{'dep_type': 'cipd', 'packages': [{'package': 'dart/dart-sdk/${{platform}}', 'version': 'version:3.4.0-247.0.dev'}]},
536536

537537
# WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py.
@@ -1090,13 +1090,13 @@ hooks = [
10901090
# Generate the Dart SDK's .dart_tool/package_confg.json file.
10911091
'name': 'Generate .dart_tool/package_confg.json',
10921092
'pattern': '.',
1093-
'action': ['python3', 'src/third_party/dart/tools/generate_package_config.py'],
1093+
'action': ['python3', 'src/flutter/third_party/dart/tools/generate_package_config.py'],
10941094
},
10951095
{
10961096
# Generate the sdk/version file.
10971097
'name': 'Generate sdk/version',
10981098
'pattern': '.',
1099-
'action': ['python3', 'src/third_party/dart/tools/generate_sdk_version_file.py'],
1099+
'action': ['python3', 'src/flutter/third_party/dart/tools/generate_sdk_version_file.py'],
11001100
},
11011101
{
11021102
# Update the Windows toolchain if necessary.

build/dart/dart.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# found in the LICENSE file.
44

55
declare_args() {
6-
dart_src = "//third_party/dart"
6+
dart_src = "//flutter/third_party/dart"
77
}

ci/ban_generated_plugin_registrant_java.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ trap cleanup EXIT
5454

5555
# Find all files named GeneratedPluginRegistrant.java in the project.
5656
echo "Finding all files named GeneratedPluginRegistrant.java in the project..."
57-
GENERATED_PLUGIN_REGISTRANT_PATHS=$(find . -name "GeneratedPluginRegistrant.java")
57+
GENERATED_PLUGIN_REGISTRANT_PATHS=$(find . -name "GeneratedPluginRegistrant.java" | grep -v third_party)
5858

5959
# Iterate over the found paths and check if they are expected.
6060
for path in $GENERATED_PLUGIN_REGISTRANT_PATHS; do

ci/bin/format.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,9 +975,10 @@ final class HeaderFormatChecker extends FormatChecker {
975975
super.messageCallback,
976976
});
977977

978-
// $ENGINE/third_party/dart/tools/sdks/dart-sdk/bin/dart
978+
// $ENGINE/flutter/third_party/dart/tools/sdks/dart-sdk/bin/dart
979979
late final String _dartBin = path.join(
980980
repoDir.absolute.parent.path,
981+
'flutter',
981982
'third_party',
982983
'dart',
983984
'tools',

ci/binary_size_treemap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ NM="third_party/android_tools/ndk/toolchains/llvm/prebuilt/$NDK_PLATFORM/bin/llv
2828
# Run the binary size script from the buildroot directory so the treemap path
2929
# navigation will start from there.
3030
cd "$ENGINE_BUILDROOT"
31-
RUN_BINARY_SIZE_ANALYSIS="third_party/dart/third_party/binary_size/src/run_binary_size_analysis.py"
31+
RUN_BINARY_SIZE_ANALYSIS="flutter/third_party/dart/third_party/binary_size/src/run_binary_size_analysis.py"
3232
python3 "$RUN_BINARY_SIZE_ANALYSIS" --library "$INPUT_PATH" --destdir "$DEST_DIR" --addr2line-binary "$ADDR2LINE" --nm-binary "$NM" --jobs 1 --no-check-support

0 commit comments

Comments
 (0)