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

Refactor web configuration/ Add dartdevc #7978

Merged
merged 16 commits into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# found in the LICENSE file.

import("$flutter_root/common/config.gni")
import("//third_party/dart/build/dart/dart_action.gni")

group("flutter") {
testonly = true
Expand All @@ -24,7 +23,7 @@ group("flutter") {
public_deps += [
"$flutter_root/frontend_server",
"//third_party/dart:create_sdk",
"$flutter_root/lib/stub_ui:stub_ui",
"$flutter_root/web_sdk",
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion ci/licenses_golden/licenses_flutter
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ FILE: ../../../flutter/lib/stub_ui/hash_codes.dart
FILE: ../../../flutter/lib/stub_ui/hooks.dart
FILE: ../../../flutter/lib/stub_ui/isolate_name_server.dart
FILE: ../../../flutter/lib/stub_ui/lerp.dart
FILE: ../../../flutter/lib/stub_ui/libraries.json
FILE: ../../../flutter/lib/stub_ui/natives.dart
FILE: ../../../flutter/lib/stub_ui/painting.dart
FILE: ../../../flutter/lib/stub_ui/plugins.dart
Expand Down Expand Up @@ -704,6 +703,7 @@ FILE: ../../../flutter/vulkan/vulkan_utilities.cc
FILE: ../../../flutter/vulkan/vulkan_utilities.h
FILE: ../../../flutter/vulkan/vulkan_window.cc
FILE: ../../../flutter/vulkan/vulkan_window.h
FILE: ../../../flutter/web_sdk/libraries.json
----------------------------------------------------------------------------------------------------
Copyright 2013 The Flutter Authors. All rights reserved.

Expand Down
117 changes: 0 additions & 117 deletions lib/snapshot/libraries.json
Original file line number Diff line number Diff line change
@@ -1,123 +1,6 @@
{
"comment:0": "NOTE: THIS FILE IS GENERATED. DO NOT EDIT.",
"comment:1": "Instead modify 'flutter/lib/snapshot/libraries.yaml' and follow the instructions therein.",
"none": {
"libraries": {}
},
"dartdevc": {
"libraries": {
"async": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/async_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/async/async.dart"
},
"_runtime": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart"
},
"_interceptors": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/interceptors.dart"
},
"mirrors": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/mirrors_patch.dart",
"supported": false,
"uri": "../../../third_party/dart/sdk/lib/mirrors/mirrors.dart"
},
"_debugger": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/debugger.dart"
},
"io": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart",
"supported": false,
"uri": "../../../third_party/dart/sdk/lib/io/io.dart"
},
"_internal": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/internal/internal.dart"
},
"_metadata": {
"uri": "../../../third_party/dart/sdk/lib/html/html_common/metadata.dart"
},
"_http": {
"uri": "../../../third_party/dart/sdk/lib/_http/http.dart"
},
"_js_primitives": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_primitives.dart"
},
"_js_helper": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart"
},
"ui": {
"uri": "flutter/lib/stub_ui/ui.dart"
},
"js": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart"
},
"_js_mirrors": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart"
},
"html_common": {
"uri": "../../../third_party/dart/sdk/lib/html/html_common/html_common_dart2js.dart"
},
"_native_typed_data": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart"
},
"core": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/core/core.dart"
},
"js_util": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/lib/js_util/dart2js/js_util_dart2js.dart"
},
"collection": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/collection_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/collection/collection.dart"
},
"typed_data": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/typed_data_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/typed_data/typed_data.dart"
},
"web_audio": {
"uri": "../../../third_party/dart/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart"
},
"html": {
"uri": "../../../third_party/dart/sdk/lib/html/dart2js/html_dart2js.dart"
},
"developer": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/developer_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/developer/developer.dart"
},
"isolate": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/isolate_patch.dart",
"supported": false,
"uri": "../../../third_party/dart/sdk/lib/isolate/isolate.dart"
},
"web_gl": {
"uri": "../../../third_party/dart/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart"
},
"indexed_db": {
"uri": "../../../third_party/dart/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart"
},
"convert": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/convert_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/convert/convert.dart"
},
"_isolate_helper": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/isolate_helper.dart"
},
"math": {
"patches": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart",
"uri": "../../../third_party/dart/sdk/lib/math/math.dart"
},
"_foreign_helper": {
"uri": "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/foreign_helper.dart"
},
"web_sql": {
"uri": "../../../third_party/dart/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart"
},
"svg": {
"uri": "../../../third_party/dart/sdk/lib/svg/dart2js/svg_dart2js.dart"
}
}
},
"flutter": {
"libraries": {
"_builtin": {
Expand Down
115 changes: 0 additions & 115 deletions lib/snapshot/libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# changing libraries, sources, and patch files. See
# https://github.com/dart-lang/sdk/issues/28836.

none:
libraries: {}

flutter:
libraries:
_builtin:
Expand Down Expand Up @@ -150,115 +147,3 @@ flutter:

vmservice_io:
uri: "../../../third_party/dart/runtime/bin/vmservice/vmservice_io.dart"

dartdevc:
libraries:
_runtime:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart"

_debugger:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/debugger.dart"

_foreign_helper:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/foreign_helper.dart"

_http:
uri: "../../../third_party/dart/sdk/lib/_http/http.dart"

_interceptors:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/interceptors.dart"

_internal:
uri: "../../../third_party/dart/sdk/lib/internal/internal.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart"

_isolate_helper:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/isolate_helper.dart"

_js_helper:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart"

_js_mirrors:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart"

_js_primitives:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/js_primitives.dart"

_metadata:
uri: "../../../third_party/dart/sdk/lib/html/html_common/metadata.dart"

_native_typed_data:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart"

async:
uri: "../../../third_party/dart/sdk/lib/async/async.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/async_patch.dart"

collection:
uri: "../../../third_party/dart/sdk/lib/collection/collection.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/collection_patch.dart"

convert:
uri: "../../../third_party/dart/sdk/lib/convert/convert.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/convert_patch.dart"

core:
uri: "../../../third_party/dart/sdk/lib/core/core.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart"

developer:
uri: "../../../third_party/dart/sdk/lib/developer/developer.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/developer_patch.dart"

io:
uri: "../../../third_party/dart/sdk/lib/io/io.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart"
supported: false

isolate:
uri: "../../../third_party/dart/sdk/lib/isolate/isolate.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/isolate_patch.dart"
supported: false

mirrors:
uri: "../../../third_party/dart/sdk/lib/mirrors/mirrors.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/mirrors_patch.dart"
supported: false

math:
uri: "../../../third_party/dart/sdk/lib/math/math.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/math_patch.dart"

typed_data:
uri: "../../../third_party/dart/sdk/lib/typed_data/typed_data.dart"
patches: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/patch/typed_data_patch.dart"

html:
uri: "../../../third_party/dart/sdk/lib/html/dart2js/html_dart2js.dart"

html_common:
uri: "../../../third_party/dart/sdk/lib/html/html_common/html_common_dart2js.dart"

indexed_db:
uri: "../../../third_party/dart/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart"

js:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/lib/js/dart2js/js_dart2js.dart"

js_util:
uri: "../../../third_party/dart/pkg/dev_compiler/tool/input_sdk/lib/js_util/dart2js/js_util_dart2js.dart"

svg:
uri: "../../../third_party/dart/sdk/lib/svg/dart2js/svg_dart2js.dart"

web_audio:
uri: "../../../third_party/dart/sdk/lib/web_audio/dart2js/web_audio_dart2js.dart"

web_gl:
uri: "../../../third_party/dart/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart"

web_sql:
uri: "../../../third_party/dart/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart"

ui:
uri: "flutter/lib/stub_ui/ui.dart"
41 changes: 0 additions & 41 deletions lib/stub_ui/BUILD.gn

This file was deleted.

Loading