# Copyright 2016 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. import("//build/config/mac/rules.gni") assert(is_mac) source_set("mac_desktop_platform") { visibility = [ ":*" ] sources = [ "flutter_app_delegate.h", "flutter_app_delegate.m", "flutter_application.h", "flutter_application.mm", "flutter_window.h", "flutter_window.mm", "main_mac.mm", "platform_view_mac.h", "platform_view_mac.mm", "vsync_waiter_mac.cc", "vsync_waiter_mac.h", ] deps = [ "//flutter/common", "//flutter/fml", "//flutter/shell/common", "//flutter/shell/gpu", "//flutter/shell/platform/darwin/common", "//flutter/shell/testing", "//flutter/synchronization", "//lib/ftl", "//third_party/skia", ] } executable("shell_standalone") { output_name = "sky_shell" deps = [ ":mac_desktop_platform", ] } resource_copy_mac("mac_desktop_resources") { app_name = "SkyShell" resources = [ "//third_party/icu/android/icudtl.dat" ] bundle_directory = "." } mac_app("shell_application_bundle") { app_name = "SkyShell" info_plist = "Info.plist" xibs = [ "flutter_mac.xib" ] deps = [ ":mac_desktop_platform", ":mac_desktop_resources", ] }