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 # GN version: //remoting/base:breakpad
88 'target_name': 'remoting_breakpad',
89 'type': 'static_library',
90 'variables': { 'enable_wexit_time_destructors': 1, },
92 '../base/base.gyp:base',
96 'base/breakpad_linux.cc',
97 'base/breakpad_mac.mm',
98 'base/breakpad_win.cc',
103 '../breakpad/breakpad.gyp:breakpad',
108 '../breakpad/breakpad.gyp:breakpad_handler',
112 }, # end of target 'remoting_breakpad'
115 # GN version: //remoting/resources
116 'target_name': 'remoting_resources',
119 'remoting_webapp_html',
122 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)',
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/resources_unittest.cc',
130 'host/win/core.rc.jinja2',
131 'host/win/host_messages.mc.jinja2',
132 'host/win/version.rc.jinja2',
133 'resources/play_store_resources.cc',
134 '<@(desktop_remoting_webapp_localizable_files)',
135 '<@(app_remoting_webapp_localizable_files)',
140 # GN version: //remoting/resources:verify_resources
141 'action_name': 'verify_resources',
143 'resources/remoting_strings.grd',
144 'tools/verify_resources.py',
148 '<(PRODUCT_DIR)/remoting_resources_verified.stamp',
152 'tools/verify_resources.py',
153 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp',
154 '-r', 'resources/remoting_strings.grd',
159 # GN version: //remoting/resources:strings
160 'action_name': 'remoting_strings',
162 'grit_grd_file': 'resources/remoting_strings.grd',
164 'includes': [ '../build/grit_action.gypi' ],
167 # GN version: //remoting/resources:copy_locales
168 'action_name': 'copy_locales',
170 'copy_output_dir%': '<(PRODUCT_DIR)',
173 'tools/build/remoting_copy_locales.py',
174 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_dir) <(remoting_locales))'
177 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output_dir) <(remoting_locales))'
180 'python', 'tools/build/remoting_copy_locales.py',
182 '-g', '<(grit_out_dir)',
183 '-x', '<(copy_output_dir)/.',
184 '<@(remoting_locales)',
188 'includes': [ '../build/grit_target.gypi' ],
189 }, # end of target 'remoting_resources'
192 # GN version: //remoting/base and //remoting/codec
193 'target_name': 'remoting_base',
194 'type': 'static_library',
195 'variables': { 'enable_wexit_time_destructors': 1, },
197 '../base/base.gyp:base',
198 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
199 '../media/media.gyp:media',
200 '../media/media.gyp:shared_memory_support',
201 '../net/net.gyp:net',
202 '../third_party/libvpx_new/libvpx.gyp:libvpx_new',
203 '../third_party/libyuv/libyuv.gyp:libyuv',
204 '../third_party/opus/opus.gyp:opus',
205 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
206 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
207 '../ui/base/ui_base.gyp:ui_base',
208 '../ui/gfx/gfx.gyp:gfx',
209 '../ui/gfx/gfx.gyp:gfx_geometry',
210 'proto/chromotocol.gyp:chromotocol_proto_lib',
211 'remoting_resources',
213 'export_dependent_settings': [
214 '../base/base.gyp:base',
215 '../net/net.gyp:net',
216 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
217 'proto/chromotocol.gyp:chromotocol_proto_lib',
219 # This target needs a hard dependency because dependent targets
220 # depend on chromotocol_proto_lib for headers.
221 'hard_dependency': 1,
223 '<@(remoting_base_sources)',
224 '<@(remoting_codec_sources)',
226 }, # end of target 'remoting_base'
229 # GN version: //remoting/protocol
230 'target_name': 'remoting_protocol',
231 'type': 'static_library',
232 'variables': { 'enable_wexit_time_destructors': 1, },
234 '../base/base.gyp:base',
235 '../crypto/crypto.gyp:crypto',
236 '../jingle/jingle.gyp:jingle_glue',
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)',
247 '<@(remoting_signaling_sources)',
249 }, # end of target 'remoting_protocol'