Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: remoting/ios/app/remoting_ios_tmpl.gni

Issue 2934593002: [CRD iOS] Define template for the CRD iOS target (Closed)
Patch Set: resolve feedback Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/app/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/remoting_ios_tmpl.gni
diff --git a/remoting/ios/app/remoting_ios_tmpl.gni b/remoting/ios/app/remoting_ios_tmpl.gni
new file mode 100644
index 0000000000000000000000000000000000000000..76911e0350743f2ac4d2e6d1fb43422f3a8489e3
--- /dev/null
+++ b/remoting/ios/app/remoting_ios_tmpl.gni
@@ -0,0 +1,69 @@
+# Copyright 2017 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/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")
+
+remoting_ios_app_source_dir = get_path_info("./", "abspath")
+
+template("ios_remoting_app_tmpl") {
+ info_plist_target_name = "${target_name}_tweak_info_plist"
+ tweak_info_plist(info_plist_target_name) {
+ info_plist = "//remoting/ios/app/resources/Info.plist"
+ args = [ "--platform=ios" ]
+ }
+
+ launchscreen_storyboard_target_name = "${target_name}_launchscreen_storyboard"
+ bundle_data_ib_file(launchscreen_storyboard_target_name) {
+ source = rebase_path("resources/LaunchScreen.storyboard",
+ ".",
+ remoting_ios_app_source_dir)
+ }
+
+ ios_app_bundle(target_name) {
+ output_name = invoker.output_name
+
+ entitlements_path = invoker.entitlements_path
+ info_plist_target = ":$info_plist_target_name"
+
+ 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 = [
+ "//base",
+ "//remoting/ios/app/resources:assets",
+ "//remoting/ios/app/resources:launchscreen_assets",
+ "//remoting/ios/app/resources:remoting_icons",
+ "//remoting/ios/display",
+ ]
+
+ deps += [ invoker.remoting_source_set ]
+
+ bundle_deps = [ ":$launchscreen_storyboard_target_name" ]
+ }
+}
« no previous file with comments | « remoting/ios/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698