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',
97 }, # end of target 'remoting_webapp'
100 'target_name': 'remoting_webapp_v1',
104 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
105 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
107 'includes': [ 'remoting_webapp.gypi', ],
108 }, # end of target 'remoting_webapp_v1'
111 'target_name': 'remoting_webapp_v2',
114 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
115 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
116 'extra_files': [ 'webapp/background.js' ],
119 ['disable_nacl==0 and disable_nacl_untrusted==0', {
121 'remoting_nacl.gyp:remoting_client_plugin_nacl',
124 'webapp_type': 'v2_pnacl',
126 'webapp/remoting_client_pnacl.nmf',
127 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
136 'includes': [ 'remoting_webapp.gypi', ],
137 }, # end of target 'remoting_webapp_v2'