Index: remoting/client/ios/chromiumoting/BUILD.gn |
diff --git a/remoting/client/ios/chromiumoting/BUILD.gn b/remoting/client/ios/chromiumoting/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3c1fb6ebb350ce5a152c51698cf0145f8b6da3d |
--- /dev/null |
+++ b/remoting/client/ios/chromiumoting/BUILD.gn |
@@ -0,0 +1,72 @@ |
+# 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/mac/tweak_info_plist.gni") |
+import("//build/config/ios/rules.gni") |
+import("//build/config/chrome_build.gni") |
+ |
+group("all") { |
+ testonly = true |
+ |
+ deps = [ |
+ ":chromiumoting", |
+ ] |
+} |
+ |
+source_set("main") { |
+ sources = [ |
+ "app_delegate.h", |
+ "app_delegate.mm", |
+ "example_view_controller.h", |
+ "example_view_controller.mm", |
+ "main.mm", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//remoting/base", |
+ "//remoting/client", |
+ "//remoting/protocol", |
+ "//ui/base", |
+ "//ui/gfx", |
+ "//ui/resources", |
+ ] |
+ |
+ configs += [ "//build/config/compiler:enable_arc" ] |
+} |
+ |
+tweak_info_plist("tweak_info_plist") { |
+ info_plist = "//remoting/client/ios/chromiumoting/resources/Info.plist" |
+ args = [ "--platform=ios" ] |
+} |
+ |
+ios_app_bundle("chromiumoting") { |
+ output_name = "chromiumoting" |
+ |
+ entitlements_path = "resources/Chromiumoting.entitlements" |
+ info_plist_target = ":tweak_info_plist" |
+ |
+ 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", |
+ |
+ # "//remoting/client/ios/chromiumoting/resources:icons", |
+ "//base", |
+ "//remoting/client:opengl_renderer", |
+ "//remoting/client/ios/display", |
+ ] |
+} |