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 | 7 |
8 'branding_path': '../remoting/branding_<(branding)', | 8 'branding_path': '../remoting/branding_<(branding)', |
9 | 9 |
10 'conditions': [ | 10 'conditions': [ |
11 ['OS=="mac"', { | 11 ['OS=="mac"', { |
12 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_BUNDLE_ID@")', | 12 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@
MAC_BUNDLE_ID@")', |
13 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA
C_CREATOR@")', | 13 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA
C_CREATOR@")', |
14 }], | 14 }], |
15 ['OS=="win"', { | 15 ['OS=="win"', { |
16 # Each CLSID is a hash of the current version string salted with an | 16 # Each CLSID is a hash of the current version string salted with an |
17 # arbitrary GUID. This ensures that the newly installed COM classes will | 17 # arbitrary GUID. This ensures that the newly installed COM classes will |
18 # be used during/after upgrade even if there are old instances running | 18 # be used during/after upgrade even if there are old instances running |
19 # already. | 19 # already. |
20 # The IDs are not random to avoid rebuilding host when it's not | 20 # The IDs are not random to avoid rebuilding host when it's not |
21 # necessary. | 21 # necessary. |
22 'daemon_controller_clsid': | 22 'daemon_controller_clsid': |
23 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'655bd819-c0
8c-4b04-80c2-f160739ff6ef\'), \'<(version_full)\')")', | 23 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'<(daemon_co
ntroller_guid)\'), \'<(version_full)\')")', |
24 'rdp_desktop_session_clsid': | 24 'rdp_desktop_session_clsid': |
25 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'6a7699f0-ee
43-43e7-aa30-a6738f9bd470\'), \'<(version_full)\')")', | 25 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'<(rdp_deskt
op_session_guid)\'), \'<(version_full)\')")', |
26 }], | 26 }], |
27 ], | 27 ], |
28 }, | 28 }, |
29 | 29 |
30 'includes': [ | 30 'includes': [ |
31 '../chrome/js_unittest_vars.gypi', | 31 '../chrome/js_unittest_vars.gypi', |
32 'remoting_android.gypi', | 32 'remoting_android.gypi', |
33 'remoting_client.gypi', | 33 'remoting_client.gypi', |
34 'remoting_host.gypi', | 34 'remoting_host.gypi', |
35 'remoting_host_srcs.gypi', | 35 'remoting_host_srcs.gypi', |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 '-g', '<(grit_out_dir)', | 181 '-g', '<(grit_out_dir)', |
182 '-x', '<(copy_output_dir)/.', | 182 '-x', '<(copy_output_dir)/.', |
183 '<@(remoting_locales)', | 183 '<@(remoting_locales)', |
184 ], | 184 ], |
185 } | 185 } |
186 ], | 186 ], |
187 'includes': [ '../build/grit_target.gypi' ], | 187 'includes': [ '../build/grit_target.gypi' ], |
188 }, # end of target 'remoting_resources' | 188 }, # end of target 'remoting_resources' |
189 | 189 |
190 { | 190 { |
191 # GN version: //remoting/base | 191 # GN version: //remoting/base and //remoting/codec |
192 'target_name': 'remoting_base', | 192 'target_name': 'remoting_base', |
193 'type': 'static_library', | 193 'type': 'static_library', |
194 'variables': { 'enable_wexit_time_destructors': 1, }, | 194 'variables': { 'enable_wexit_time_destructors': 1, }, |
195 'dependencies': [ | 195 'dependencies': [ |
196 '../base/base.gyp:base', | 196 '../base/base.gyp:base', |
197 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 197 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
198 '../media/media.gyp:media', | 198 '../media/media.gyp:media', |
199 '../media/media.gyp:shared_memory_support', | 199 '../media/media.gyp:shared_memory_support', |
200 '../net/net.gyp:net', | 200 '../net/net.gyp:net', |
201 '../third_party/libvpx/libvpx.gyp:libvpx', | 201 '../third_party/libvpx/libvpx.gyp:libvpx', |
(...skipping 11 matching lines...) Expand all Loading... |
213 '../base/base.gyp:base', | 213 '../base/base.gyp:base', |
214 '../net/net.gyp:net', | 214 '../net/net.gyp:net', |
215 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 215 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
216 'proto/chromotocol.gyp:chromotocol_proto_lib', | 216 'proto/chromotocol.gyp:chromotocol_proto_lib', |
217 ], | 217 ], |
218 # This target needs a hard dependency because dependent targets | 218 # This target needs a hard dependency because dependent targets |
219 # depend on chromotocol_proto_lib for headers. | 219 # depend on chromotocol_proto_lib for headers. |
220 'hard_dependency': 1, | 220 'hard_dependency': 1, |
221 'sources': [ | 221 'sources': [ |
222 '<@(remoting_base_sources)', | 222 '<@(remoting_base_sources)', |
| 223 '<@(remoting_codec_sources)', |
223 ], | 224 ], |
224 }, # end of target 'remoting_base' | 225 }, # end of target 'remoting_base' |
225 | 226 |
226 { | 227 { |
227 # GN version: //remoting/protocol | 228 # GN version: //remoting/protocol |
228 'target_name': 'remoting_protocol', | 229 'target_name': 'remoting_protocol', |
229 'type': 'static_library', | 230 'type': 'static_library', |
230 'variables': { 'enable_wexit_time_destructors': 1, }, | 231 'variables': { 'enable_wexit_time_destructors': 1, }, |
231 'dependencies': [ | 232 'dependencies': [ |
232 '../base/base.gyp:base', | 233 '../base/base.gyp:base', |
233 '../crypto/crypto.gyp:crypto', | 234 '../crypto/crypto.gyp:crypto', |
234 '../jingle/jingle.gyp:jingle_glue', | 235 '../jingle/jingle.gyp:jingle_glue', |
235 '../jingle/jingle.gyp:notifier', | 236 '../jingle/jingle.gyp:notifier', |
236 '../net/net.gyp:net', | 237 '../net/net.gyp:net', |
237 '../third_party/libjingle/libjingle.gyp:libjingle', | 238 '../third_party/libjingle/libjingle.gyp:libjingle', |
238 'remoting_base', | 239 'remoting_base', |
239 ], | 240 ], |
240 'export_dependent_settings': [ | 241 'export_dependent_settings': [ |
241 '../third_party/libjingle/libjingle.gyp:libjingle', | 242 '../third_party/libjingle/libjingle.gyp:libjingle', |
242 ], | 243 ], |
243 'sources': [ | 244 'sources': [ |
244 '<@(remoting_protocol_sources)', | 245 '<@(remoting_protocol_sources)', |
245 ], | 246 ], |
246 }, # end of target 'remoting_protocol' | 247 }, # end of target 'remoting_protocol' |
247 ], # end of targets | 248 ], # end of targets |
248 } | 249 } |
OLD | NEW |