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