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/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") |
| 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 "example_view_controller.h", |
| 24 "example_view_controller.mm", |
| 25 "main.mm", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 "//base", |
| 30 "//remoting/base", |
| 31 "//remoting/client", |
| 32 "//remoting/protocol", |
| 33 "//ui/base", |
| 34 "//ui/gfx", |
| 35 "//ui/resources", |
| 36 ] |
| 37 |
| 38 configs += [ "//build/config/compiler:enable_arc" ] |
| 39 } |
| 40 |
| 41 tweak_info_plist("tweak_info_plist") { |
| 42 info_plist = "//remoting/client/ios/app/resources/Info.plist" |
| 43 args = [ "--platform=ios" ] |
| 44 } |
| 45 |
| 46 ios_app_bundle("ios_remoting_app") { |
| 47 output_name = "remoting-ios" |
| 48 |
| 49 entitlements_path = "resources/Remoting.entitlements" |
| 50 info_plist_target = ":tweak_info_plist" |
| 51 |
| 52 extra_substitutions = [ |
| 53 "BUNDLE_IDENTIFIER=$remoting_ios_bundle_id", |
| 54 "DISPLAY_NAME=$remoting_ios_display_name", |
| 55 "EXECUTABLE_NAME=$remoting_ios_executable_name", |
| 56 "MINIMUM_OS_VERSION=7.0", |
| 57 "PRODUCT_NAME=$remoting_ios_product_name", |
| 58 "VERSION_FULL=$remoting_version_full", |
| 59 "VERSION_SHORT=$remoting_version_short", |
| 60 ] |
| 61 |
| 62 libs = [ |
| 63 "Accelerate.framework", |
| 64 "AudioToolbox.framework", |
| 65 "CoreAudio.framework", |
| 66 "CoreData.framework", |
| 67 "CoreMIDI.framework", |
| 68 "CoreVideo.framework", |
| 69 "GLKit.framework", |
| 70 "OpenGLES.framework", |
| 71 "Webkit.framework", |
| 72 "SafariServices.framework", |
| 73 "SystemConfiguration.framework", |
| 74 ] |
| 75 |
| 76 deps = [ |
| 77 ":main", |
| 78 "//base", |
| 79 "//remoting/client/ios/display", |
| 80 ] |
| 81 } |
OLD | NEW |