Skip to content

Commit

Permalink
No longer need to use fuchsia_shared_library (flutter#3983)
Browse files Browse the repository at this point in the history
Use $shlib_toolchain to find the shared_library output file.
  • Loading branch information
petrhosek authored Aug 16, 2017
1 parent 1948fef commit b99db89
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/flutter_app.gni
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

assert(is_fuchsia)

import("//build/toolchain/shared.gni")
import("//build/dart/dart_package.gni")
import("//flutter/lib/ui/dart_ui.gni")
import("//apps/mozart/lib/flutter/sdk_ext/sdk_ext.gni")
Expand Down Expand Up @@ -286,7 +285,7 @@ template("flutter_aot_app") {
dylib_label = target_name + "_dylib"

outer_target_name = target_name
fuchsia_shared_library(dylib_label) {
shared_library(dylib_label) {
deps = [
":$assembly_label",
]
Expand All @@ -301,7 +300,7 @@ template("flutter_aot_app") {
}

dylib_path =
get_label_info(":$dylib_label(${target_toolchain}-shared)",
get_label_info(":$dylib_label($shlib_toolchain)",
"root_out_dir") + "/lib.unstripped/lib$target_name.so"

action(target_name) {
Expand Down

0 comments on commit b99db89

Please sign in to comment.