Chromium Code Reviews| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 75 'type': 'none', | 75 'type': 'none', |
| 76 'dependencies': [ | 76 'dependencies': [ |
| 77 'remoting_host_prefpane', | 77 'remoting_host_prefpane', |
| 78 'remoting_host_uninstaller', | 78 'remoting_host_uninstaller', |
| 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_bundle_name': '<!(python <(version_py_path) -f <(branding_path ) -t "@MAC_HOST_BUNDLE_NAME@")', | |
| 85 'host_name': '<!(python <(version_py_path) -f <(branding_path) -t "@ HOST_PLUGIN_FILE_NAME@")', | 86 '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@")', | 87 '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@")', | 88 '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@")', | 89 'bundle_prefix': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_UNINSTALLER_BUNDLE_PREFIX@")', |
| 90 'me2me_host_bundle_name': '<!(python <(version_py_path) -f <(brandin g_path) -t "@MAC_HOST_BUNDLE_NAME@")', | |
| 91 'prefpane_bundle_name': '<!(python <(version_py_path) -f <(branding_ path) -t "@MAC_PREFPANE_BUNDLE_NAME@")', | |
| 92 'native_messaging_host_bundle_name': '<!(python <(version_py_path) - f <(branding_path) -t "@MAC_NATIVE_MESSAGING_HOST_BUNDLE_NAME@")', | |
|
Sergey Ulanov
2014/03/08 02:37:56
Can we put the NM host bundle inside the me2me bun
weitao
2014/03/19 07:22:36
Agreed that the NM hosts should be nested in the m
| |
| 93 'remote_assistance_host_bundle_name': '<!(python <(version_py_path) -f <(branding_path) -t "@MAC_REMOTE_ASSISTANCE_HOST_BUNDLE_NAME@")', | |
| 94 'remoting_name': '<!(python <(version_py_path) -f <(branding_path) - t "@MAC_REMOTING_NAME@")', | |
| 89 }, | 95 }, |
| 90 'actions': [ | 96 'actions': [ |
| 91 { | 97 { |
| 92 'action_name': 'Zip installer files for signing', | 98 'action_name': 'Zip installer files for signing', |
| 93 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', | 99 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-ho st', |
| 94 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 100 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', |
| 95 'variables': { | 101 'variables': { |
| 96 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', | 102 'host_name_nospace': '<!(echo <(host_name) | sed "s/ //g")', |
| 97 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', | 103 'host_service_name_nospace': '<!(echo <(host_service_name) | sed "s/ //g")', |
| 98 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', | 104 'host_uninstaller_name_nospace': '<!(echo <(host_uninstaller_nam e) | sed "s/ //g")', |
| 99 }, | 105 }, |
| 100 'generated_files': [ | 106 'generated_files': [ |
| 101 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', | 107 '<(PRODUCT_DIR)/remoting_host_prefpane.prefPane', |
| 102 '<(PRODUCT_DIR)/remoting_me2me_host.app', | 108 '<(PRODUCT_DIR)/remoting_me2me_host.app', |
| 103 '<(PRODUCT_DIR)/remoting_native_messaging_host', | 109 '<(PRODUCT_DIR)/native_messaging_host.app', |
| 104 '<(PRODUCT_DIR)/remoting_it2me_native_messaging_host', | 110 '<(PRODUCT_DIR)/remote_assistance_host.app', |
| 105 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', | 111 '<(PRODUCT_DIR)/remoting_host_uninstaller.app', |
| 106 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', | 112 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_desktop.json', |
| 107 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.jso n', | 113 '<(PRODUCT_DIR)/remoting/com.google.chrome.remote_assistance.jso n', |
| 108 ], | 114 ], |
| 109 'generated_files_dst': [ | 115 'generated_files_dst': [ |
| 110 'PreferencePanes/org.chromium.chromoting.prefPane', | 116 'PreferencePanes/<(prefpane_bundle_name)', |
| 111 | 117 'PrivilegedHelperTools/<(me2me_host_bundle_name).app', |
| 112 # TODO(sergeyu): Rename org.chromium.chromoting.me2me_host. e.g. | 118 'Google/<(remoting_name)/<(native_messaging_host_bundle_name).ap p', |
| 113 # to com.google.chrome.remote-desktop . | 119 'Google/<(remoting_name)/<(remote_assistance_host_bundle_name).a pp', |
| 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', | |
| 117 'Applications/<(host_uninstaller_name).app', | 120 'Applications/<(host_uninstaller_name).app', |
| 118 'Config/com.google.chrome.remote_desktop.json', | 121 'Config/com.google.chrome.remote_desktop.json', |
| 119 'Config/com.google.chrome.remote_assistance.json', | 122 'Config/com.google.chrome.remote_assistance.json', |
| 120 ], | 123 ], |
| 121 'source_files': [ | 124 'source_files': [ |
| 122 '<@(remoting_host_installer_mac_files)', | 125 '<@(remoting_host_installer_mac_files)', |
| 123 ], | 126 ], |
| 124 'defs': [ | 127 'defs': [ |
| 125 'VERSION=<(version_full)', | 128 'VERSION=<(version_full)', |
| 126 'VERSION_SHORT=<(version_short)', | 129 'VERSION_SHORT=<(version_short)', |
| 127 'VERSION_MAJOR=<(version_major)', | 130 'VERSION_MAJOR=<(version_major)', |
| 128 'VERSION_MINOR=<(version_minor)', | 131 'VERSION_MINOR=<(version_minor)', |
| 129 'HOST_NAME=<(host_name)', | 132 'HOST_NAME=<(host_name)', |
| 133 'HOST_BUNDLE_NAME=<(host_bundle_name)', | |
| 130 'HOST_SERVICE_NAME=<(host_service_name)', | 134 'HOST_SERVICE_NAME=<(host_service_name)', |
| 131 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', | 135 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', |
| 132 'HOST_PKG=<(host_name)', | 136 'HOST_PKG=<(host_name)', |
| 133 'HOST_SERVICE_PKG=<(host_service_name_nospace)', | 137 'HOST_SERVICE_PKG=<(host_service_name_nospace)', |
| 134 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', | 138 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', |
| 135 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', | 139 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', |
| 136 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)', | 140 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)', |
| 137 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)', | 141 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)', |
| 138 'DMG_VOLUME_NAME=<(host_name) <(version_full)', | 142 'DMG_VOLUME_NAME=<(host_name) <(version_full)', |
| 139 'DMG_FILE_NAME=<!(echo <(host_name) | sed "s/ //g")-<(version_fu ll)', | 143 'DMG_FILE_NAME=<!(echo <(host_name) | sed "s/ //g")-<(version_fu ll)', |
| 144 'NATIVE_MESSAGING_HOST_BUNDLE_NAME=<(native_messaging_host_bundl e_name)', | |
| 145 'REMOTE_ASSISTANCE_HOST_BUNDLE_NAME=<(remote_assistance_host_bun dle_name)', | |
| 146 'REMOTING_NAME=<(remoting_name)', | |
| 147 'PREFPANE_BUNDLE_NAME=<(prefpane_bundle_name)', | |
| 140 ], | 148 ], |
| 141 'inputs': [ | 149 'inputs': [ |
| 142 'host/installer/build-installer-archive.py', | 150 'host/installer/build-installer-archive.py', |
| 143 '<@(_source_files)', | 151 '<@(_source_files)', |
| 144 ], | 152 ], |
| 145 'outputs': [ | 153 'outputs': [ |
| 146 '<(_zip_path)', | 154 '<(_zip_path)', |
| 147 ], | 155 ], |
| 148 'action': [ | 156 'action': [ |
| 149 'python', 'host/installer/build-installer-archive.py', | 157 'python', 'host/installer/build-installer-archive.py', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 'mac_real_dsym': 1, | 245 'mac_real_dsym': 1, |
| 238 }, | 246 }, |
| 239 }], # 'mac_breakpad==1' | 247 }], # 'mac_breakpad==1' |
| 240 ], # conditions | 248 ], # conditions |
| 241 }, # end of target 'remoting_host_prefpane' | 249 }, # end of target 'remoting_host_prefpane' |
| 242 ], # end of 'targets' | 250 ], # end of 'targets' |
| 243 }], # 'OS=="mac"' | 251 }], # 'OS=="mac"' |
| 244 | 252 |
| 245 ], # end of 'conditions' | 253 ], # end of 'conditions' |
| 246 } | 254 } |
| OLD | NEW |