Skip to content

Commit

Permalink
Adjust web_sdk rule deps (flutter#27435)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Jul 15, 2021
1 parent 33c17a1 commit 0bc2479
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions web_sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ group("web_sdk") {
":flutter_dartdevc_kernel_sdk_outline",
":flutter_dartdevc_kernel_sdk_outline_sound",
":flutter_dartdevc_kernel_sdk_sound",
":web_engine_sources",
":web_ui_library",
":web_ui_sources",
]
}

Expand Down Expand Up @@ -114,7 +111,12 @@ template("_dartdevc") {
if (flutter_prebuilt_dart_sdk) {
action(target_name) {
not_needed(invoker, [ "packages" ])
deps = [ "//flutter:dart_sdk" ]
deps = [
":web_engine_sources",
":web_ui_library",
":web_ui_sources",
"//flutter:dart_sdk",
]
script = "//build/gn_run_binary.py"

inputs = invoker.inputs
Expand All @@ -137,6 +139,9 @@ template("_dartdevc") {
forward_variables_from(invoker, "*")

deps = [
":web_engine_sources",
":web_ui_library",
":web_ui_sources",
"//flutter:dart_sdk",
"//third_party/dart/pkg:pkg_files_stamp",
"//third_party/dart/utils/dartdevc:dartdevc_files_stamp",
Expand All @@ -160,7 +165,12 @@ template("_dartdevc") {
template("_kernel_worker") {
if (flutter_prebuilt_dart_sdk) {
action(target_name) {
deps = [ "//flutter:dart_sdk" ]
deps = [
":web_engine_sources",
":web_ui_library",
":web_ui_sources",
"//flutter:dart_sdk",
]
script = "//build/gn_run_binary.py"

inputs = invoker.inputs
Expand All @@ -184,6 +194,9 @@ template("_kernel_worker") {
forward_variables_from(invoker, "*")

deps = [
":web_engine_sources",
":web_ui_library",
":web_ui_sources",
"//flutter:dart_sdk",
"//third_party/dart/pkg:pkg_files_stamp",
"//third_party/dart/utils/dartdevc:dartdevc_files_stamp",
Expand Down

0 comments on commit 0bc2479

Please sign in to comment.