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
3 # found in the LICENSE file.
8 'branding_path': '../remoting/branding_<(branding)',
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 "@MAC_CREATOR@")',
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
18 # be used during/after upgrade even if there are old instances running
20 # The IDs are not random to avoid rebuilding host when it's not
22 'daemon_controller_clsid':
23 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'<(daemon_controller_guid)\'), \'<(version_full)\')")',
24 'rdp_desktop_session_clsid':
25 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'<(rdp_desktop_session_guid)\'), \'<(version_full)\')")',
31 '../chrome/js_unittest_vars.gypi',
32 'remoting_android.gypi',
33 'remoting_client.gypi',
35 'remoting_host_srcs.gypi',
36 'remoting_key_tester.gypi',
37 'remoting_locales.gypi',
38 'remoting_options.gypi',
41 'remoting_version.gypi',
42 'remoting_webapp_files.gypi',
43 'app_remoting_webapp_files.gypi',
50 'BINARY_HOST_ME2ME=3',
51 'BINARY_NATIVE_MESSAGING_HOST=4',
52 'BINARY_REMOTE_ASSISTANCE_HOST=5',
55 '..', # Root of Chrome checkout
58 'win_debug_RuntimeChecks': '0',
61 ['OS=="mac" and mac_breakpad==1', {
63 'REMOTING_ENABLE_BREAKPAD'
66 ['OS=="win" and buildtype == "Official"', {
68 'REMOTING_ENABLE_BREAKPAD'
71 ['OS=="win" and remoting_multi_process != 0 and \
72 remoting_rdp_session != 0', {
74 'REMOTING_RDP_SESSION',
77 ['remoting_multi_process != 0', {
79 'REMOTING_MULTI_PROCESS',
87 'target_name': 'remoting_breakpad',
88 'type': 'static_library',
89 'variables': { 'enable_wexit_time_destructors': 1, },
91 '../base/base.gyp:base',
95 'base/breakpad_linux.cc',
96 'base/breakpad_mac.mm',
97 'base/breakpad_win.cc',
102 '../breakpad/breakpad.gyp:breakpad',
107 '../breakpad/breakpad.gyp:breakpad_handler',
111 }, # end of target 'remoting_breakpad'
114 # GN version: //remoting/resources
115 'target_name': 'remoting_resources',
118 'remoting_webapp_html',
121 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)',
123 'base/resources_unittest.cc',
124 'host/continue_window_mac.mm',
125 'host/disconnect_window_mac.mm',
126 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strings.jinja2',
127 'host/it2me/it2me_confirmation_dialog_chromeos.cc',
128 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2',
129 'host/win/core.rc.jinja2',
130 'host/win/host_messages.mc.jinja2',
131 'host/win/version.rc.jinja2',
132 'resources/play_store_resources.cc',
133 '<@(desktop_remoting_webapp_localizable_files)',
134 '<@(app_remoting_webapp_localizable_files)',
139 # GN version: //remoting/resources:verify_resources
140 'action_name': 'verify_resources',
142 'resources/remoting_strings.grd',
143 'tools/verify_resources.py',
147 '<(PRODUCT_DIR)/remoting_resources_verified.stamp',
151 'tools/verify_resources.py',
152 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp',
153 '-r', 'resources/remoting_strings.grd',
158 # GN version: //remoting/resources:strings
159 'action_name': 'remoting_strings',
161 'grit_grd_file': 'resources/remoting_strings.grd',
163 'includes': [ '../build/grit_action.gypi' ],
166 # GN version: //remoting/resources:copy_locales
167 'action_name': 'copy_locales',
169 'copy_output_dir%': '<(PRODUCT_DIR)',
172 'tools/build/remoting_copy_locales.py',
173 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_dir) <(remoting_locales))'
176 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output_dir) <(remoting_locales))'
179 'python', 'tools/build/remoting_copy_locales.py',
181 '-g', '<(grit_out_dir)',
182 '-x', '<(copy_output_dir)/.',
183 '<@(remoting_locales)',
187 'includes': [ '../build/grit_target.gypi' ],
188 }, # end of target 'remoting_resources'
191 # GN version: //remoting/base and //remoting/codec
192 'target_name': 'remoting_base',
193 'type': 'static_library',
194 'variables': { 'enable_wexit_time_destructors': 1, },
196 '../base/base.gyp:base',
197 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
198 '../media/media.gyp:media',
199 '../media/media.gyp:shared_memory_support',
200 '../net/net.gyp:net',
201 '../third_party/libvpx/libvpx.gyp:libvpx',
202 '../third_party/libyuv/libyuv.gyp:libyuv',
203 '../third_party/opus/opus.gyp:opus',
204 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
205 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
206 '../ui/base/ui_base.gyp:ui_base',
207 '../ui/gfx/gfx.gyp:gfx',
208 '../ui/gfx/gfx.gyp:gfx_geometry',
209 'proto/chromotocol.gyp:chromotocol_proto_lib',
210 'remoting_resources',
212 'export_dependent_settings': [
213 '../base/base.gyp:base',
214 '../net/net.gyp:net',
215 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
216 'proto/chromotocol.gyp:chromotocol_proto_lib',
218 # This target needs a hard dependency because dependent targets
219 # depend on chromotocol_proto_lib for headers.
220 'hard_dependency': 1,
222 '<@(remoting_base_sources)',
223 '<@(remoting_codec_sources)',
225 }, # end of target 'remoting_base'
228 # GN version: //remoting/protocol
229 'target_name': 'remoting_protocol',
230 'type': 'static_library',
231 'variables': { 'enable_wexit_time_destructors': 1, },
233 '../base/base.gyp:base',
234 '../crypto/crypto.gyp:crypto',
235 '../jingle/jingle.gyp:jingle_glue',
236 '../jingle/jingle.gyp:notifier',
237 '../net/net.gyp:net',
238 '../third_party/expat/expat.gyp:expat',
239 '../third_party/libjingle/libjingle.gyp:libjingle',
242 'export_dependent_settings': [
243 '../third_party/libjingle/libjingle.gyp:libjingle',
246 '<@(remoting_protocol_sources)',
248 }, # end of target 'remoting_protocol'