blob: 28aacee333df1b663be70e99b74bccb4a9e69604 [file]
# 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" ]
metadata = {
without_entitlement_file_path = [ "frontend_server_aot.dart.snapshot" ]
}
}