blob: 7d7f0c202769418f2c2413a28df1f20f1ad5a807 [file] [log] [blame]
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/build/dart/dart.gni")
import("//flutter/common/config.gni")
copy("frontend_server") {
if (flutter_prebuilt_dart_sdk) {
snapshot = "$host_prebuilt_dart_sdk/bin/snapshots/frontend_server_aot.dart.snapshot"
} else {
deps = [ "$dart_src/utils/kernel-service:frontend_server_aot" ]
snapshot = "$root_out_dir/frontend_server_aot.dart.snapshot"
}
sources = [ snapshot ]
outputs = [ "$root_gen_dir/frontend_server_aot.dart.snapshot" ]
}