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

Side by Side Diff: remoting/remoting_version.gni

Issue 2555803002: Adding the iOS app and integration example with GlRenderer. (Closed)
Patch Set: cleaning up includes. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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") 5 import("//build/config/chrome_build.gni")
6 import("//build/util/version.gni") 6 import("//build/util/version.gni")
7 7
8 remoting_version_file = "//remoting/VERSION" 8 remoting_version_file = "//remoting/VERSION"
9 9
10 _version_py_abspath = "//build/util/version.py" 10 _version_py_abspath = "//build/util/version.py"
(...skipping 27 matching lines...) Expand all
38 _template += "version_patch = \"@REMOTING_PATCH@\" " 38 _template += "version_patch = \"@REMOTING_PATCH@\" "
39 39
40 if (is_mac) { 40 if (is_mac) {
41 _template += "host_bundle_id = \"@MAC_HOST_BUNDLE_ID@\" " 41 _template += "host_bundle_id = \"@MAC_HOST_BUNDLE_ID@\" "
42 _template += "native_messaging_host_bundle_id = \"@MAC_NATIVE_MESSAGING_HOST_B UNDLE_ID@\"" 42 _template += "native_messaging_host_bundle_id = \"@MAC_NATIVE_MESSAGING_HOST_B UNDLE_ID@\""
43 _template += "prefpane_bundle_id = \"@MAC_PREFPANE_BUNDLE_ID@\" " 43 _template += "prefpane_bundle_id = \"@MAC_PREFPANE_BUNDLE_ID@\" "
44 _template += "remote_assistance_host_bundle_id = \"@MAC_REMOTE_ASSISTANCE_HOST _BUNDLE_ID@\" " 44 _template += "remote_assistance_host_bundle_id = \"@MAC_REMOTE_ASSISTANCE_HOST _BUNDLE_ID@\" "
45 _template += "uninstaller_bundle_id = \"@MAC_UNINSTALLER_BUNDLE_ID@\"" 45 _template += "uninstaller_bundle_id = \"@MAC_UNINSTALLER_BUNDLE_ID@\""
46 } 46 }
47 47
48 if (is_ios) {
49 _template += "ios_bundle_id = \"@IOS_BUNDLE_ID@\""
50 _template += "ios_display_name = \"@IOS_DISPLAY_NAME@\""
51 _template += "ios_exec_name = \"@IOS_EXEC_NAME@\""
52 _template += "ios_product_name = \"@IOS_PRODUCT_NAME@\""
53 }
54
48 _result = exec_script(_version_py_abspath, 55 _result = exec_script(_version_py_abspath,
49 [ 56 [
50 "-f", 57 "-f",
51 _remoting_branding_path, 58 _remoting_branding_path,
52 "-f", 59 "-f",
53 _remoting_version_path, 60 _remoting_version_path,
54 "-t", 61 "-t",
55 _template, 62 _template,
56 ], 63 ],
57 "scope", 64 "scope",
(...skipping 24 matching lines...) Expand all
82 [ "$host_name" ], 89 [ "$host_name" ],
83 "trim string") 90 "trim string")
84 host_service_name_nospace = exec_script("//remoting/tools/remove_spaces.py", 91 host_service_name_nospace = exec_script("//remoting/tools/remove_spaces.py",
85 [ "$host_service_name" ], 92 [ "$host_service_name" ],
86 "trim string") 93 "trim string")
87 host_uninstaller_name_nospace = 94 host_uninstaller_name_nospace =
88 exec_script("//remoting/tools/remove_spaces.py", 95 exec_script("//remoting/tools/remove_spaces.py",
89 [ "$host_uninstaller_name" ], 96 [ "$host_uninstaller_name" ],
90 "trim string") 97 "trim string")
91 } 98 }
99
100 if (is_ios) {
101 remoting_ios_bundle_id = _result.ios_bundle_id
102 remoting_ios_display_name = _result.ios_display_name
103 remoting_ios_executable_name = _result.ios_exec_name
104 remoting_ios_product_name = _result.ios_product_name
105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698