Teach sky_snapshot how to build on Fuchsia (flutter/engine#2907)
Doesn't quite work yet, but close. Fuchsia is on a newer Dart and will need a couple patches before this will fully work.
This commit is contained in:
@@ -6,8 +6,10 @@ group("flutter") {
|
||||
testonly = true
|
||||
|
||||
deps = [
|
||||
"//flutter/assets",
|
||||
"//flutter/flow",
|
||||
"//flutter/glue",
|
||||
"//flutter/snapshotter",
|
||||
]
|
||||
|
||||
if (!is_fuchsia) {
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//mojo/public/mojo_application.gni")
|
||||
|
||||
source_set("assets") {
|
||||
sources = [
|
||||
"directory_asset_bundle.cc",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//mojo/dart/packages/mojo/sdk_ext_sources.gni")
|
||||
import("//flutter/sky/engine/config.gni")
|
||||
|
||||
dart_host_toolchain = host_toolchain
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ executable("snapshotter") {
|
||||
"//lib/tonic/file_loader",
|
||||
]
|
||||
|
||||
if (!is_ios && !is_mac) {
|
||||
if (!is_ios && !is_mac && !is_fuchsia) {
|
||||
ldflags = [
|
||||
# libgcc_s is not a DT_NEEDED library; it normally gets loaded implicitly.
|
||||
# This flag ensures that rpath is referenced when searching for
|
||||
|
||||
Reference in New Issue
Block a user