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
3 # found in the LICENSE file.
8 # GN version: //remoting/client
9 'target_name': 'remoting_client',
10 'type': 'static_library',
11 'variables': { 'enable_wexit_time_destructors': 1, },
13 'VERSION=<(version_full)',
18 '../third_party/libyuv/libyuv.gyp:libyuv',
19 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
22 '<@(remoting_client_sources)',
24 }, # end of target 'remoting_client'
27 # GN version: See remoting/webapp/build_template.gni
28 'target_name': 'remoting_webapp_html',
32 'action_name': 'Build Remoting Webapp main.html',
34 'webapp/build-html.py',
35 '<(remoting_webapp_template_main)',
36 '<@(remoting_webapp_template_files)',
39 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html',
42 'python', 'webapp/build-html.py',
43 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html',
44 '<(remoting_webapp_template_main)',
45 '--template-dir', '<(DEPTH)/remoting',
46 '--templates', '<@(remoting_webapp_template_files)',
48 '<@(remoting_webapp_crd_main_html_all_js_files)',
52 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
54 'webapp/build-html.py',
55 '<(remoting_webapp_template_wcs_sandbox)',
58 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html',
61 'python', 'webapp/build-html.py',
62 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html',
63 '<(remoting_webapp_template_wcs_sandbox)',
64 '--js', '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
68 'action_name': 'Build Remoting Webapp background.html',
70 'webapp/build-html.py',
71 '<(remoting_webapp_template_background)',
74 '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html',
77 'python', 'webapp/build-html.py',
78 '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html',
79 '<(remoting_webapp_template_background)',
80 '--js', '<@(remoting_webapp_background_html_all_js_files)',
84 'action_name': 'Build Remoting Webapp message_window.html',
86 'webapp/build-html.py',
87 '<(remoting_webapp_template_message_window)',
90 '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html',
93 'python', 'webapp/build-html.py',
94 '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html',
95 '<(remoting_webapp_template_message_window)',
96 '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
100 }, # end of target 'remoting_webapp_html'
103 # GN version: //remoting/webapp:credits
104 'target_name': 'remoting_client_credits',
108 'action_name': 'Build remoting client credits',
110 '../tools/licenses.py',
111 'webapp/base/html/credits.tmpl',
112 'webapp/base/html/credits_entry.tmpl',
115 '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html',
117 'hard_dependency': 1,
119 '../tools/licenses.py',
121 '<(SHARED_INTERMEDIATE_DIR)/remoting/credits.html',
122 '--file-template', 'webapp/base/html/credits.tmpl',
123 '--entry-template', 'webapp/base/html/credits_entry.tmpl',
130 # GN version: //remoting/webapp
131 'target_name': 'remoting_webapp',
134 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
135 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
136 'webapp_type': 'desktop',
138 'webapp/crd/remoting_client_pnacl.nmf.jinja2',
142 ['disable_nacl==0 and disable_nacl_untrusted==0', {
145 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
149 'remoting_nacl.gyp:remoting_client_plugin_nacl',
152 ['disable_nacl==0 and disable_nacl_untrusted==0 and buildtype == "Dev"', {
155 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug',
160 'includes': [ 'remoting_webapp.gypi', ],
161 }, # end of target 'remoting_webapp'