| Index: remoting/ios/app/BUILD.gn
|
| diff --git a/remoting/ios/app/BUILD.gn b/remoting/ios/app/BUILD.gn
|
| index 735f79f51de7c96e8ed8a31a7b12434d3dd4fab8..59bb2979068320f3e98814b190a06f216bd8bb01 100644
|
| --- a/remoting/ios/app/BUILD.gn
|
| +++ b/remoting/ios/app/BUILD.gn
|
| @@ -2,11 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import("//build/config/chrome_build.gni")
|
| -import("//build/config/ios/rules.gni")
|
| -import("//build/mac/tweak_info_plist.gni")
|
| -import("//build/util/process_version.gni")
|
| -import("//remoting/build/config/remoting_build.gni")
|
| +import("//remoting/ios/app/remoting_ios_tmpl.gni")
|
|
|
| group("all") {
|
| testonly = true
|
| @@ -16,98 +12,12 @@ group("all") {
|
| ]
|
| }
|
|
|
| -source_set("main") {
|
| - sources = [
|
| - "app_delegate.h",
|
| - "app_delegate.mm",
|
| - "client_connection_view_controller.h",
|
| - "client_connection_view_controller.mm",
|
| - "host_collection_header_view.h",
|
| - "host_collection_header_view.mm",
|
| - "host_collection_view_cell.h",
|
| - "host_collection_view_cell.mm",
|
| - "host_collection_view_controller.h",
|
| - "host_collection_view_controller.mm",
|
| - "host_view_controller.h",
|
| - "host_view_controller.mm",
|
| - "main.mm",
|
| - "pin_entry_view.h",
|
| - "pin_entry_view.mm",
|
| - "remoting_settings_view_controller.h",
|
| - "remoting_settings_view_controller.mm",
|
| - "remoting_theme.h",
|
| - "remoting_theme.mm",
|
| - "remoting_view_controller.h",
|
| - "remoting_view_controller.mm",
|
| - ]
|
| -
|
| - deps = [
|
| - "//base",
|
| - "//google_apis",
|
| - "//remoting/base",
|
| - "//remoting/client",
|
| - "//remoting/client/input",
|
| - "//remoting/ios:ios_core",
|
| - "//remoting/protocol",
|
| - "//ui/base",
|
| - "//ui/gfx",
|
| - "//ui/resources",
|
| - ]
|
| -
|
| - public_deps = [
|
| - "//ios/third_party/material_components_ios",
|
| - ]
|
| -
|
| - configs += [ "//build/config/compiler:enable_arc" ]
|
| +ios_remoting_source_set("main") {
|
| + sources = []
|
| }
|
|
|
| -tweak_info_plist("tweak_info_plist") {
|
| - info_plist = "//remoting/ios/app/resources/Info.plist"
|
| - args = [ "--platform=ios" ]
|
| -}
|
| -
|
| -ios_app_bundle("ios_remoting_app") {
|
| - output_name = "$remoting_ios_executable_name"
|
| -
|
| +ios_remoting_app_tmpl("ios_remoting_app") {
|
| + output_name = "chromoting"
|
| entitlements_path = "resources/Remoting.entitlements"
|
| - info_plist_target = ":tweak_info_plist"
|
| -
|
| - extra_substitutions = [
|
| - "BUNDLE_IDENTIFIER=$remoting_ios_bundle_id",
|
| - "DISPLAY_NAME=$remoting_ios_display_name",
|
| - "EXECUTABLE_NAME=$remoting_ios_executable_name",
|
| - "MINIMUM_OS_VERSION=7.0",
|
| - "PRODUCT_NAME=$remoting_ios_product_name",
|
| - "VERSION_FULL=$remoting_version_full",
|
| - "VERSION_SHORT=$remoting_version_short",
|
| - ]
|
| -
|
| - libs = [
|
| - "Accelerate.framework",
|
| - "AudioToolbox.framework",
|
| - "CoreAudio.framework",
|
| - "CoreData.framework",
|
| - "CoreMIDI.framework",
|
| - "CoreVideo.framework",
|
| - "GLKit.framework",
|
| - "OpenGLES.framework",
|
| - "Webkit.framework",
|
| - "SafariServices.framework",
|
| - "SystemConfiguration.framework",
|
| - ]
|
| -
|
| - deps = [
|
| - ":main",
|
| - "//base",
|
| - "//remoting/ios/app/resources:assets",
|
| - "//remoting/ios/app/resources:launchscreen_assets",
|
| - "//remoting/ios/app/resources:remoting_icons",
|
| - "//remoting/ios/display",
|
| - ]
|
| -
|
| - bundle_deps = [ ":launchscreen_storyboard" ]
|
| -}
|
| -
|
| -bundle_data_ib_file("launchscreen_storyboard") {
|
| - source = "resources/LaunchScreen.storyboard"
|
| + remoting_source_set = ":main"
|
| }
|
|
|