| OLD | NEW |
| (Empty) |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/chrome_build.gni") | |
| 6 import("//build/config/ios/rules.gni") | |
| 7 import("//build/mac/tweak_info_plist.gni") | |
| 8 import("//build/util/process_version.gni") | |
| 9 import("//remoting/build/config/remoting_build.gni") | |
| 10 | |
| 11 group("all") { | |
| 12 testonly = true | |
| 13 | |
| 14 deps = [ | |
| 15 ":ios_remoting_app", | |
| 16 ] | |
| 17 } | |
| 18 | |
| 19 source_set("main") { | |
| 20 sources = [ | |
| 21 "app_delegate.h", | |
| 22 "app_delegate.mm", | |
| 23 "client_connection_view_controller.h", | |
| 24 "client_connection_view_controller.mm", | |
| 25 "host_collection_view_cell.h", | |
| 26 "host_collection_view_cell.mm", | |
| 27 "host_collection_view_controller.h", | |
| 28 "host_collection_view_controller.mm", | |
| 29 "host_view_controller.h", | |
| 30 "host_view_controller.mm", | |
| 31 "main.mm", | |
| 32 "pin_entry_view.h", | |
| 33 "pin_entry_view.mm", | |
| 34 "remoting_settings_view_controller.h", | |
| 35 "remoting_settings_view_controller.mm", | |
| 36 "remoting_view_controller.h", | |
| 37 "remoting_view_controller.mm", | |
| 38 ] | |
| 39 | |
| 40 deps = [ | |
| 41 "//base", | |
| 42 "//google_apis", | |
| 43 "//remoting/base", | |
| 44 "//remoting/client", | |
| 45 "//remoting/client/ios:ios_core", | |
| 46 "//remoting/protocol", | |
| 47 "//ui/base", | |
| 48 "//ui/gfx", | |
| 49 "//ui/resources", | |
| 50 ] | |
| 51 | |
| 52 public_deps = [ | |
| 53 "//ios/third_party/material_components_ios", | |
| 54 ] | |
| 55 | |
| 56 configs += [ "//build/config/compiler:enable_arc" ] | |
| 57 } | |
| 58 | |
| 59 tweak_info_plist("tweak_info_plist") { | |
| 60 info_plist = "//remoting/client/ios/app/resources/Info.plist" | |
| 61 args = [ "--platform=ios" ] | |
| 62 } | |
| 63 | |
| 64 ios_app_bundle("ios_remoting_app") { | |
| 65 output_name = "$remoting_ios_executable_name" | |
| 66 | |
| 67 entitlements_path = "resources/Remoting.entitlements" | |
| 68 info_plist_target = ":tweak_info_plist" | |
| 69 | |
| 70 extra_substitutions = [ | |
| 71 "BUNDLE_IDENTIFIER=$remoting_ios_bundle_id", | |
| 72 "DISPLAY_NAME=$remoting_ios_display_name", | |
| 73 "EXECUTABLE_NAME=$remoting_ios_executable_name", | |
| 74 "MINIMUM_OS_VERSION=7.0", | |
| 75 "PRODUCT_NAME=$remoting_ios_product_name", | |
| 76 "VERSION_FULL=$remoting_version_full", | |
| 77 "VERSION_SHORT=$remoting_version_short", | |
| 78 ] | |
| 79 | |
| 80 libs = [ | |
| 81 "Accelerate.framework", | |
| 82 "AudioToolbox.framework", | |
| 83 "CoreAudio.framework", | |
| 84 "CoreData.framework", | |
| 85 "CoreMIDI.framework", | |
| 86 "CoreVideo.framework", | |
| 87 "GLKit.framework", | |
| 88 "OpenGLES.framework", | |
| 89 "Webkit.framework", | |
| 90 "SafariServices.framework", | |
| 91 "SystemConfiguration.framework", | |
| 92 ] | |
| 93 | |
| 94 deps = [ | |
| 95 ":main", | |
| 96 "//base", | |
| 97 "//remoting/client/ios/app/resources:assets", | |
| 98 "//remoting/client/ios/app/resources:launchscreen_assets", | |
| 99 "//remoting/client/ios/app/resources:remoting_icons", | |
| 100 "//remoting/client/ios/display", | |
| 101 ] | |
| 102 | |
| 103 bundle_deps = [ ":launchscreen_storyboard" ] | |
| 104 } | |
| 105 | |
| 106 bundle_data_ib_file("launchscreen_storyboard") { | |
| 107 source = "resources/LaunchScreen.storyboard" | |
| 108 } | |
| OLD | NEW |