blob: 1966d587dc49c2d1e8c7c820786d1bd06a7db816 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
executable("sky_snapshot") {
sources = [
"main.cc",
]
deps = [
"//dart/runtime:libdart",
"//dart/runtime/vm:libdart_platform",
"//lib/ftl",
"//lib/tonic/converter",
"//lib/tonic/file_loader",
"//flutter/sky/engine/bindings:snapshot_cc",
]
if (!is_ios && !is_mac) {
ldflags = [
# libgcc_s is not a DT_NEEDED library; it normally gets loaded implicitly.
# This flag ensures that rpath is referenced when searching for
# the so, which in turn gets the resulting sky_snapshot binary
# closer to being able to run in Google's production environment.
"-lgcc_s",
]
}
}