OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # Use consistent strings across all platforms. Note that the plugin name | 10 # Use consistent strings across all platforms. Note that the plugin name |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 'webapp/xhr.js', | 159 'webapp/xhr.js', |
160 'resources/chromoting16.png', | 160 'resources/chromoting16.png', |
161 'resources/chromoting48.png', | 161 'resources/chromoting48.png', |
162 'resources/chromoting128.png', | 162 'resources/chromoting128.png', |
163 'resources/disclosure_arrow_down.png', | 163 'resources/disclosure_arrow_down.png', |
164 'resources/disclosure_arrow_right.png', | 164 'resources/disclosure_arrow_right.png', |
165 'resources/infographic_my_computers.png', | 165 'resources/infographic_my_computers.png', |
166 'resources/infographic_remote_assistance.png', | 166 'resources/infographic_remote_assistance.png', |
167 'resources/tick.png', | 167 'resources/tick.png', |
168 ], | 168 ], |
169 'remoting_host_installer_mac_root': 'host/installer/mac/', | |
170 'remoting_host_installer_mac_files': [ | |
171 'host/installer/mac/ChromeRemoteDesktop.packproj', | |
172 'host/installer/mac/Chromoting.packproj', | |
173 'host/installer/mac/LaunchAgents/org.chromium.chromoting.plist', | |
174 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.json', | |
175 'host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh ', | |
176 'host/installer/mac/Scripts/keystone_install.sh', | |
177 'host/installer/mac/Scripts/remoting_postflight.sh', | |
178 'host/installer/mac/Scripts/uninstall.sh', | |
179 'host/installer/mac/Keystone/*', | |
180 ], | |
169 }, | 181 }, |
170 | 182 |
171 'target_defaults': { | 183 'target_defaults': { |
172 'defines': [ | 184 'defines': [ |
173 ], | 185 ], |
174 'include_dirs': [ | 186 'include_dirs': [ |
175 '..', # Root of Chrome checkout | 187 '..', # Root of Chrome checkout |
176 ], | 188 ], |
177 }, | 189 }, |
178 | 190 |
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1069 'remoting_base', | 1081 'remoting_base', |
1070 '../base/base.gyp:base', | 1082 '../base/base.gyp:base', |
1071 '../base/base.gyp:base_i18n', | 1083 '../base/base.gyp:base_i18n', |
1072 '../crypto/crypto.gyp:crypto', | 1084 '../crypto/crypto.gyp:crypto', |
1073 ], | 1085 ], |
1074 'sources': [ | 1086 'sources': [ |
1075 'host/keygen_main.cc', | 1087 'host/keygen_main.cc', |
1076 ], | 1088 ], |
1077 }, # end of target 'remoting_host_keygen' | 1089 }, # end of target 'remoting_host_keygen' |
1078 | 1090 |
1091 # This packages up the files needed for the remoting host installer so | |
1092 # they can be sent off to be signed. | |
1093 # We don't build an installer here because we don't have signed binaries. | |
1094 { | |
1095 'target_name': 'remoting_me2me_host_archive', | |
1096 'type': 'none', | |
1097 'dependencies': [ | |
1098 'remoting_me2me_host', | |
1099 ], | |
1100 'sources': [ | |
1101 'host/installer/build-installer-archive.py', | |
1102 ], | |
1103 'conditions': [ | |
1104 ['OS=="mac"', { | |
1105 'sources': [ | |
1106 '<@(remoting_host_installer_mac_files)', | |
1107 ], | |
1108 }], # OS=="mac" | |
1109 ['OS=="win"', { | |
1110 'dependencies': [ | |
1111 # TODO(garykac) | |
1112 ], | |
1113 }], # OS=="win" | |
1114 ], # conditions | |
1115 'actions': [ | |
1116 { | |
1117 'action_name': 'Zip installer files for signing', | |
1118 'temp_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting-me2me-host', | |
1119 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | |
1120 'binaries_src': [], | |
1121 'binaries_dst': [], | |
1122 'other_files_root': '', | |
alexeypa (please no reviews)
2012/04/13 17:27:13
Naming is confusing. How about:
binaries_src -> g
garykac
2012/04/13 18:06:03
Done.
| |
1123 'other_files': [], | |
1124 'conditions': [ | |
1125 ['OS=="mac"', { | |
1126 'binaries_src': [ | |
1127 '<(PRODUCT_DIR)/remoting_me2me_host', | |
1128 ], | |
1129 'binaries_dst': [ | |
1130 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host', | |
1131 ], | |
1132 'other_files_root': '<(remoting_host_installer_mac_root)', | |
1133 'other_files': [ | |
1134 '<@(remoting_host_installer_mac_files)', | |
1135 ], | |
1136 }], # OS=="mac" | |
1137 ], # conditions | |
1138 'inputs': [ | |
1139 'host/installer/build-installer-archive.py', | |
alexeypa (please no reviews)
2012/04/13 17:27:13
Are you sure that the script should be listed here
garykac
2012/04/13 18:06:03
The script name is an input to python.
| |
1140 '<@(_other_files)', | |
1141 ], | |
1142 'outputs': [ | |
1143 '<(_zip_path)', | |
1144 ], | |
1145 'action': [ | |
1146 'python', | |
1147 'host/installer/build-installer-archive.py', | |
1148 '<(_temp_dir)', | |
1149 '<(_zip_path)', | |
1150 '<(_other_files_root)', | |
1151 '--files', | |
1152 '<@(_other_files)', | |
1153 '--binaries-src', | |
1154 '<@(_binaries_src)', | |
1155 '--binaries-dst', | |
1156 '<@(_binaries_dst)', | |
1157 ], | |
1158 }, | |
1159 ], # actions | |
1160 }, # end of target 'remoting_me2me_host_archive' | |
1161 | |
1079 { | 1162 { |
1080 'target_name': 'remoting_jingle_glue', | 1163 'target_name': 'remoting_jingle_glue', |
1081 'type': 'static_library', | 1164 'type': 'static_library', |
1082 'variables': { 'enable_wexit_time_destructors': 1, }, | 1165 'variables': { 'enable_wexit_time_destructors': 1, }, |
1083 'dependencies': [ | 1166 'dependencies': [ |
1084 '../base/base.gyp:base', | 1167 '../base/base.gyp:base', |
1085 '../jingle/jingle.gyp:jingle_glue', | 1168 '../jingle/jingle.gyp:jingle_glue', |
1086 '../jingle/jingle.gyp:notifier', | 1169 '../jingle/jingle.gyp:notifier', |
1087 '../third_party/libjingle/libjingle.gyp:libjingle', | 1170 '../third_party/libjingle/libjingle.gyp:libjingle', |
1088 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 1171 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1385 '../base/allocator/allocator.gyp:allocator', | 1468 '../base/allocator/allocator.gyp:allocator', |
1386 ], | 1469 ], |
1387 }, | 1470 }, |
1388 ], | 1471 ], |
1389 ], | 1472 ], |
1390 }], | 1473 }], |
1391 ], # end of 'conditions' | 1474 ], # end of 'conditions' |
1392 }, # end of target 'remoting_unittests' | 1475 }, # end of target 'remoting_unittests' |
1393 ], # end of targets | 1476 ], # end of targets |
1394 } | 1477 } |
OLD | NEW |