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

Side by Side Diff: remoting/remoting_version.gni

Issue 2034513002: Adding mac support for Remoting host GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding Carbon.framework Created 4 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 unified diff | Download patch
« no previous file with comments | « remoting/remoting_enable.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6
7 _version_py_abspath = "//build/util/version.py" 7 _version_py_abspath = "//build/util/version.py"
8 _remoting_version_abspath = "//remoting/VERSION" 8 _remoting_version_abspath = "//remoting/VERSION"
9 if (is_chrome_branded) { 9 if (is_chrome_branded) {
10 _remoting_branding_abspath = "//remoting/branding_Chrome" 10 _remoting_branding_abspath = "//remoting/branding_Chrome"
11 } else { 11 } else {
12 _remoting_branding_abspath = "//remoting/branding_Chromium" 12 _remoting_branding_abspath = "//remoting/branding_Chromium"
13 } 13 }
14 14
15 # Set these files as being input dependencies to the scripts, so the build will 15 # Set these files as being input dependencies to the scripts, so the build will
16 # be re-run if the files change. 16 # be re-run if the files change.
17 remoting_version_files = [ 17 remoting_version_files = [
18 _remoting_version_abspath, 18 _remoting_version_abspath,
19 _remoting_branding_abspath, 19 _remoting_branding_abspath,
20 ] 20 ]
21 21
22 _remoting_version_path = rebase_path(_remoting_version_abspath, root_build_dir) 22 _remoting_version_path = rebase_path(_remoting_version_abspath, root_build_dir)
23 _remoting_branding_path = 23 _remoting_branding_path =
24 rebase_path(_remoting_branding_abspath, root_build_dir) 24 rebase_path(_remoting_branding_abspath, root_build_dir)
25 25
26 prefpane_bundle_name = exec_script(_version_py_abspath, 26 _branding_dictionary_template = "mac_host_bundle = \"@MAC_HOST_BUNDLE_NAME@\" " + "mac_native_messaging_bundle = \"@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@\" " + "mac_remote_assistance_bundle = \"@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@\" " + "prefpane_bundle_name = \"@MAC_PREFPANE_BUNDLE_NAME@\" " + "host_bundle_name = \"@MAC_HOST_BUNDLE_NAME@\" "
27 [
28 "-f",
29 _remoting_branding_path,
30 "-t \"@MAC_PREFPANE_BUNDLE_NAME@\"",
31 ],
32 "string",
33 remoting_version_files)
34 27
35 host_bundle_name = exec_script(_version_py_abspath, 28 _result = exec_script(_version_py_abspath,
36 [ 29 [
37 "-f", 30 "-f",
38 _remoting_branding_path, 31 _remoting_branding_path,
39 "-t \"@MAC_HOST_BUNDLE_NAME@\"", 32 "-t",
40 ], 33 _branding_dictionary_template,
41 "string", 34 ],
42 remoting_version_files) 35 "scope",
36 remoting_version_files)
37
38 prefpane_bundle_name = _result.prefpane_bundle_name
39 host_bundle_name = _result.host_bundle_name
40 me2me_host_bundle_name = _result.mac_host_bundle
41 native_messaging_host_bundle_name = _result.mac_native_messaging_bundle
42 remote_assistance_host_bundle_name = _result.mac_remote_assistance_bundle
OLDNEW
« no previous file with comments | « remoting/remoting_enable.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698