From 0768d0714e7359cf54993aac0034b275045a6b9e Mon Sep 17 00:00:00 2001 From: "P.Y. Laligand" Date: Thu, 19 Oct 2017 01:20:38 -0700 Subject: [PATCH] Move //dart to //third_party/dart. (flutter/engine#4245) --- DEPS | 130 +++++++++--------- engine/src/flutter/BUILD.gn | 2 +- engine/src/flutter/build/flutter_app.gni | 6 +- engine/src/flutter/flow/BUILD.gn | 2 +- engine/src/flutter/fml/BUILD.gn | 4 +- engine/src/flutter/fml/trace_event.cc | 2 +- engine/src/flutter/frontend_server/.packages | 96 ++++++------- engine/src/flutter/frontend_server/BUILD.gn | 4 +- .../src/flutter/frontend_server/pubspec.yaml | 96 ++++++------- engine/src/flutter/lib/io/BUILD.gn | 6 +- engine/src/flutter/lib/io/dart_io.cc | 6 +- engine/src/flutter/lib/snapshot/BUILD.gn | 62 ++++----- engine/src/flutter/lib/ui/BUILD.gn | 2 +- .../src/flutter/lib/ui/dart_runtime_hooks.cc | 6 +- .../src/flutter/lib/ui/dart_runtime_hooks.h | 2 +- engine/src/flutter/lib/ui/painting/rrect.h | 2 +- engine/src/flutter/lib/ui/text/text_box.h | 2 +- engine/src/flutter/lib/ui/ui_dart_state.h | 2 +- engine/src/flutter/runtime/BUILD.gn | 12 +- engine/src/flutter/runtime/dart_controller.cc | 2 +- engine/src/flutter/runtime/dart_controller.h | 2 +- engine/src/flutter/runtime/dart_init.cc | 9 +- engine/src/flutter/runtime/dart_init.h | 2 +- .../flutter/runtime/dart_service_isolate.cc | 2 +- .../flutter/runtime/dart_service_isolate.h | 2 +- engine/src/flutter/runtime/runtime_delegate.h | 2 +- engine/src/flutter/shell/common/BUILD.gn | 6 +- engine/src/flutter/shell/common/animator.cc | 2 +- .../common/diagnostic/diagnostic_server.cc | 4 +- .../common/diagnostic/diagnostic_server.h | 2 +- .../common/platform_view_service_protocol.h | 2 +- engine/src/flutter/shell/common/shell.cc | 2 +- .../shell/common/skia_event_tracer_impl.cc | 2 +- .../shell/common/tracing_controller.cc | 2 +- .../flutter/shell/platform/android/BUILD.gn | 4 +- .../shell/platform/android/flutter_main.cc | 2 +- .../flutter/shell/platform/darwin/BUILD.gn | 2 +- .../shell/platform/darwin/common/BUILD.gn | 2 +- .../platform/darwin/common/platform_mac.mm | 2 +- .../shell/platform/darwin/desktop/BUILD.gn | 2 +- .../shell/platform/darwin/ios/BUILD.gn | 4 +- .../framework/Source/FlutterDartProject.mm | 2 +- .../flutter/shell/platform/embedder/BUILD.gn | 4 +- .../src/flutter/shell/platform/linux/BUILD.gn | 4 +- .../shell/platform/linux/main_linux.cc | 2 +- .../flutter/sky/packages/sky_engine/BUILD.gn | 26 ++-- engine/src/flutter/synchronization/BUILD.gn | 2 +- engine/src/flutter/third_party/txt/BUILD.gn | 2 +- .../src/flutter/tools/licenses/lib/main.dart | 4 +- 49 files changed, 276 insertions(+), 275 deletions(-) diff --git a/DEPS b/DEPS index 883a90bbab..82e79d954d 100644 --- a/DEPS +++ b/DEPS @@ -118,7 +118,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '2e3dfc25ff0fd0b444cfcf400c08c827a263a36b', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'd9dc9e87c97d4d98342e27482d29403136954114', # Fuchsia compatibility # @@ -130,7 +130,7 @@ deps = { Var('fuchsia_git') + '/garnet' + '@' + '73eeb0583e7967016ad7386a90353bf6937488b9', 'src/topaz/lib/tonic': - Var('fuchsia_git') + '/tonic' + '@' + '38c5b3b7f5968be3c5ef89a14797365adbed25e1', + Var('fuchsia_git') + '/tonic' + '@' + '1facca9652dc97facd64e18217a6175c4236e354', 'src/third_party/benchmark': Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22', @@ -161,7 +161,7 @@ deps = { 'src/third_party/icu': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '08cb956852a5ccdba7f9c941728bb833529ba3c6', - 'src/dart': + 'src/third_party/dart': Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'), 'src/third_party/boringssl': @@ -170,187 +170,187 @@ deps = { 'src/third_party/boringssl/src': 'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_rev'), - 'src/dart/third_party/observatory_pub_packages': + 'src/third_party/dart/third_party/observatory_pub_packages': Var('chromium_git') + '/external/github.com/dart-lang/observatory_pub_packages' + '@' + Var('dart_observatory_pub_packages_rev'), - 'src/dart/third_party/pkg/oauth2': + 'src/third_party/dart/third_party/pkg/oauth2': Var('chromium_git') + '/external/github.com/dart-lang/oauth2' + '@' + Var('dart_oauth2_tag'), - 'src/dart/third_party/pkg/args': + 'src/third_party/dart/third_party/pkg/args': Var('chromium_git') + '/external/github.com/dart-lang/args' + '@' + Var('dart_args_tag'), - 'src/dart/third_party/pkg/async': + 'src/third_party/dart/third_party/pkg/async': Var('chromium_git') + '/external/github.com/dart-lang/async' + '@' + Var('dart_async_tag'), - 'src/dart/third_party/pkg/barback': + 'src/third_party/dart/third_party/pkg/barback': Var('chromium_git') + '/external/github.com/dart-lang/barback' + '@' + Var('dart_barback_tag'), - 'src/dart/third_party/pkg/bazel_worker': + 'src/third_party/dart/third_party/pkg/bazel_worker': Var('chromium_git') + '/external/github.com/dart-lang/bazel_worker' + '@' + Var('dart_bazel_worker_tag'), - 'src/dart/third_party/pkg/boolean_selector': + 'src/third_party/dart/third_party/pkg/boolean_selector': Var('chromium_git') + '/external/github.com/dart-lang/boolean_selector' + '@' + Var('dart_boolean_selector_tag'), - 'src/dart/third_party/pkg/charcode': + 'src/third_party/dart/third_party/pkg/charcode': Var('chromium_git') + '/external/github.com/dart-lang/charcode' + '@' + Var('dart_charcode_tag'), - 'src/dart/third_party/pkg/cli_util': + 'src/third_party/dart/third_party/pkg/cli_util': Var('chromium_git') + '/external/github.com/dart-lang/cli_util' + '@' + Var('dart_cli_util_tag'), - 'src/dart/third_party/pkg/collection': + 'src/third_party/dart/third_party/pkg/collection': Var('chromium_git') + '/external/github.com/dart-lang/collection' + '@' + Var('dart_collection_tag'), - 'src/dart/third_party/pkg/convert': + 'src/third_party/dart/third_party/pkg/convert': Var('chromium_git') + '/external/github.com/dart-lang/convert' + '@' + Var('dart_convert_tag'), - 'src/dart/third_party/pkg/crypto': + 'src/third_party/dart/third_party/pkg/crypto': Var('chromium_git') + '/external/github.com/dart-lang/crypto' + '@' + Var('dart_crypto_tag'), - 'src/dart/third_party/pkg/csslib': + 'src/third_party/dart/third_party/pkg/csslib': Var('chromium_git') + '/external/github.com/dart-lang/csslib' + '@' + Var('dart_csslib_tag'), - 'src/dart/third_party/pkg/dart2js_info': + 'src/third_party/dart/third_party/pkg/dart2js_info': Var('chromium_git') + '/external/github.com/dart-lang/dart2js_info' + '@' + Var('dart_dart2js_info_tag'), - 'src/dart/third_party/pkg/dartdoc': + 'src/third_party/dart/third_party/pkg/dartdoc': Var('chromium_git') + '/external/github.com/dart-lang/dartdoc' + '@' + Var('dart_dartdoc_tag'), - 'src/dart/third_party/pkg/isolate': + 'src/third_party/dart/third_party/pkg/isolate': Var('chromium_git') + '/external/github.com/dart-lang/isolate' + '@' + Var('dart_isolate_tag'), - 'src/dart/third_party/pkg/json_rpc_2': + 'src/third_party/dart/third_party/pkg/json_rpc_2': Var('chromium_git') + '/external/github.com/dart-lang/json_rpc_2' + '@' + Var('dart_json_rpc_2_tag'), - 'src/dart/third_party/pkg/intl': + 'src/third_party/dart/third_party/pkg/intl': Var('chromium_git') + '/external/github.com/dart-lang/intl' + '@' + Var('dart_intl_tag'), - 'src/dart/third_party/pkg/fixnum': + 'src/third_party/dart/third_party/pkg/fixnum': Var('chromium_git') + '/external/github.com/dart-lang/fixnum' + '@' + Var('dart_fixnum_tag'), - 'src/dart/third_party/pkg/glob': + 'src/third_party/dart/third_party/pkg/glob': Var('chromium_git') + '/external/github.com/dart-lang/glob' + '@' + Var('dart_glob_tag'), - 'src/dart/third_party/pkg/html': + 'src/third_party/dart/third_party/pkg/html': Var('chromium_git') + '/external/github.com/dart-lang/html' + '@' + Var('dart_html_tag'), - 'src/dart/third_party/pkg/http': + 'src/third_party/dart/third_party/pkg/http': Var('chromium_git') + '/external/github.com/dart-lang/http' + '@' + Var('dart_http_tag'), - 'src/dart/third_party/pkg/http_parser': + 'src/third_party/dart/third_party/pkg/http_parser': Var('chromium_git') + '/external/github.com/dart-lang/http_parser' + '@' + Var('dart_http_parser_tag'), - 'src/dart/third_party/pkg/http_throttle': + 'src/third_party/dart/third_party/pkg/http_throttle': Var('chromium_git') + '/external/github.com/dart-lang/http_throttle' + '@' + Var('dart_http_throttle_tag'), - 'src/dart/third_party/pkg/http_multi_server': + 'src/third_party/dart/third_party/pkg/http_multi_server': Var('chromium_git') + '/external/github.com/dart-lang/http_multi_server' + '@' + Var('dart_http_multi_server_tag'), - 'src/dart/third_party/pkg/logging': + 'src/third_party/dart/third_party/pkg/logging': Var('chromium_git') + '/external/github.com/dart-lang/logging' + '@' + Var('dart_logging_tag'), - 'src/dart/third_party/pkg/linter': + 'src/third_party/dart/third_party/pkg/linter': Var('chromium_git') + '/external/github.com/dart-lang/linter' + '@' + Var('dart_linter_tag'), - 'src/dart/third_party/pkg/markdown': + 'src/third_party/dart/third_party/pkg/markdown': Var('chromium_git') + '/external/github.com/dart-lang/markdown' + '@' + Var('dart_markdown_tag'), - 'src/dart/third_party/pkg/matcher': + 'src/third_party/dart/third_party/pkg/matcher': Var('chromium_git') + '/external/github.com/dart-lang/matcher' + '@' + Var('dart_matcher_tag'), - 'src/dart/third_party/pkg/mime': + 'src/third_party/dart/third_party/pkg/mime': Var('chromium_git') + '/external/github.com/dart-lang/mime' + '@' + Var('dart_mime_rev'), - 'src/dart/third_party/pkg/mockito': + 'src/third_party/dart/third_party/pkg/mockito': Var('chromium_git') + '/external/github.com/dart-lang/mockito' + '@' + Var('dart_mockito_tag'), - 'src/dart/third_party/pkg/mustache4dart': + 'src/third_party/dart/third_party/pkg/mustache4dart': Var('chromium_git') + '/external/github.com/valotas/mustache4dart' + '@' + Var('dart_mustache4dart_tag'), - 'src/dart/third_party/pkg_tested/package_config': + 'src/third_party/dart/third_party/pkg_tested/package_config': Var('chromium_git') + '/external/github.com/dart-lang/package_config' + '@' + Var('dart_package_config_tag'), - 'src/dart/third_party/pkg_tested/package_resolver': + 'src/third_party/dart/third_party/pkg_tested/package_resolver': Var('chromium_git') + '/external/github.com/dart-lang/package_resolver' + '@' + Var('dart_package_resolver_tag'), - 'src/dart/third_party/pkg/path': + 'src/third_party/dart/third_party/pkg/path': Var('chromium_git') + '/external/github.com/dart-lang/path' + '@' + Var('dart_path_tag'), - 'src/dart/third_party/pkg/pool': + 'src/third_party/dart/third_party/pkg/pool': Var('chromium_git') + '/external/github.com/dart-lang/pool' + '@' + Var('dart_pool_tag'), - 'src/dart/third_party/pkg/plugin': + 'src/third_party/dart/third_party/pkg/plugin': Var('chromium_git') + '/external/github.com/dart-lang/plugin' + '@' + Var('dart_plugin_tag'), - 'src/dart/third_party/pkg/protobuf': + 'src/third_party/dart/third_party/pkg/protobuf': Var('chromium_git') + '/external/github.com/dart-lang/protobuf' + '@' + Var('dart_protobuf_tag'), - 'src/dart/third_party/pkg/pub_semver': + 'src/third_party/dart/third_party/pkg/pub_semver': Var('chromium_git') + '/external/github.com/dart-lang/pub_semver' + '@' + Var('dart_pub_semver_tag'), - 'src/dart/third_party/pkg/pub': + 'src/third_party/dart/third_party/pkg/pub': Var('chromium_git') + '/external/github.com/dart-lang/pub' + '@' + Var('dart_pub_rev'), - 'src/dart/third_party/pkg/quiver': + 'src/third_party/dart/third_party/pkg/quiver': Var('chromium_git') + '/external/github.com/google/quiver-dart' + '@' + Var('dart_quiver_tag'), - 'src/dart/third_party/pkg/resource': + 'src/third_party/dart/third_party/pkg/resource': Var('chromium_git') + '/external/github.com/dart-lang/resource' + '@' + Var('dart_resource_rev'), - 'src/dart/third_party/pkg/shelf': + 'src/third_party/dart/third_party/pkg/shelf': Var('chromium_git') + '/external/github.com/dart-lang/shelf' + '@' + Var('dart_shelf_tag'), - 'src/dart/third_party/pkg/shelf_packages_handler': + 'src/third_party/dart/third_party/pkg/shelf_packages_handler': Var('chromium_git') + '/external/github.com/dart-lang/shelf_packages_handler' + '@' + Var('dart_shelf_packages_handler_tag'), - 'src/dart/third_party/pkg/shelf_static': + 'src/third_party/dart/third_party/pkg/shelf_static': Var('chromium_git') + '/external/github.com/dart-lang/shelf_static' + '@' + Var('dart_shelf_static_tag'), - 'src/dart/third_party/pkg/shelf_web_socket': + 'src/third_party/dart/third_party/pkg/shelf_web_socket': Var('chromium_git') + '/external/github.com/dart-lang/shelf_web_socket' + '@' + Var('dart_shelf_web_socket_tag'), - 'src/dart/third_party/pkg/source_span': + 'src/third_party/dart/third_party/pkg/source_span': Var('chromium_git') + '/external/github.com/dart-lang/source_span' + '@' + Var('dart_source_span_tag'), - 'src/dart/third_party/pkg/source_map_stack_trace': + 'src/third_party/dart/third_party/pkg/source_map_stack_trace': Var('chromium_git') + '/external/github.com/dart-lang/source_map_stack_trace' + '@' + Var('dart_source_map_stack_trace_tag'), - 'src/dart/third_party/pkg/source_maps': + 'src/third_party/dart/third_party/pkg/source_maps': Var('chromium_git') + '/external/github.com/dart-lang/source_maps' + '@' + Var('dart_source_maps_tag'), - 'src/dart/third_party/pkg/string_scanner': + 'src/third_party/dart/third_party/pkg/string_scanner': Var('chromium_git') + '/external/github.com/dart-lang/string_scanner' + '@' + Var('dart_string_scanner_tag'), - 'src/dart/third_party/pkg/stream_channel': + 'src/third_party/dart/third_party/pkg/stream_channel': Var('chromium_git') + '/external/github.com/dart-lang/stream_channel' + '@' + Var('dart_stream_channel_tag'), - 'src/dart/third_party/pkg/stack_trace': + 'src/third_party/dart/third_party/pkg/stack_trace': Var('chromium_git') + '/external/github.com/dart-lang/stack_trace' + '@' + Var('dart_stack_trace_tag'), - 'src/dart/third_party/pkg_tested/dart_style': + 'src/third_party/dart/third_party/pkg_tested/dart_style': Var('chromium_git') + '/external/github.com/dart-lang/dart_style' + '@' + Var('dart_dart_style_tag'), - 'src/dart/third_party/pkg/typed_data': + 'src/third_party/dart/third_party/pkg/typed_data': Var('chromium_git') + '/external/github.com/dart-lang/typed_data' + '@' + Var('dart_typed_data_tag'), - 'src/dart/third_party/pkg/test': + 'src/third_party/dart/third_party/pkg/test': Var('chromium_git') + '/external/github.com/dart-lang/test' + '@' + Var('dart_test_tag'), - 'src/dart/third_party/pkg/tuple': + 'src/third_party/dart/third_party/pkg/tuple': Var('chromium_git') + '/external/github.com/dart-lang/tuple' + '@' + Var('dart_tuple_tag'), - 'src/dart/third_party/pkg/utf': + 'src/third_party/dart/third_party/pkg/utf': Var('chromium_git') + '/external/github.com/dart-lang/utf' + '@' + Var('dart_utf_tag'), - 'src/dart/third_party/pkg/usage': + 'src/third_party/dart/third_party/pkg/usage': Var('chromium_git') + '/external/github.com/dart-lang/usage' + '@' + Var('dart_usage_tag'), - 'src/dart/third_party/pkg/watcher': + 'src/third_party/dart/third_party/pkg/watcher': Var('chromium_git') + '/external/github.com/dart-lang/watcher' + '@' + Var('dart_watcher_tag'), - 'src/dart/third_party/pkg/web_socket_channel': + 'src/third_party/dart/third_party/pkg/web_socket_channel': Var('chromium_git') + '/external/github.com/dart-lang/web_socket_channel' + '@' + Var('dart_web_socket_channel_tag'), - 'src/dart/third_party/pkg/yaml': + 'src/third_party/dart/third_party/pkg/yaml': Var('chromium_git') + '/external/github.com/dart-lang/yaml' + '@' + Var('dart_yaml_tag'), 'src/third_party/root_certificates': @@ -451,7 +451,7 @@ hooks = [ "--platform=win32", "--extract", "-s", - "src/dart/third_party/7zip.tar.gz.sha1", + "src/third_party/dart/third_party/7zip.tar.gz.sha1", ], }, ] diff --git a/engine/src/flutter/BUILD.gn b/engine/src/flutter/BUILD.gn index a96d363dbc..05e3bff18c 100644 --- a/engine/src/flutter/BUILD.gn +++ b/engine/src/flutter/BUILD.gn @@ -16,7 +16,7 @@ group("flutter") { if (current_toolchain == host_toolchain) { public_deps += [ "$flutter_root/frontend_server", - "//dart:create_sdk", + "//third_party/dart:create_sdk", ] } } diff --git a/engine/src/flutter/build/flutter_app.gni b/engine/src/flutter/build/flutter_app.gni index a29302e2f2..fa285260c6 100644 --- a/engine/src/flutter/build/flutter_app.gni +++ b/engine/src/flutter/build/flutter_app.gni @@ -14,7 +14,7 @@ declare_args() { flutter_app_default_is_jit = true } -gen_snapshot_label = "//dart/runtime/bin:gen_snapshot($host_toolchain)" +gen_snapshot_label = "//third_party/dart/runtime/bin:gen_snapshot($host_toolchain)" gen_snapshot_dir = get_label_info(gen_snapshot_label, "root_out_dir") gen_snapshot = "$gen_snapshot_dir/gen_snapshot" @@ -225,7 +225,7 @@ template("flutter_aot_app") { main_dart, "$flutter_root/runtime/dart_vm_entry_points.txt", "$flutter_root/runtime/dart_vm_entry_points_fuchsia.txt", - "//dart/runtime/bin/dart_io_entries.txt", + "//third_party/dart/runtime/bin/dart_io_entries.txt", ] outputs = [ @@ -264,7 +264,7 @@ template("flutter_aot_app") { "--entry-points-manifest", rebase_path("$flutter_root/runtime/dart_vm_entry_points_fuchsia.txt"), "--entry-points-manifest", - rebase_path("//dart/runtime/bin/dart_io_entries.txt"), + rebase_path("//third_party/dart/runtime/bin/dart_io_entries.txt"), "--main-dart", rebase_path(main_dart), diff --git a/engine/src/flutter/flow/BUILD.gn b/engine/src/flutter/flow/BUILD.gn index b6d633ece8..86c867ce9f 100644 --- a/engine/src/flutter/flow/BUILD.gn +++ b/engine/src/flutter/flow/BUILD.gn @@ -99,7 +99,7 @@ executable("flow_unittests") { deps = [ ":flow", - "//dart/runtime:libdart_jit", # for tracing + "//third_party/dart/runtime:libdart_jit", # for tracing "$flutter_root/testing", "//third_party/skia", ] diff --git a/engine/src/flutter/fml/BUILD.gn b/engine/src/flutter/fml/BUILD.gn index 1e57600e46..ab34374913 100644 --- a/engine/src/flutter/fml/BUILD.gn +++ b/engine/src/flutter/fml/BUILD.gn @@ -24,7 +24,7 @@ source_set("fml") { ] deps = [ - "//dart/runtime:dart_api", + "//third_party/dart/runtime:dart_api", "//garnet/public/lib/fxl", # These need to be in sync with the Fuchsia buildroot. @@ -114,7 +114,7 @@ executable("fml_unittests") { ] deps = [ - "//dart/runtime:libdart_jit", + "//third_party/dart/runtime:libdart_jit", "$flutter_root/fml", "$flutter_root/testing", "//garnet/public/lib/fxl", diff --git a/engine/src/flutter/fml/trace_event.cc b/engine/src/flutter/fml/trace_event.cc index cd30d18527..c99b74bb18 100644 --- a/engine/src/flutter/fml/trace_event.cc +++ b/engine/src/flutter/fml/trace_event.cc @@ -4,7 +4,7 @@ #include "flutter/fml/trace_event.h" -#include "dart/runtime/include/dart_tools_api.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" namespace fml { namespace tracing { diff --git a/engine/src/flutter/frontend_server/.packages b/engine/src/flutter/frontend_server/.packages index fe9b8d6578..eaa6535321 100644 --- a/engine/src/flutter/frontend_server/.packages +++ b/engine/src/flutter/frontend_server/.packages @@ -1,51 +1,51 @@ # Generated by pub on 2017-08-22 07:05:11.485224. -analyzer:../../dart/pkg/analyzer/lib/ -args:../../dart/third_party/pkg/args/lib/ -async:../../dart/third_party/pkg/async/lib/ -barback:../../dart/third_party/pkg/barback/lib/ -boolean_selector:../../dart/third_party/pkg/boolean_selector/lib/ -charcode:../../dart/third_party/pkg/charcode/lib/ -cli_util:../../dart/third_party/pkg/cli_util/lib/ -collection:../../dart/third_party/pkg/collection/lib/ -convert:../../dart/third_party/pkg/convert/lib/ -crypto:../../dart/third_party/pkg/crypto/lib/ -csslib:../../dart/third_party/pkg/csslib/lib/ -front_end:../../dart/pkg/front_end/lib/ -glob:../../dart/third_party/pkg/glob/lib/ -html:../../dart/third_party/pkg/html/lib/ -http:../../dart/third_party/pkg/http/lib/ -http_multi_server:../../dart/third_party/pkg/http_multi_server/lib/ -http_parser:../../dart/third_party/pkg/http_parser/lib/ -isolate:../../dart/third_party/pkg/isolate/lib/ -kernel:../../dart/pkg/kernel/lib/ -logging:../../dart/third_party/pkg/logging/lib/ -matcher:../../dart/third_party/pkg/matcher/lib/ -meta:../../dart/pkg/meta/lib/ -mime:../../dart/third_party/pkg/mime/lib/ -mockito:../../dart/third_party/pkg/mockito/lib/ -package_config:../../dart/third_party/pkg_tested/package_config/lib/ -package_resolver:../../dart/third_party/pkg_tested/package_resolver/lib/ -path:../../dart/third_party/pkg/path/lib/ -plugin:../../dart/third_party/pkg/plugin/lib/ -pool:../../dart/third_party/pkg/pool/lib/ -pub_semver:../../dart/third_party/pkg/pub_semver/lib/ -quiver:../../dart/third_party/pkg/quiver/lib/ -shelf:../../dart/third_party/pkg/shelf/lib/ -shelf_packages_handler:../../dart/third_party/pkg/shelf_packages_handler/lib/ -shelf_static:../../dart/third_party/pkg/shelf_static/lib/ -shelf_web_socket:../../dart/third_party/pkg/shelf_web_socket/lib/ -source_map_stack_trace:../../dart/third_party/pkg/source_map_stack_trace/lib/ -source_maps:../../dart/third_party/pkg/source_maps/lib/ -source_span:../../dart/third_party/pkg/source_span/lib/ -stack_trace:../../dart/third_party/pkg/stack_trace/lib/ -stream_channel:../../dart/third_party/pkg/stream_channel/lib/ -string_scanner:../../dart/third_party/pkg/string_scanner/lib/ -test:../../dart/third_party/pkg/test/lib/ -typed_data:../../dart/third_party/pkg/typed_data/lib/ -usage:../../dart/third_party/pkg/usage/lib/ -utf:../../dart/third_party/pkg/utf/lib/ -watcher:../../dart/third_party/pkg/watcher/lib/ -web_socket_channel:../../dart/third_party/pkg/web_socket_channel/lib/ +analyzer:../../third_party/dart/pkg/analyzer/lib/ +args:../../third_party/dart/third_party/pkg/args/lib/ +async:../../third_party/dart/third_party/pkg/async/lib/ +barback:../../third_party/dart/third_party/pkg/barback/lib/ +boolean_selector:../../third_party/dart/third_party/pkg/boolean_selector/lib/ +charcode:../../third_party/dart/third_party/pkg/charcode/lib/ +cli_util:../../third_party/dart/third_party/pkg/cli_util/lib/ +collection:../../third_party/dart/third_party/pkg/collection/lib/ +convert:../../third_party/dart/third_party/pkg/convert/lib/ +crypto:../../third_party/dart/third_party/pkg/crypto/lib/ +csslib:../../third_party/dart/third_party/pkg/csslib/lib/ +front_end:../../third_party/dart/pkg/front_end/lib/ +glob:../../third_party/dart/third_party/pkg/glob/lib/ +html:../../third_party/dart/third_party/pkg/html/lib/ +http:../../third_party/dart/third_party/pkg/http/lib/ +http_multi_server:../../third_party/dart/third_party/pkg/http_multi_server/lib/ +http_parser:../../third_party/dart/third_party/pkg/http_parser/lib/ +isolate:../../third_party/dart/third_party/pkg/isolate/lib/ +kernel:../../third_party/dart/pkg/kernel/lib/ +logging:../../third_party/dart/third_party/pkg/logging/lib/ +matcher:../../third_party/dart/third_party/pkg/matcher/lib/ +meta:../../third_party/dart/pkg/meta/lib/ +mime:../../third_party/dart/third_party/pkg/mime/lib/ +mockito:../../third_party/dart/third_party/pkg/mockito/lib/ +package_config:../../third_party/dart/third_party/pkg_tested/package_config/lib/ +package_resolver:../../third_party/dart/third_party/pkg_tested/package_resolver/lib/ +path:../../third_party/dart/third_party/pkg/path/lib/ +plugin:../../third_party/dart/third_party/pkg/plugin/lib/ +pool:../../third_party/dart/third_party/pkg/pool/lib/ +pub_semver:../../third_party/dart/third_party/pkg/pub_semver/lib/ +quiver:../../third_party/dart/third_party/pkg/quiver/lib/ +shelf:../../third_party/dart/third_party/pkg/shelf/lib/ +shelf_packages_handler:../../third_party/dart/third_party/pkg/shelf_packages_handler/lib/ +shelf_static:../../third_party/dart/third_party/pkg/shelf_static/lib/ +shelf_web_socket:../../third_party/dart/third_party/pkg/shelf_web_socket/lib/ +source_map_stack_trace:../../third_party/dart/third_party/pkg/source_map_stack_trace/lib/ +source_maps:../../third_party/dart/third_party/pkg/source_maps/lib/ +source_span:../../third_party/dart/third_party/pkg/source_span/lib/ +stack_trace:../../third_party/dart/third_party/pkg/stack_trace/lib/ +stream_channel:../../third_party/dart/third_party/pkg/stream_channel/lib/ +string_scanner:../../third_party/dart/third_party/pkg/string_scanner/lib/ +test:../../third_party/dart/third_party/pkg/test/lib/ +typed_data:../../third_party/dart/third_party/pkg/typed_data/lib/ +usage:../../third_party/dart/third_party/pkg/usage/lib/ +utf:../../third_party/dart/third_party/pkg/utf/lib/ +watcher:../../third_party/dart/third_party/pkg/watcher/lib/ +web_socket_channel:../../third_party/dart/third_party/pkg/web_socket_channel/lib/ when:../../third_party/pkg/when/lib/ -yaml:../../dart/third_party/pkg/yaml/lib/ +yaml:../../third_party/dart/third_party/pkg/yaml/lib/ frontend_server:lib/ diff --git a/engine/src/flutter/frontend_server/BUILD.gn b/engine/src/flutter/frontend_server/BUILD.gn index 1f11a8ddb9..3b46bb2c81 100644 --- a/engine/src/flutter/frontend_server/BUILD.gn +++ b/engine/src/flutter/frontend_server/BUILD.gn @@ -2,14 +2,14 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//dart/utils/application_snapshot.gni") +import("//third_party/dart/utils/application_snapshot.gni") application_snapshot("frontend_server") { main_dart = "bin/starter.dart" dot_packages = rebase_path(".packages") training_args = [ "--train" ] - frontend_server_files = exec_script("//dart/tools/list_dart_files.py", + frontend_server_files = exec_script("//third_party/dart/tools/list_dart_files.py", [ "absolute", rebase_path("."), ], "list lines") inputs = frontend_server_files diff --git a/engine/src/flutter/frontend_server/pubspec.yaml b/engine/src/flutter/frontend_server/pubspec.yaml index 03e493fc8f..49acf2fb76 100644 --- a/engine/src/flutter/frontend_server/pubspec.yaml +++ b/engine/src/flutter/frontend_server/pubspec.yaml @@ -59,101 +59,101 @@ dev_dependencies: dependency_overrides: args: - path: ../../dart/third_party/pkg/args + path: ../../third_party/dart/third_party/pkg/args async: - path: ../../dart/third_party/pkg/async + path: ../../third_party/dart/third_party/pkg/async charcode: - path: ../../dart/third_party/pkg/charcode + path: ../../third_party/dart/third_party/pkg/charcode collection: - path: ../../dart/third_party/pkg/collection + path: ../../third_party/dart/third_party/pkg/collection convert: - path: ../../dart/third_party/pkg/convert + path: ../../third_party/dart/third_party/pkg/convert crypto: - path: ../../dart/third_party/pkg/crypto + path: ../../third_party/dart/third_party/pkg/crypto front_end: - path: ../../dart/pkg/front_end/ + path: ../../third_party/dart/pkg/front_end/ kernel: - path: ../../dart/pkg/kernel/ + path: ../../third_party/dart/pkg/kernel/ logging: - path: ../../dart/third_party/pkg/logging + path: ../../third_party/dart/third_party/pkg/logging meta: - path: ../../dart/pkg/meta + path: ../../third_party/dart/pkg/meta quiver: - path: ../../dart/third_party/pkg/quiver + path: ../../third_party/dart/third_party/pkg/quiver package_config: - path: ../../dart/third_party/pkg_tested/package_config + path: ../../third_party/dart/third_party/pkg_tested/package_config path: - path: ../../dart/third_party/pkg/path + path: ../../third_party/dart/third_party/pkg/path source_span: - path: ../../dart/third_party/pkg/source_span + path: ../../third_party/dart/third_party/pkg/source_span typed_data: - path: ../../dart/third_party/pkg/typed_data + path: ../../third_party/dart/third_party/pkg/typed_data usage: - path: ../../dart/third_party/pkg/usage + path: ../../third_party/dart/third_party/pkg/usage analyzer: - path: ../../dart/pkg/analyzer + path: ../../third_party/dart/pkg/analyzer barback: - path: ../../dart/third_party/pkg/barback + path: ../../third_party/dart/third_party/pkg/barback boolean_selector: - path: ../../dart/third_party/pkg/boolean_selector + path: ../../third_party/dart/third_party/pkg/boolean_selector cli_util: - path: ../../dart/third_party/pkg/cli_util + path: ../../third_party/dart/third_party/pkg/cli_util csslib: - path: ../../dart/third_party/pkg/csslib + path: ../../third_party/dart/third_party/pkg/csslib glob: - path: ../../dart/third_party/pkg/glob + path: ../../third_party/dart/third_party/pkg/glob html: - path: ../../dart/third_party/pkg/html + path: ../../third_party/dart/third_party/pkg/html http: - path: ../../dart/third_party/pkg/http + path: ../../third_party/dart/third_party/pkg/http http_multi_server: - path: ../../dart/third_party/pkg/http_multi_server + path: ../../third_party/dart/third_party/pkg/http_multi_server http_parser: - path: ../../dart/third_party/pkg/http_parser + path: ../../third_party/dart/third_party/pkg/http_parser isolate: - path: ../../dart/third_party/pkg/isolate + path: ../../third_party/dart/third_party/pkg/isolate matcher: - path: ../../dart/third_party/pkg/matcher + path: ../../third_party/dart/third_party/pkg/matcher mime: - path: ../../dart/third_party/pkg/mime + path: ../../third_party/dart/third_party/pkg/mime mockito: - path: ../../dart/third_party/pkg/mockito + path: ../../third_party/dart/third_party/pkg/mockito package_resolver: - path: ../../dart/third_party/pkg_tested/package_resolver + path: ../../third_party/dart/third_party/pkg_tested/package_resolver plugin: - path: ../../dart/third_party/pkg/plugin + path: ../../third_party/dart/third_party/pkg/plugin pool: - path: ../../dart/third_party/pkg/pool + path: ../../third_party/dart/third_party/pkg/pool pub_semver: - path: ../../dart/third_party/pkg/pub_semver + path: ../../third_party/dart/third_party/pkg/pub_semver shelf: - path: ../../dart/third_party/pkg/shelf + path: ../../third_party/dart/third_party/pkg/shelf shelf_packages_handler: - path: ../../dart/third_party/pkg/shelf_packages_handler + path: ../../third_party/dart/third_party/pkg/shelf_packages_handler shelf_static: - path: ../../dart/third_party/pkg/shelf_static + path: ../../third_party/dart/third_party/pkg/shelf_static shelf_web_socket: - path: ../../dart/third_party/pkg/shelf_web_socket + path: ../../third_party/dart/third_party/pkg/shelf_web_socket source_map_stack_trace: - path: ../../dart/third_party/pkg/source_map_stack_trace + path: ../../third_party/dart/third_party/pkg/source_map_stack_trace source_maps: - path: ../../dart/third_party/pkg/source_maps + path: ../../third_party/dart/third_party/pkg/source_maps stack_trace: - path: ../../dart/third_party/pkg/stack_trace + path: ../../third_party/dart/third_party/pkg/stack_trace stream_channel: - path: ../../dart/third_party/pkg/stream_channel + path: ../../third_party/dart/third_party/pkg/stream_channel string_scanner: - path: ../../dart/third_party/pkg/string_scanner + path: ../../third_party/dart/third_party/pkg/string_scanner test: - path: ../../dart/third_party/pkg/test + path: ../../third_party/dart/third_party/pkg/test utf: - path: ../../dart/third_party/pkg/utf + path: ../../third_party/dart/third_party/pkg/utf watcher: - path: ../../dart/third_party/pkg/watcher + path: ../../third_party/dart/third_party/pkg/watcher web_socket_channel: - path: ../../dart/third_party/pkg/web_socket_channel + path: ../../third_party/dart/third_party/pkg/web_socket_channel when: path: ../../third_party/pkg/when yaml: - path: ../../dart/third_party/pkg/yaml \ No newline at end of file + path: ../../third_party/dart/third_party/pkg/yaml diff --git a/engine/src/flutter/lib/io/BUILD.gn b/engine/src/flutter/lib/io/BUILD.gn index c1a1d3950f..d6240a4690 100644 --- a/engine/src/flutter/lib/io/BUILD.gn +++ b/engine/src/flutter/lib/io/BUILD.gn @@ -9,14 +9,14 @@ source_set("io") { ] deps = [ - "//dart/runtime:dart_api", - "//dart/runtime/bin:embedded_dart_io", + "//third_party/dart/runtime:dart_api", + "//third_party/dart/runtime/bin:embedded_dart_io", "//garnet/public/lib/fxl", "//topaz/lib/tonic/converter", ] configs += [ - "//dart/runtime:dart_config", + "//third_party/dart/runtime:dart_config", ] public_configs = [ diff --git a/engine/src/flutter/lib/io/dart_io.cc b/engine/src/flutter/lib/io/dart_io.cc index 1820f6dacc..07cc17cdcd 100644 --- a/engine/src/flutter/lib/io/dart_io.cc +++ b/engine/src/flutter/lib/io/dart_io.cc @@ -4,10 +4,10 @@ #include "flutter/lib/io/dart_io.h" -#include "dart/runtime/bin/crypto.h" -#include "dart/runtime/bin/io_natives.h" -#include "dart/runtime/include/dart_api.h" #include "lib/tonic/converter/dart_converter.h" +#include "third_party/dart/runtime/bin/crypto.h" +#include "third_party/dart/runtime/bin/io_natives.h" +#include "third_party/dart/runtime/include/dart_api.h" using tonic::ToDart; diff --git a/engine/src/flutter/lib/snapshot/BUILD.gn b/engine/src/flutter/lib/snapshot/BUILD.gn index 92136bd08a..09bdae790a 100644 --- a/engine/src/flutter/lib/snapshot/BUILD.gn +++ b/engine/src/flutter/lib/snapshot/BUILD.gn @@ -4,19 +4,19 @@ import("$flutter_root/lib/ui/dart_ui.gni") -import("//dart/runtime/bin/io_sources.gni") -import("//dart/runtime/lib/async_sources.gni") -import("//dart/runtime/lib/collection_sources.gni") -import("//dart/runtime/lib/convert_sources.gni") -import("//dart/runtime/lib/core_sources.gni") -import("//dart/runtime/lib/developer_sources.gni") -import("//dart/runtime/lib/internal_sources.gni") -import("//dart/runtime/lib/isolate_sources.gni") -import("//dart/runtime/lib/math_sources.gni") -import("//dart/runtime/lib/mirrors_sources.gni") -import("//dart/runtime/lib/typed_data_sources.gni") +import("//third_party/dart/runtime/bin/io_sources.gni") +import("//third_party/dart/runtime/lib/async_sources.gni") +import("//third_party/dart/runtime/lib/collection_sources.gni") +import("//third_party/dart/runtime/lib/convert_sources.gni") +import("//third_party/dart/runtime/lib/core_sources.gni") +import("//third_party/dart/runtime/lib/developer_sources.gni") +import("//third_party/dart/runtime/lib/internal_sources.gni") +import("//third_party/dart/runtime/lib/isolate_sources.gni") +import("//third_party/dart/runtime/lib/math_sources.gni") +import("//third_party/dart/runtime/lib/mirrors_sources.gni") +import("//third_party/dart/runtime/lib/typed_data_sources.gni") -import("//dart/utils/generate_patch_sdk.gni") +import("//third_party/dart/utils/generate_patch_sdk.gni") if (is_fuchsia) { import("//topaz/public/lib/ui/flutter/sdk_ext/sdk_ext.gni") @@ -86,12 +86,12 @@ action("generate_snapshot_bin") { deps = [ ":generate_dart_ui", - "//dart/runtime/bin:gen_snapshot($dart_host_toolchain)", + "//third_party/dart/runtime/bin:gen_snapshot($dart_host_toolchain)", ] depfile = "$target_gen_dir/core_snapshot.d" inputs = [ - "//dart/runtime/tools/create_snapshot_bin.py", + "//third_party/dart/runtime/tools/create_snapshot_bin.py", snapshot_dart, ] + dart_ui_files if (is_fuchsia) { @@ -114,9 +114,9 @@ action("generate_snapshot_bin") { rebased_dart_ui_path = rebase_path(dart_ui_path) gen_snapshot_dir = - get_label_info("//dart/runtime/bin:gen_snapshot($dart_host_toolchain)", + get_label_info("//third_party/dart/runtime/bin:gen_snapshot($dart_host_toolchain)", "root_out_dir") - script = "//dart/runtime/tools/create_snapshot_bin.py" + script = "//third_party/dart/runtime/tools/create_snapshot_bin.py" args = [ "--executable", @@ -184,7 +184,7 @@ template("bin_to_assembly") { action(target_name) { deps = invoker.deps - script = "//dart/runtime/tools/bin_to_assembly.py" + script = "//third_party/dart/runtime/tools/bin_to_assembly.py" args = [ "--input", rebase_path(invoker.input), @@ -293,7 +293,7 @@ template("concatenate_patch") { libsources = invoker.libsources inputs = [] output = invoker.output - script = "//dart/runtime/tools/concatenate_patches.py" + script = "//third_party/dart/runtime/tools/concatenate_patches.py" args = [ "--output", rebase_path(output, root_build_dir), @@ -322,7 +322,7 @@ template("generate_vm_patched_sdk") { # libraries. generate_patched_sdk(target_name) { mode = "flutter" - deps = concatenation_target_names + ["//dart/runtime/vm:kernel_platform_files"] + deps = concatenation_target_names + ["//third_party/dart/runtime/vm:kernel_platform_files"] input_patches_dir = "$target_gen_dir/patches" patched_sdk_dir = "flutter_patched_sdk" outputs = [ @@ -336,63 +336,63 @@ generate_vm_patched_sdk("flutter_patched_sdk") { [ "async", async_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "collection", collection_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "convert", convert_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "core", core_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "developer", developer_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "internal", internal_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "io", io_runtime_sources, - "//dart/runtime/bin", + "//third_party/dart/runtime/bin", ], [ "isolate", isolate_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "math", math_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "mirrors", mirrors_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], [ "typed_data", typed_data_runtime_sources, - "//dart/runtime/lib", + "//third_party/dart/runtime/lib", ], ] } action("compile_platform") { - script = "//dart/tools/compile_platform.py" + script = "//third_party/dart/tools/compile_platform.py" sources = [ "$root_out_dir/flutter_patched_sdk/lib/libraries.json", diff --git a/engine/src/flutter/lib/ui/BUILD.gn b/engine/src/flutter/lib/ui/BUILD.gn index db536aace7..7d581bb907 100644 --- a/engine/src/flutter/lib/ui/BUILD.gn +++ b/engine/src/flutter/lib/ui/BUILD.gn @@ -90,7 +90,7 @@ source_set("ui") { ] deps = [ - "//dart/runtime/bin:embedded_dart_io", + "//third_party/dart/runtime/bin:embedded_dart_io", "$flutter_root/assets", "$flutter_root/common", "$flutter_root/flow", diff --git a/engine/src/flutter/lib/ui/dart_runtime_hooks.cc b/engine/src/flutter/lib/ui/dart_runtime_hooks.cc index 15663132c2..2339297abe 100644 --- a/engine/src/flutter/lib/ui/dart_runtime_hooks.cc +++ b/engine/src/flutter/lib/ui/dart_runtime_hooks.cc @@ -8,9 +8,6 @@ #include #include -#include "dart/runtime/bin/embedded_dart_io.h" -#include "dart/runtime/include/dart_api.h" -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/settings.h" #include "lib/fxl/build_config.h" #include "lib/fxl/logging.h" @@ -22,6 +19,9 @@ #include "lib/tonic/logging/dart_invoke.h" #include "lib/tonic/scopes/dart_api_scope.h" #include "lib/tonic/scopes/dart_isolate_scope.h" +#include "third_party/dart/runtime/bin/embedded_dart_io.h" +#include "third_party/dart/runtime/include/dart_api.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" #if defined(OS_ANDROID) #include diff --git a/engine/src/flutter/lib/ui/dart_runtime_hooks.h b/engine/src/flutter/lib/ui/dart_runtime_hooks.h index 506665c1e6..cb5d167929 100644 --- a/engine/src/flutter/lib/ui/dart_runtime_hooks.h +++ b/engine/src/flutter/lib/ui/dart_runtime_hooks.h @@ -5,9 +5,9 @@ #ifndef FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_ #define FLUTTER_LIB_UI_DART_RUNTIME_HOOKS_H_ -#include "dart/runtime/include/dart_api.h" #include "lib/fxl/macros.h" #include "lib/tonic/dart_library_natives.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace blink { diff --git a/engine/src/flutter/lib/ui/painting/rrect.h b/engine/src/flutter/lib/ui/painting/rrect.h index e7530c1702..54cf8f7c1a 100644 --- a/engine/src/flutter/lib/ui/painting/rrect.h +++ b/engine/src/flutter/lib/ui/painting/rrect.h @@ -5,8 +5,8 @@ #ifndef FLUTTER_LIB_UI_PAINTING_RRECT_H_ #define FLUTTER_LIB_UI_PAINTING_RRECT_H_ -#include "dart/runtime/include/dart_api.h" #include "lib/tonic/converter/dart_converter.h" +#include "third_party/dart/runtime/include/dart_api.h" #include "third_party/skia/include/core/SkRRect.h" namespace blink { diff --git a/engine/src/flutter/lib/ui/text/text_box.h b/engine/src/flutter/lib/ui/text/text_box.h index ddbb039da0..371ae32ea8 100644 --- a/engine/src/flutter/lib/ui/text/text_box.h +++ b/engine/src/flutter/lib/ui/text/text_box.h @@ -5,9 +5,9 @@ #ifndef FLUTTER_LIB_UI_TEXT_TEXT_BOX_H_ #define FLUTTER_LIB_UI_TEXT_TEXT_BOX_H_ -#include "dart/runtime/include/dart_api.h" #include "flutter/sky/engine/platform/text/TextBox.h" #include "lib/tonic/converter/dart_converter.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace tonic { diff --git a/engine/src/flutter/lib/ui/ui_dart_state.h b/engine/src/flutter/lib/ui/ui_dart_state.h index c863387f7d..3659c01cd6 100644 --- a/engine/src/flutter/lib/ui/ui_dart_state.h +++ b/engine/src/flutter/lib/ui/ui_dart_state.h @@ -7,11 +7,11 @@ #include -#include "dart/runtime/include/dart_api.h" #include "flutter/sky/engine/wtf/RefPtr.h" #include "lib/fxl/build_config.h" #include "lib/tonic/dart_persistent_value.h" #include "lib/tonic/dart_state.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace blink { class FontSelector; diff --git a/engine/src/flutter/runtime/BUILD.gn b/engine/src/flutter/runtime/BUILD.gn index 90d23f5b0f..dea8a8906d 100644 --- a/engine/src/flutter/runtime/BUILD.gn +++ b/engine/src/flutter/runtime/BUILD.gn @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//dart/runtime/bin/vmservice/vmservice_sources.gni") +import("//third_party/dart/runtime/bin/vmservice/vmservice_sources.gni") import("$flutter_root/common/config.gni") action("gen_embedded_resources_cc") { - script = "//dart/runtime/tools/create_resources.py" + script = "//third_party/dart/runtime/tools/create_resources.py" output_file = "$target_gen_dir/embedded_resources.cc" outputs = [ output_file, @@ -14,7 +14,7 @@ action("gen_embedded_resources_cc") { inputs = rebase_path(vmservice_sources, "", - "//dart/runtime/bin/vmservice") + "//third_party/dart/runtime/bin/vmservice") args = [ "--output", @@ -26,7 +26,7 @@ action("gen_embedded_resources_cc") { "--table_name", "flutter_embedded_service_isolate", "--root_prefix", - rebase_path("//dart/runtime/bin/"), + rebase_path("//third_party/dart/runtime/bin/"), ] + rebase_path(inputs) } @@ -92,8 +92,8 @@ source_set("runtime") { deps = [ ":embedded_resources_cc", ":test_font", - "//dart/runtime:dart_api", - "//dart/runtime/bin:embedded_dart_io", + "//third_party/dart/runtime:dart_api", + "//third_party/dart/runtime/bin:embedded_dart_io", "$flutter_root/assets", "$flutter_root/common", "$flutter_root/flow", diff --git a/engine/src/flutter/runtime/dart_controller.cc b/engine/src/flutter/runtime/dart_controller.cc index 612be3f516..319a670b0b 100644 --- a/engine/src/flutter/runtime/dart_controller.cc +++ b/engine/src/flutter/runtime/dart_controller.cc @@ -6,7 +6,6 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/settings.h" #include "flutter/common/threads.h" #include "flutter/glue/trace_event.h" @@ -27,6 +26,7 @@ #include "lib/tonic/logging/dart_invoke.h" #include "lib/tonic/scopes/dart_api_scope.h" #include "lib/tonic/scopes/dart_isolate_scope.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" using tonic::LogIfError; using tonic::ToDart; diff --git a/engine/src/flutter/runtime/dart_controller.h b/engine/src/flutter/runtime/dart_controller.h index b13fddf53a..bc75eddc15 100644 --- a/engine/src/flutter/runtime/dart_controller.h +++ b/engine/src/flutter/runtime/dart_controller.h @@ -8,9 +8,9 @@ #include #include -#include "dart/runtime/include/dart_api.h" #include "lib/fxl/macros.h" #include "lib/tonic/logging/dart_error.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace blink { class UIDartState; diff --git a/engine/src/flutter/runtime/dart_init.cc b/engine/src/flutter/runtime/dart_init.cc index b87475515a..e7128e877b 100644 --- a/engine/src/flutter/runtime/dart_init.cc +++ b/engine/src/flutter/runtime/dart_init.cc @@ -14,8 +14,6 @@ #include #include -#include "dart/runtime/bin/embedded_dart_io.h" -#include "dart/runtime/include/dart_mirrors_api.h" #include "flutter/assets/unzipper_provider.h" #include "flutter/assets/zip_asset_store.h" #include "flutter/common/settings.h" @@ -42,6 +40,8 @@ #include "lib/tonic/scopes/dart_api_scope.h" #include "lib/tonic/scopes/dart_isolate_scope.h" #include "lib/tonic/typed_data/uint8_list.h" +#include "third_party/dart/runtime/bin/embedded_dart_io.h" +#include "third_party/dart/runtime/include/dart_mirrors_api.h" using tonic::DartClassProvider; using tonic::LogIfError; @@ -53,8 +53,9 @@ namespace observatory { #if FLUTTER_RUNTIME_MODE != FLUTTER_RUNTIME_MODE_RELEASE // These two symbols are defined in |observatory_archive.cc| which is generated -// by the |//dart/runtime/observatory:archive_observatory| rule. Both of these -// symbols will be part of the data segment and therefore are read only. +// by the |//third_party/dart/runtime/observatory:archive_observatory| rule. +// Both of these symbols will be part of the data segment and therefore are read +// only. extern unsigned int observatory_assets_archive_len; extern const uint8_t* observatory_assets_archive; diff --git a/engine/src/flutter/runtime/dart_init.h b/engine/src/flutter/runtime/dart_init.h index 5886e470f9..32a0a8b002 100644 --- a/engine/src/flutter/runtime/dart_init.h +++ b/engine/src/flutter/runtime/dart_init.h @@ -5,9 +5,9 @@ #ifndef FLUTTER_RUNTIME_DART_INIT_H_ #define FLUTTER_RUNTIME_DART_INIT_H_ -#include "dart/runtime/include/dart_api.h" #include "lib/fxl/build_config.h" #include "lib/fxl/functional/closure.h" +#include "third_party/dart/runtime/include/dart_api.h" #include #include diff --git a/engine/src/flutter/runtime/dart_service_isolate.cc b/engine/src/flutter/runtime/dart_service_isolate.cc index 16fae732be..0e37414fd3 100644 --- a/engine/src/flutter/runtime/dart_service_isolate.cc +++ b/engine/src/flutter/runtime/dart_service_isolate.cc @@ -6,12 +6,12 @@ #include -#include "dart/runtime/include/dart_api.h" #include "flutter/runtime/embedder_resources.h" #include "lib/fxl/logging.h" #include "lib/tonic/converter/dart_converter.h" #include "lib/tonic/dart_library_natives.h" #include "lib/tonic/logging/dart_error.h" +#include "third_party/dart/runtime/include/dart_api.h" #define RETURN_ERROR_HANDLE(handle) \ if (Dart_IsError(handle)) { \ diff --git a/engine/src/flutter/runtime/dart_service_isolate.h b/engine/src/flutter/runtime/dart_service_isolate.h index b820ab6487..26ee1ee52d 100644 --- a/engine/src/flutter/runtime/dart_service_isolate.h +++ b/engine/src/flutter/runtime/dart_service_isolate.h @@ -7,7 +7,7 @@ #include -#include "dart/runtime/include/dart_api.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace blink { diff --git a/engine/src/flutter/runtime/runtime_delegate.h b/engine/src/flutter/runtime/runtime_delegate.h index c3324bbd02..2fb741a3f5 100644 --- a/engine/src/flutter/runtime/runtime_delegate.h +++ b/engine/src/flutter/runtime/runtime_delegate.h @@ -8,10 +8,10 @@ #include #include -#include "dart/runtime/include/dart_api.h" #include "flutter/flow/layers/layer_tree.h" #include "flutter/lib/ui/semantics/semantics_node.h" #include "flutter/lib/ui/window/platform_message.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace blink { diff --git a/engine/src/flutter/shell/common/BUILD.gn b/engine/src/flutter/shell/common/BUILD.gn index aa7fd534d9..ad23fe9e3c 100644 --- a/engine/src/flutter/shell/common/BUILD.gn +++ b/engine/src/flutter/shell/common/BUILD.gn @@ -14,7 +14,7 @@ # List datadeps template("dart_embedder_resources") { action(target_name) { - script = "//dart/runtime/tools/create_resources.py" + script = "//third_party/dart/runtime/tools/create_resources.py" deps = [] if (defined(invoker.deps)) { deps += invoker.deps @@ -101,8 +101,8 @@ source_set("common") { deps = [ ":generate_embedder_diagnostic_server_resources_cc", - "//dart/runtime:dart_api", - "//dart/runtime/platform:libdart_platform", + "//third_party/dart/runtime:dart_api", + "//third_party/dart/runtime/platform:libdart_platform", "$flutter_root/assets", "$flutter_root/common", "$flutter_root/flow", diff --git a/engine/src/flutter/shell/common/animator.cc b/engine/src/flutter/shell/common/animator.cc index 84b9b6c4f9..2602ae7b84 100644 --- a/engine/src/flutter/shell/common/animator.cc +++ b/engine/src/flutter/shell/common/animator.cc @@ -4,10 +4,10 @@ #include "flutter/shell/common/animator.h" -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/threads.h" #include "flutter/fml/trace_event.h" #include "lib/fxl/time/stopwatch.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" namespace shell { diff --git a/engine/src/flutter/shell/common/diagnostic/diagnostic_server.cc b/engine/src/flutter/shell/common/diagnostic/diagnostic_server.cc index a064e516ce..6e72ab87db 100644 --- a/engine/src/flutter/shell/common/diagnostic/diagnostic_server.cc +++ b/engine/src/flutter/shell/common/diagnostic/diagnostic_server.cc @@ -4,8 +4,6 @@ #include "flutter/shell/common/diagnostic/diagnostic_server.h" -#include "dart/runtime/include/dart_api.h" -#include "dart/runtime/include/dart_native_api.h" #include "flutter/common/threads.h" #include "flutter/flow/compositor_context.h" #include "flutter/runtime/embedder_resources.h" @@ -17,6 +15,8 @@ #include "lib/tonic/dart_binding_macros.h" #include "lib/tonic/dart_library_natives.h" #include "lib/tonic/logging/dart_invoke.h" +#include "third_party/dart/runtime/include/dart_api.h" +#include "third_party/dart/runtime/include/dart_native_api.h" #include "third_party/skia/include/core/SkStream.h" namespace flutter { diff --git a/engine/src/flutter/shell/common/diagnostic/diagnostic_server.h b/engine/src/flutter/shell/common/diagnostic/diagnostic_server.h index bd9503abf3..9149d2ea10 100644 --- a/engine/src/flutter/shell/common/diagnostic/diagnostic_server.h +++ b/engine/src/flutter/shell/common/diagnostic/diagnostic_server.h @@ -5,7 +5,7 @@ #ifndef SKY_ENGINE_CORE_DIAGNOSTIC_DIAGNOSTIC_SERVER_H_ #define SKY_ENGINE_CORE_DIAGNOSTIC_DIAGNOSTIC_SERVER_H_ -#include "dart/runtime/include/dart_api.h" +#include "third_party/dart/runtime/include/dart_api.h" namespace shell { diff --git a/engine/src/flutter/shell/common/platform_view_service_protocol.h b/engine/src/flutter/shell/common/platform_view_service_protocol.h index 7119aeb03d..20149abb53 100644 --- a/engine/src/flutter/shell/common/platform_view_service_protocol.h +++ b/engine/src/flutter/shell/common/platform_view_service_protocol.h @@ -7,9 +7,9 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/shell/common/platform_view.h" #include "lib/fxl/synchronization/waitable_event.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" #include "third_party/skia/include/core/SkBitmap.h" namespace shell { diff --git a/engine/src/flutter/shell/common/shell.cc b/engine/src/flutter/shell/common/shell.cc index 1ced6c92c5..1dad8935b0 100644 --- a/engine/src/flutter/shell/common/shell.cc +++ b/engine/src/flutter/shell/common/shell.cc @@ -9,7 +9,6 @@ #include #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/settings.h" #include "flutter/common/threads.h" #include "flutter/fml/icu_util.h" @@ -22,6 +21,7 @@ #include "flutter/shell/common/skia_event_tracer_impl.h" #include "flutter/shell/common/switches.h" #include "lib/fxl/files/unique_fd.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" #include "third_party/skia/include/core/SkGraphics.h" namespace shell { diff --git a/engine/src/flutter/shell/common/skia_event_tracer_impl.cc b/engine/src/flutter/shell/common/skia_event_tracer_impl.cc index 79f468e6d8..62aad0a5f9 100644 --- a/engine/src/flutter/shell/common/skia_event_tracer_impl.cc +++ b/engine/src/flutter/shell/common/skia_event_tracer_impl.cc @@ -9,8 +9,8 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "lib/fxl/logging.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" #include "third_party/skia/include/utils/SkEventTracer.h" #include "third_party/skia/src/core/SkTraceEventCommon.h" diff --git a/engine/src/flutter/shell/common/tracing_controller.cc b/engine/src/flutter/shell/common/tracing_controller.cc index 0a78f7c1f3..6fa8d9d5ee 100644 --- a/engine/src/flutter/shell/common/tracing_controller.cc +++ b/engine/src/flutter/shell/common/tracing_controller.cc @@ -6,12 +6,12 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/threads.h" #include "flutter/fml/trace_event.h" #include "flutter/runtime/dart_init.h" #include "flutter/shell/common/shell.h" #include "lib/fxl/logging.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" namespace shell { diff --git a/engine/src/flutter/shell/platform/android/BUILD.gn b/engine/src/flutter/shell/platform/android/BUILD.gn index 517b2a5e4a..e1f7262b29 100644 --- a/engine/src/flutter/shell/platform/android/BUILD.gn +++ b/engine/src/flutter/shell/platform/android/BUILD.gn @@ -48,9 +48,9 @@ shared_library("flutter_shell_native") { "//third_party/skia", ] if (flutter_runtime_mode == "debug") { - deps += [ "//dart/runtime:libdart_jit" ] + deps += [ "//third_party/dart/runtime:libdart_jit" ] } else { - deps += [ "//dart/runtime:libdart_precompiled_runtime" ] + deps += [ "//third_party/dart/runtime:libdart_precompiled_runtime" ] } public_configs = [ diff --git a/engine/src/flutter/shell/platform/android/flutter_main.cc b/engine/src/flutter/shell/platform/android/flutter_main.cc index 66200380d8..5dde3e0e60 100644 --- a/engine/src/flutter/shell/platform/android/flutter_main.cc +++ b/engine/src/flutter/shell/platform/android/flutter_main.cc @@ -6,13 +6,13 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/fml/platform/android/jni_util.h" #include "flutter/runtime/start_up.h" #include "flutter/shell/common/shell.h" #include "lib/fxl/arraysize.h" #include "lib/fxl/command_line.h" #include "lib/fxl/macros.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" namespace shell { diff --git a/engine/src/flutter/shell/platform/darwin/BUILD.gn b/engine/src/flutter/shell/platform/darwin/BUILD.gn index 2a998e873f..c971c443bc 100644 --- a/engine/src/flutter/shell/platform/darwin/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/BUILD.gn @@ -68,7 +68,7 @@ executable("flutter_channels_unittests") { deps = [ ":flutter_channels", - "//dart/runtime:libdart_jit", + "//third_party/dart/runtime:libdart_jit", "$flutter_root/testing", ] } diff --git a/engine/src/flutter/shell/platform/darwin/common/BUILD.gn b/engine/src/flutter/shell/platform/darwin/common/BUILD.gn index e7fd3c2328..e6fa86366b 100644 --- a/engine/src/flutter/shell/platform/darwin/common/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/common/BUILD.gn @@ -17,7 +17,7 @@ source_set("common") { set_sources_assignment_filter(sources_assignment_filter) deps = [ - "//dart/runtime:dart_api", + "//third_party/dart/runtime:dart_api", "$flutter_root/common", "$flutter_root/flow", "$flutter_root/fml", diff --git a/engine/src/flutter/shell/platform/darwin/common/platform_mac.mm b/engine/src/flutter/shell/platform/darwin/common/platform_mac.mm index 622c18238d..f0671955d4 100644 --- a/engine/src/flutter/shell/platform/darwin/common/platform_mac.mm +++ b/engine/src/flutter/shell/platform/darwin/common/platform_mac.mm @@ -6,7 +6,6 @@ #include -#include "dart/runtime/include/dart_tools_api.h" #include "flutter/common/threads.h" #include "flutter/fml/trace_event.h" #include "flutter/runtime/start_up.h" @@ -16,6 +15,7 @@ #include "flutter/sky/engine/wtf/MakeUnique.h" #include "lib/fxl/command_line.h" #include "lib/fxl/strings/string_view.h" +#include "third_party/dart/runtime/include/dart_tools_api.h" namespace shell { diff --git a/engine/src/flutter/shell/platform/darwin/desktop/BUILD.gn b/engine/src/flutter/shell/platform/darwin/desktop/BUILD.gn index ce56ba4d13..be21372c51 100644 --- a/engine/src/flutter/shell/platform/darwin/desktop/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/desktop/BUILD.gn @@ -22,7 +22,7 @@ source_set("mac_desktop_platform") { ] deps = [ - "//dart/runtime:libdart_jit", + "//third_party/dart/runtime:libdart_jit", "$flutter_root/common", "$flutter_root/fml", "$flutter_root/shell/common", diff --git a/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn b/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn index a0793fc6f6..5796d55d69 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn +++ b/engine/src/flutter/shell/platform/darwin/ios/BUILD.gn @@ -79,9 +79,9 @@ shared_library("flutter_framework_dylib") { "//third_party/skia", ] if (flutter_runtime_mode == "debug") { - deps += [ "//dart/runtime:libdart_jit" ] + deps += [ "//third_party/dart/runtime:libdart_jit" ] } else { - deps += [ "//dart/runtime:libdart_precompiled_runtime" ] + deps += [ "//third_party/dart/runtime:libdart_precompiled_runtime" ] } public_configs = [ diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterDartProject.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterDartProject.mm index a3230beb32..1da486d9b7 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterDartProject.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterDartProject.mm @@ -4,13 +4,13 @@ #include "flutter/shell/platform/darwin/ios/framework/Source/FlutterDartProject_Internal.h" -#include "dart/runtime/include/dart_api.h" #include "flutter/common/threads.h" #include "flutter/shell/common/shell.h" #include "flutter/shell/common/switches.h" #include "flutter/shell/platform/darwin/ios/framework/Source/FlutterDartSource.h" #include "flutter/shell/platform/darwin/ios/framework/Source/flutter_main_ios.h" #include "lib/fxl/strings/string_view.h" +#include "third_party/dart/runtime/include/dart_api.h" static NSURL* URLForSwitch(const fxl::StringView name) { const auto& cmd = shell::Shell::Shared().GetCommandLine(); diff --git a/engine/src/flutter/shell/platform/embedder/BUILD.gn b/engine/src/flutter/shell/platform/embedder/BUILD.gn index d58740f628..bfe5c7a9ad 100644 --- a/engine/src/flutter/shell/platform/embedder/BUILD.gn +++ b/engine/src/flutter/shell/platform/embedder/BUILD.gn @@ -12,8 +12,8 @@ source_set("embedder") { ] deps = [ - "//dart/runtime:libdart_jit", - "//dart/runtime/bin:embedded_dart_io", + "//third_party/dart/runtime:libdart_jit", + "//third_party/dart/runtime/bin:embedded_dart_io", "$flutter_root/common", "$flutter_root/fml", "$flutter_root/shell/common", diff --git a/engine/src/flutter/shell/platform/linux/BUILD.gn b/engine/src/flutter/shell/platform/linux/BUILD.gn index c00053f8e5..6e9f1f596b 100644 --- a/engine/src/flutter/shell/platform/linux/BUILD.gn +++ b/engine/src/flutter/shell/platform/linux/BUILD.gn @@ -10,8 +10,8 @@ executable("linux") { ] deps = [ - "//dart/runtime:libdart_jit", - "//dart/runtime/bin:embedded_dart_io", + "//third_party/dart/runtime:libdart_jit", + "//third_party/dart/runtime/bin:embedded_dart_io", "$flutter_root/common", "$flutter_root/fml", "$flutter_root/shell/common", diff --git a/engine/src/flutter/shell/platform/linux/main_linux.cc b/engine/src/flutter/shell/platform/linux/main_linux.cc index e559f60fe1..dba837bf70 100644 --- a/engine/src/flutter/shell/platform/linux/main_linux.cc +++ b/engine/src/flutter/shell/platform/linux/main_linux.cc @@ -2,7 +2,6 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "dart/runtime/bin/embedded_dart_io.h" #include "flutter/common/threads.h" #include "flutter/fml/message_loop.h" #include "flutter/shell/common/platform_view.h" @@ -13,6 +12,7 @@ #include "flutter/sky/engine/public/web/Sky.h" #include "lib/fxl/command_line.h" #include "lib/tonic/dart_microtask_queue.h" +#include "third_party/dart/runtime/bin/embedded_dart_io.h" namespace { diff --git a/engine/src/flutter/sky/packages/sky_engine/BUILD.gn b/engine/src/flutter/sky/packages/sky_engine/BUILD.gn index b2c91bb3fd..8fa76c965e 100644 --- a/engine/src/flutter/sky/packages/sky_engine/BUILD.gn +++ b/engine/src/flutter/sky/packages/sky_engine/BUILD.gn @@ -2,17 +2,17 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import("//dart/sdk/lib/async/async_sources.gni") -import("//dart/sdk/lib/collection/collection_sources.gni") -import("//dart/sdk/lib/convert/convert_sources.gni") -import("//dart/sdk/lib/core/core_sources.gni") -import("//dart/sdk/lib/developer/developer_sources.gni") -import("//dart/sdk/lib/_http/http_sources.gni") -import("//dart/sdk/lib/internal/internal_sources.gni") -import("//dart/sdk/lib/io/io_sources.gni") -import("//dart/sdk/lib/isolate/isolate_sources.gni") -import("//dart/sdk/lib/math/math_sources.gni") -import("//dart/sdk/lib/typed_data/typed_data_sources.gni") +import("//third_party/dart/sdk/lib/async/async_sources.gni") +import("//third_party/dart/sdk/lib/collection/collection_sources.gni") +import("//third_party/dart/sdk/lib/convert/convert_sources.gni") +import("//third_party/dart/sdk/lib/core/core_sources.gni") +import("//third_party/dart/sdk/lib/developer/developer_sources.gni") +import("//third_party/dart/sdk/lib/_http/http_sources.gni") +import("//third_party/dart/sdk/lib/internal/internal_sources.gni") +import("//third_party/dart/sdk/lib/io/io_sources.gni") +import("//third_party/dart/sdk/lib/isolate/isolate_sources.gni") +import("//third_party/dart/sdk/lib/math/math_sources.gni") +import("//third_party/dart/sdk/lib/typed_data/typed_data_sources.gni") import("$flutter_root/build/dart/rules.gni") import("$flutter_root/lib/ui/dart_ui.gni") @@ -31,7 +31,7 @@ if (!is_fuchsia) { } -dart_sdk_lib_path = rebase_path("//dart/sdk/lib") +dart_sdk_lib_path = rebase_path("//third_party/dart/sdk/lib") copy("async") { lib_path = rebase_path("async", "", dart_sdk_lib_path) @@ -143,7 +143,7 @@ dart_pkg("sky_engine") { deps += [ ":copy_sky_engine_authors" ] } - service_isolate_dir = "//dart/runtime/bin/vmservice" + service_isolate_dir = "//third_party/dart/runtime/bin/vmservice" sdk_ext_directory = "$root_gen_dir/sky/bindings" sdk_ext_files = [ "$service_isolate_dir/vmservice_io.dart", diff --git a/engine/src/flutter/synchronization/BUILD.gn b/engine/src/flutter/synchronization/BUILD.gn index 1615e3b236..977a571c8d 100644 --- a/engine/src/flutter/synchronization/BUILD.gn +++ b/engine/src/flutter/synchronization/BUILD.gn @@ -31,6 +31,6 @@ executable("synchronization_unittests") { deps = [ ":synchronization", "$flutter_root/testing", - "//dart/runtime:libdart_jit", + "//third_party/dart/runtime:libdart_jit", ] } diff --git a/engine/src/flutter/third_party/txt/BUILD.gn b/engine/src/flutter/third_party/txt/BUILD.gn index 88b2354cf7..a4bc85fdf2 100644 --- a/engine/src/flutter/third_party/txt/BUILD.gn +++ b/engine/src/flutter/third_party/txt/BUILD.gn @@ -127,7 +127,7 @@ source_set("txt") { } txt_common_executable_deps = [ - "//dart/runtime:libdart_jit", # For logging. + "//third_party/dart/runtime:libdart_jit", # For logging. "$flutter_root/fml", # For ICU initialization. ] diff --git a/engine/src/flutter/tools/licenses/lib/main.dart b/engine/src/flutter/tools/licenses/lib/main.dart index c9d0354845..d30fff6863 100644 --- a/engine/src/flutter/tools/licenses/lib/main.dart +++ b/engine/src/flutter/tools/licenses/lib/main.dart @@ -1891,6 +1891,8 @@ class RepositoryRootThirdPartyDirectory extends RepositoryGenericThirdPartyDirec return new RepositoryAndroidPlatformDirectory(this, entry); if (entry.name == 'boringssl') return new RepositoryBoringSSLDirectory(this, entry); + if (entry.name == 'dart') + return new RepositoryDartDirectory(this, entry); if (entry.name == 'expat') return new RepositoryExpatDirectory(this, entry); if (entry.name == 'freetype-android') @@ -2241,8 +2243,6 @@ class RepositoryRoot extends RepositoryDirectory { throw '//base is no longer part of this client: remove it'; if (entry.name == 'third_party') return new RepositoryRootThirdPartyDirectory(this, entry); - if (entry.name == 'dart') - return new RepositoryDartDirectory(this, entry); if (entry.name == 'flutter') return new RepositoryFlutterDirectory(this, entry); if (entry.name == 'garnet')