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 'target_name': 'remoting_client_plugin',
9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, },
12 'HAVE_STDINT_H', # Required by on2_integer.h
16 '../ppapi/ppapi.gyp:ppapi_cpp_objects',
17 '../ppapi/ppapi.gyp:ppapi_internal_module',
18 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
19 '../ui/events/events.gyp:dom4_keycode_converter',
25 '<@(remoting_client_plugin_sources)',
26 'client/plugin/pepper_entrypoints.cc',
27 'client/plugin/pepper_entrypoints.h',
29 }, # end of target 'remoting_client_plugin'
32 'target_name': 'remoting_client',
33 'type': 'static_library',
34 'variables': { 'enable_wexit_time_destructors': 1, },
36 'VERSION=<(version_full)',
41 '../third_party/libyuv/libyuv.gyp:libyuv',
42 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
43 '../third_party/libwebm/libwebm.gyp:libwebm',
46 '<@(remoting_client_sources)',
48 }, # end of target 'remoting_client'
51 'target_name': 'remoting_webapp_html',
55 'action_name': 'Build Remoting Webapp main.html',
57 'webapp/build-html.py',
58 '<(remoting_webapp_template_main)',
59 '<@(remoting_webapp_template_files)',
62 '<(SHARED_INTERMEDIATE_DIR)/main.html',
65 'python', 'webapp/build-html.py',
66 '<(SHARED_INTERMEDIATE_DIR)/main.html',
67 '<(remoting_webapp_template_main)',
68 '--template', '<@(remoting_webapp_template_files)',
69 '--js', '<@(remoting_webapp_main_html_js_files)',
73 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
75 'webapp/build-html.py',
76 '<(remoting_webapp_template_wcs_sandbox)',
79 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
82 'python', 'webapp/build-html.py',
83 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
84 '<(remoting_webapp_template_wcs_sandbox)',
85 '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)',
89 'action_name': 'Build Remoting Webapp background.html',
91 'webapp/build-html.py',
92 '<(remoting_webapp_template_background)',
95 '<(SHARED_INTERMEDIATE_DIR)/background.html',
98 'python', 'webapp/build-html.py',
99 '<(SHARED_INTERMEDIATE_DIR)/background.html',
100 '<(remoting_webapp_template_background)',
101 '--js', '<@(remoting_webapp_background_js_files)',
105 }, # end of target 'remoting_webapp_html'
108 'target_name': 'remoting_webapp',
111 'remoting_webapp_v1',
112 'remoting_webapp_v2',
114 }, # end of target 'remoting_webapp'
117 'target_name': 'remoting_webapp_v1',
121 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
122 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
124 'includes': [ 'remoting_webapp.gypi', ],
125 }, # end of target 'remoting_webapp_v1'
128 'target_name': 'remoting_webapp_v2',
131 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
132 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
135 ['disable_nacl==0 and disable_nacl_untrusted==0', {
137 'remoting_nacl.gyp:remoting_client_plugin_nacl',
140 'webapp_type': 'v2_pnacl',
142 'webapp/remoting_client_pnacl.nmf',
143 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
152 'includes': [ 'remoting_webapp.gypi', ],
153 }, # end of target 'remoting_webapp_v2'