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/plugin
9 'target_name': 'remoting_client_plugin',
10 'type': 'static_library',
11 'variables': { 'enable_wexit_time_destructors': 1, },
13 'HAVE_STDINT_H', # Required by on2_integer.h
17 '../ppapi/ppapi.gyp:ppapi_cpp_objects',
18 '../ppapi/ppapi.gyp:ppapi_internal_module',
19 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
20 '../ui/events/events.gyp:dom4_keycode_converter',
26 '<@(remoting_client_plugin_sources)',
27 'client/plugin/pepper_entrypoints.cc',
28 'client/plugin/pepper_entrypoints.h',
30 }, # end of target 'remoting_client_plugin'
33 # GN version: //remoting/client
34 'target_name': 'remoting_client',
35 'type': 'static_library',
36 'variables': { 'enable_wexit_time_destructors': 1, },
38 'VERSION=<(version_full)',
43 '../third_party/libyuv/libyuv.gyp:libyuv',
44 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
47 '<@(remoting_client_sources)',
49 }, # end of target 'remoting_client'
52 'target_name': 'remoting_webapp_html',
56 # GN version: //remoting/webapp:html
57 'action_name': 'Build Remoting Webapp main.html',
59 'webapp/build-html.py',
60 '<(remoting_webapp_template_main)',
61 '<@(remoting_webapp_template_files)',
64 '<(SHARED_INTERMEDIATE_DIR)/main.html',
67 'python', 'webapp/build-html.py',
68 '<(SHARED_INTERMEDIATE_DIR)/main.html',
69 '<(remoting_webapp_template_main)',
70 '--template-dir', '<(DEPTH)/remoting',
71 '--templates', '<@(remoting_webapp_template_files)',
73 '<@(remoting_webapp_crd_main_html_all_js_files)',
77 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
79 'webapp/build-html.py',
80 '<(remoting_webapp_template_wcs_sandbox)',
83 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
86 'python', 'webapp/build-html.py',
87 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
88 '<(remoting_webapp_template_wcs_sandbox)',
89 '--js', '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
93 'action_name': 'Build Remoting Webapp background.html',
95 'webapp/build-html.py',
96 '<(remoting_webapp_template_background)',
99 '<(SHARED_INTERMEDIATE_DIR)/background.html',
102 'python', 'webapp/build-html.py',
103 '<(SHARED_INTERMEDIATE_DIR)/background.html',
104 '<(remoting_webapp_template_background)',
105 '--js', '<@(remoting_webapp_background_html_all_js_files)',
109 'action_name': 'Build Remoting Webapp message_window.html',
111 'webapp/build-html.py',
112 '<(remoting_webapp_template_message_window)',
115 '<(SHARED_INTERMEDIATE_DIR)/message_window.html',
118 'python', 'webapp/build-html.py',
119 '<(SHARED_INTERMEDIATE_DIR)/message_window.html',
120 '<(remoting_webapp_template_message_window)',
121 '--js', '<@(remoting_webapp_message_window_html_all_js_files)',
125 }, # end of target 'remoting_webapp_html'
128 'target_name': 'remoting_webapp',
131 'remoting_webapp_v1',
132 'remoting_webapp_v2',
135 ['disable_nacl==0 and disable_nacl_untrusted==0', {
137 'remoting_webapp_v2_pnacl',
141 }, # end of target 'remoting_webapp'
144 'target_name': 'remoting_webapp_v1',
148 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
149 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
151 'includes': [ 'remoting_webapp.gypi', ],
152 }, # end of target 'remoting_webapp_v1'
155 'target_name': 'remoting_webapp_v2',
158 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
159 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
162 'includes': [ 'remoting_webapp.gypi', ],
163 }, # end of target 'remoting_webapp_v2'
167 ['disable_nacl==0 and disable_nacl_untrusted==0', {
170 'target_name': 'remoting_webapp_v2_pnacl',
173 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl',
174 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip',
175 'webapp_type': 'v2_pnacl',
177 'webapp/crd/remoting_client_pnacl.nmf.jinja2',
178 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
182 'remoting_nacl.gyp:remoting_client_plugin_nacl',
185 ['buildtype == "Dev"', {
188 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug',
193 'includes': [ 'remoting_webapp.gypi', ],
194 }, # end of target 'remoting_webapp_v2_pnacl'