OLD | NEW |
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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'remoting_host_installer_mac_roots': [ | 7 'remoting_host_installer_mac_roots': [ |
8 'host/installer/mac/', | 8 'host/installer/mac/', |
9 '<(DEPTH)/chrome/installer/mac/', | 9 '<(DEPTH)/chrome/installer/mac/', |
10 ], | 10 ], |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'remoting_me2me_host', | 79 'remoting_me2me_host', |
80 'remoting_me2me_native_messaging_host', | 80 'remoting_me2me_native_messaging_host', |
81 'remoting_it2me_native_messaging_host', | 81 'remoting_it2me_native_messaging_host', |
82 'remoting_native_messaging_manifests', | 82 'remoting_native_messaging_manifests', |
83 ], | 83 ], |
84 'variables': { | 84 'variables': { |
85 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@
HOST_PLUGIN_FILE_NAME@")', | 85 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@
HOST_PLUGIN_FILE_NAME@")', |
86 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat
h) -t "@DAEMON_FILE_NAME@")', | 86 'host_service_name': '<!(python <(version_py_path) -f <(branding_pat
h) -t "@DAEMON_FILE_NAME@")', |
87 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding
_path) -t "@MAC_UNINSTALLER_NAME@")', | 87 'host_uninstaller_name': '<!(python <(version_py_path) -f <(branding
_path) -t "@MAC_UNINSTALLER_NAME@")', |
88 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) -
t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', | 88 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) -
t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
89 'me2me_host_bundle_name': '<!(python <(version_py_path) -f <(brandin
g_path) -t "@MAC_HOST_BUNDLE_NAME@")', | |
90 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_
path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', | |
91 'native_messaging_host_bundle_name': '<!(python <(version_py_path) -
f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@")', | |
92 'remote_assistance_host_bundle_name': '<!(python <(version_py_path)
-f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@")', | |
93 }, | 89 }, |
94 'actions': [ | 90 'actions': [ |
95 { | 91 { |
96 'action_name': 'Zip installer files for signing', | 92 'action_name': 'Zip installer files for signing', |
97 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', | 93 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho
st', |
98 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 94 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
99 'variables': { | 95 'variables': { |
100 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 96 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
101 'host_service_name_nospace': '<!(echo <(host_service_name) | sed
"s/ //g")', | 97 'host_service_name_nospace': '<!(echo <(host_service_name) | sed
"s/ //g")', |
102 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam
e) | sed "s/ //g")', | 98 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam
e) | sed "s/ //g")', |
103 }, | 99 }, |
104 'generated_files': [ | 100 'generated_files': [ |
105 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', | 101 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
106 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 102 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
107 '<(PRODUCT_DIR)/native_messaging_host.app', | 103 '<(PRODUCT_DIR)/remoting_native_messaging_host', |
108 '<(PRODUCT_DIR)/remote_assistance_host.app', | 104 '<(PRODUCT_DIR)/remoting_it2me_native_messaging_host', |
109 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 105 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
110 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', | 106 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', |
111 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.jso
n', | 107 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.jso
n', |
112 ], | 108 ], |
113 'generated_files_dst': [ | 109 'generated_files_dst': [ |
114 'PreferencePanes/<(prefpane_bundle_name)', | 110 'PreferencePanes/org.chromium.chromoting.prefPane', |
115 'PrivilegedHelperTools/<(me2me_host_bundle_name)', | 111 |
116 'PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/
<(native_messaging_host_bundle_name)', | 112 # TODO(sergeyu): Rename org.chromium.chromoting.me2me_host. e.g. |
117 'PrivilegedHelperTools/<(me2me_host_bundle_name)/Contents/MacOS/
<(remote_assistance_host_bundle_name)', | 113 # to com.google.chrome.remote-desktop . |
| 114 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', |
| 115 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co
ntents/MacOS/native_messaging_host', |
| 116 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app/Co
ntents/MacOS/remote_assistance_host', |
118 'Applications/<(host_uninstaller_name).app', | 117 'Applications/<(host_uninstaller_name).app', |
119 'Config/com.google.chrome.remote_desktop.json', | 118 'Config/com.google.chrome.remote_desktop.json', |
120 'Config/com.google.chrome.remote_assistance.json', | 119 'Config/com.google.chrome.remote_assistance.json', |
121 ], | 120 ], |
122 'source_files': [ | 121 'source_files': [ |
123 '<@(remoting_host_installer_mac_files)', | 122 '<@(remoting_host_installer_mac_files)', |
124 ], | 123 ], |
125 'defs': [ | 124 'defs': [ |
126 'VERSION=<(version_full)', | 125 'VERSION=<(version_full)', |
127 'VERSION_SHORT=<(version_short)', | 126 'VERSION_SHORT=<(version_short)', |
128 'VERSION_MAJOR=<(version_major)', | 127 'VERSION_MAJOR=<(version_major)', |
129 'VERSION_MINOR=<(version_minor)', | 128 'VERSION_MINOR=<(version_minor)', |
130 'HOST_NAME=<(host_name)', | 129 'HOST_NAME=<(host_name)', |
131 'HOST_BUNDLE_NAME=<(me2me_host_bundle_name)', | |
132 'HOST_SERVICE_NAME=<(host_service_name)', | 130 'HOST_SERVICE_NAME=<(host_service_name)', |
133 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', | 131 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', |
134 'HOST_PKG=<(host_name)', | 132 'HOST_PKG=<(host_name)', |
135 'HOST_SERVICE_PKG=<(host_service_name_nospace)', | 133 'HOST_SERVICE_PKG=<(host_service_name_nospace)', |
136 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', | 134 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', |
137 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', | 135 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', |
138 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', | 136 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos
pace)', |
139 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', | 137 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_
name_nospace)', |
140 'DMG_VOLUME_NAME=<(host_name) <(version_full)', | 138 'DMG_VOLUME_NAME=<(host_name) <(version_full)', |
141 'DMG_FILE_NAME=<!(echo <(host_name) | sed "s/ //g")-<(version_fu
ll)', | 139 'DMG_FILE_NAME=<!(echo <(host_name) | sed "s/ //g")-<(version_fu
ll)', |
142 'NATIVE_MESSAGING_HOST_BUNDLE_NAME=<(native_messaging_host_bundl
e_name)', | |
143 'REMOTE_ASSISTANCE_HOST_BUNDLE_NAME=<(remote_assistance_host_bun
dle_name)', | |
144 'PREFPANE_BUNDLE_NAME=<(prefpane_bundle_name)', | |
145 ], | 140 ], |
146 'inputs': [ | 141 'inputs': [ |
147 'host/installer/build-installer-archive.py', | 142 'host/installer/build-installer-archive.py', |
148 '<@(_source_files)', | 143 '<@(_source_files)', |
149 ], | 144 ], |
150 'outputs': [ | 145 'outputs': [ |
151 '<(_zip_path)', | 146 '<(_zip_path)', |
152 ], | 147 ], |
153 'action': [ | 148 'action': [ |
154 'python', 'host/installer/build-installer-archive.py', | 149 'python', 'host/installer/build-installer-archive.py', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 'mac_real_dsym': 1, | 237 'mac_real_dsym': 1, |
243 }, | 238 }, |
244 }], # 'mac_breakpad==1' | 239 }], # 'mac_breakpad==1' |
245 ], # conditions | 240 ], # conditions |
246 }, # end of target 'remoting_host_prefpane' | 241 }, # end of target 'remoting_host_prefpane' |
247 ], # end of 'targets' | 242 ], # end of 'targets' |
248 }], # 'OS=="mac"' | 243 }], # 'OS=="mac"' |
249 | 244 |
250 ], # end of 'conditions' | 245 ], # end of 'conditions' |
251 } | 246 } |
OLD | NEW |