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',
45 '../third_party/libwebm/libwebm.gyp:libwebm',
48 '<@(remoting_client_sources)',
50 }, # end of target 'remoting_client'
53 'target_name': 'remoting_webapp_html',
57 # GN version: //remoting/webapp:html
58 'action_name': 'Build Remoting Webapp main.html',
60 'webapp/build-html.py',
61 '<(remoting_webapp_template_main)',
62 '<@(remoting_webapp_template_files)',
65 '<(SHARED_INTERMEDIATE_DIR)/main.html',
68 'python', 'webapp/build-html.py',
69 '<(SHARED_INTERMEDIATE_DIR)/main.html',
70 '<(remoting_webapp_template_main)',
71 '--template', '<@(remoting_webapp_template_files)',
72 '--js', '<@(remoting_webapp_main_html_js_files)',
76 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
78 'webapp/build-html.py',
79 '<(remoting_webapp_template_wcs_sandbox)',
82 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
85 'python', 'webapp/build-html.py',
86 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
87 '<(remoting_webapp_template_wcs_sandbox)',
88 '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)',
92 'action_name': 'Build Remoting Webapp background.html',
94 'webapp/build-html.py',
95 '<(remoting_webapp_template_background)',
98 '<(SHARED_INTERMEDIATE_DIR)/background.html',
101 'python', 'webapp/build-html.py',
102 '<(SHARED_INTERMEDIATE_DIR)/background.html',
103 '<(remoting_webapp_template_background)',
104 '--js', '<@(remoting_webapp_background_js_files)',
108 }, # end of target 'remoting_webapp_html'
111 'target_name': 'remoting_webapp',
114 'remoting_webapp_v1',
115 'remoting_webapp_v2',
117 }, # end of target 'remoting_webapp'
120 'target_name': 'remoting_webapp_v1',
124 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
125 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
127 'includes': [ 'remoting_webapp.gypi', ],
128 }, # end of target 'remoting_webapp_v1'
131 'target_name': 'remoting_webapp_v2',
134 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
135 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
138 ['disable_nacl==0 and disable_nacl_untrusted==0', {
140 'remoting_nacl.gyp:remoting_client_plugin_nacl',
143 'webapp_type': 'v2_pnacl',
145 'webapp/remoting_client_pnacl.nmf',
146 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
155 'includes': [ 'remoting_webapp.gypi', ],
156 }, # end of target 'remoting_webapp_v2'