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:
Adam Barth
2016-08-10 16:56:41 -07:00
committed by GitHub
parent 1ebcc38580
commit 32e9cda6a1
4 changed files with 3 additions and 4 deletions

View File

@@ -6,8 +6,10 @@ group("flutter") {
testonly = true
deps = [
"//flutter/assets",
"//flutter/flow",
"//flutter/glue",
"//flutter/snapshotter",
]
if (!is_fuchsia) {

View File

@@ -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",

View File

@@ -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

View File

@@ -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