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 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
18 '../ui/events/events.gyp:dom4_keycode_converter',
24 '<@(remoting_client_plugin_sources)',
25 'client/plugin/pepper_entrypoints.cc',
26 'client/plugin/pepper_entrypoints.h',
28 }, # end of target 'remoting_client_plugin'
31 'target_name': 'remoting_client',
32 'type': 'static_library',
33 'variables': { 'enable_wexit_time_destructors': 1, },
35 'VERSION=<(version_full)',
40 '../third_party/libyuv/libyuv.gyp:libyuv',
41 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
42 '../third_party/libwebm/libwebm.gyp:libwebm',
45 '<@(remoting_client_sources)',
47 }, # end of target 'remoting_client'
50 'target_name': 'remoting_webapp_html',
54 'action_name': 'Build Remoting Webapp main.html',
56 'webapp/build-html.py',
57 '<(remoting_webapp_template_main)',
58 '<@(remoting_webapp_template_files)',
61 '<(SHARED_INTERMEDIATE_DIR)/main.html',
64 'python', 'webapp/build-html.py',
65 '<(SHARED_INTERMEDIATE_DIR)/main.html',
66 '<(remoting_webapp_template_main)',
67 '--template', '<@(remoting_webapp_template_files)',
68 '--js', '<@(remoting_webapp_main_html_js_files)',
72 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
74 'webapp/build-html.py',
75 '<(remoting_webapp_template_wcs_sandbox)',
78 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
81 'python', 'webapp/build-html.py',
82 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
83 '<(remoting_webapp_template_wcs_sandbox)',
84 '--js', '<@(remoting_webapp_wcs_sandbox_html_js_files)',
88 }, # end of target 'remoting_webapp_html'
91 'target_name': 'remoting_webapp',
98 ['disable_nacl==0 and disable_nacl_untrusted==0', {
100 'remoting_webapp_pnacl',
104 }, # end of target 'remoting_webapp'
107 'target_name': 'remoting_webapp_v1',
111 'include_host_plugin': '<(enable_remoting_host)',
112 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
113 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
115 'includes': [ 'remoting_webapp.gypi', ],
116 }, # end of target 'remoting_webapp_v1'
119 'target_name': 'remoting_webapp_v2',
123 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
124 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
125 'extra_files': [ 'webapp/background.js' ],
127 'includes': [ 'remoting_webapp.gypi', ],
128 }, # end of target 'remoting_webapp_v2'
132 ['disable_nacl==0 and disable_nacl_untrusted==0', {
135 'target_name': 'remoting_webapp_pnacl',
138 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.pnacl',
139 'zip_path': '<(PRODUCT_DIR)/remoting-webapp-pnacl.zip',
140 'extra_files': [ 'webapp/background.js' ],
141 'webapp_type': 'v2_pnacl',
143 'includes': [ 'remoting_webapp.gypi', ],
144 }, # end of target 'remoting_webapp_pnacl'