blob: aa4cf13d3bcbdcfca5c0de82d8800445fb0ec289 [file] [log] [blame]
[email protected]c5b34a812014-01-29 22:41:451# 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.
4
5{
6 'targets': [
7 {
Brett Wilson1c693992014-08-25 19:10:018 # GN version: //remoting/client/plugin
[email protected]c5b34a812014-01-29 22:41:459 'target_name': 'remoting_client_plugin',
10 'type': 'static_library',
11 'variables': { 'enable_wexit_time_destructors': 1, },
12 'defines': [
13 'HAVE_STDINT_H', # Required by on2_integer.h
14 ],
15 'dependencies': [
16 '../net/net.gyp:net',
17 '../ppapi/ppapi.gyp:ppapi_cpp_objects',
[email protected]01167112014-08-05 19:53:2018 '../ppapi/ppapi.gyp:ppapi_internal_module',
[email protected]c5b34a812014-01-29 22:41:4519 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
20 '../ui/events/events.gyp:dom4_keycode_converter',
21 'remoting_base',
22 'remoting_client',
23 'remoting_protocol',
24 ],
25 'sources': [
[email protected]563c444d2014-02-20 17:07:0426 '<@(remoting_client_plugin_sources)',
[email protected]c5b34a812014-01-29 22:41:4527 'client/plugin/pepper_entrypoints.cc',
28 'client/plugin/pepper_entrypoints.h',
[email protected]c5b34a812014-01-29 22:41:4529 ],
[email protected]c5b34a812014-01-29 22:41:4530 }, # end of target 'remoting_client_plugin'
31
32 {
Brett Wilson1c693992014-08-25 19:10:0133 # GN version: //remoting/client
[email protected]c5b34a812014-01-29 22:41:4534 'target_name': 'remoting_client',
35 'type': 'static_library',
36 'variables': { 'enable_wexit_time_destructors': 1, },
[email protected]330305852014-05-09 20:48:5837 'defines': [
38 'VERSION=<(version_full)',
39 ],
[email protected]c5b34a812014-01-29 22:41:4540 'dependencies': [
41 'remoting_base',
42 'remoting_protocol',
43 '../third_party/libyuv/libyuv.gyp:libyuv',
44 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
[email protected]c5b34a812014-01-29 22:41:4545 ],
46 'sources': [
[email protected]563c444d2014-02-20 17:07:0447 '<@(remoting_client_sources)',
[email protected]c5b34a812014-01-29 22:41:4548 ],
49 }, # end of target 'remoting_client'
50
[email protected]5e0914992014-02-27 18:55:2851 {
52 'target_name': 'remoting_webapp_html',
53 'type': 'none',
54 'actions': [
55 {
Brett Wilson1c693992014-08-25 19:10:0156 # GN version: //remoting/webapp:html
[email protected]5e0914992014-02-27 18:55:2857 'action_name': 'Build Remoting Webapp main.html',
58 'inputs': [
59 'webapp/build-html.py',
60 '<(remoting_webapp_template_main)',
61 '<@(remoting_webapp_template_files)',
62 ],
63 'outputs': [
64 '<(SHARED_INTERMEDIATE_DIR)/main.html',
65 ],
66 'action': [
67 'python', 'webapp/build-html.py',
68 '<(SHARED_INTERMEDIATE_DIR)/main.html',
69 '<(remoting_webapp_template_main)',
garykacc24f9022015-01-17 00:22:3570 '--template-dir', '<(DEPTH)/remoting',
71 '--templates', '<@(remoting_webapp_template_files)',
garykac7b15ac052014-12-02 03:12:3772 '--js',
garykac9547d1f2015-03-06 19:42:5573 '<@(remoting_webapp_crd_main_html_all_js_files)',
[email protected]5e0914992014-02-27 18:55:2874 ],
75 },
76 {
77 'action_name': 'Build Remoting Webapp wcs_sandbox.html',
78 'inputs': [
79 'webapp/build-html.py',
80 '<(remoting_webapp_template_wcs_sandbox)',
81 ],
82 'outputs': [
83 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
84 ],
85 'action': [
86 'python', 'webapp/build-html.py',
87 '<(SHARED_INTERMEDIATE_DIR)/wcs_sandbox.html',
88 '<(remoting_webapp_template_wcs_sandbox)',
garykac9547d1f2015-03-06 19:42:5589 '--js', '<@(remoting_webapp_wcs_sandbox_html_all_js_files)',
[email protected]5e0914992014-02-27 18:55:2890 ],
91 },
[email protected]f34acc692014-08-12 22:47:1492 {
93 'action_name': 'Build Remoting Webapp background.html',
94 'inputs': [
95 'webapp/build-html.py',
96 '<(remoting_webapp_template_background)',
97 ],
98 'outputs': [
99 '<(SHARED_INTERMEDIATE_DIR)/background.html',
100 ],
101 'action': [
102 'python', 'webapp/build-html.py',
103 '<(SHARED_INTERMEDIATE_DIR)/background.html',
104 '<(remoting_webapp_template_background)',
garykac9547d1f2015-03-06 19:42:55105 '--js', '<@(remoting_webapp_background_html_all_js_files)',
[email protected]f34acc692014-08-12 22:47:14106 ],
107 },
garykac9547d1f2015-03-06 19:42:55108 {
109 'action_name': 'Build Remoting Webapp message_window.html',
110 'inputs': [
111 'webapp/build-html.py',
112 '<(remoting_webapp_template_message_window)',
113 ],
114 'outputs': [
115 '<(SHARED_INTERMEDIATE_DIR)/message_window.html',
116 ],
117 'action': [
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)',
122 ],
123 },
124 ], # end of actions
[email protected]5e0914992014-02-27 18:55:28125 }, # end of target 'remoting_webapp_html'
126
127 {
128 'target_name': 'remoting_webapp',
129 'type': 'none',
130 'dependencies': [
131 'remoting_webapp_v1',
[email protected]40a7c0a2014-03-01 05:00:54132 'remoting_webapp_v2',
[email protected]5e0914992014-02-27 18:55:28133 ],
sergeyuac752bf2015-01-23 19:09:10134 'conditions': [
135 ['disable_nacl==0 and disable_nacl_untrusted==0', {
136 'dependencies': [
137 'remoting_webapp_v2_pnacl',
138 ],
139 }]
140 ],
[email protected]5e0914992014-02-27 18:55:28141 }, # end of target 'remoting_webapp'
142
143 {
144 'target_name': 'remoting_webapp_v1',
145 'type': 'none',
146 'variables': {
[email protected]40a7c0a2014-03-01 05:00:54147 'webapp_type': 'v1',
[email protected]5e0914992014-02-27 18:55:28148 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
149 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
150 },
151 'includes': [ 'remoting_webapp.gypi', ],
152 }, # end of target 'remoting_webapp_v1'
153
[email protected]40a7c0a2014-03-01 05:00:54154 {
155 'target_name': 'remoting_webapp_v2',
156 'type': 'none',
157 'variables': {
[email protected]40a7c0a2014-03-01 05:00:54158 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2',
159 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
sergeyuac752bf2015-01-23 19:09:10160 'webapp_type': 'v2',
[email protected]40a7c0a2014-03-01 05:00:54161 },
sergeyuac752bf2015-01-23 19:09:10162 'includes': [ 'remoting_webapp.gypi', ],
163 }, # end of target 'remoting_webapp_v2'
164 ], # end of targets
165
166 'conditions': [
167 ['disable_nacl==0 and disable_nacl_untrusted==0', {
168 'targets': [
169 {
170 'target_name': 'remoting_webapp_v2_pnacl',
171 'type': 'none',
[email protected]f89ee432014-06-21 01:08:47172 'variables': {
sergeyuac752bf2015-01-23 19:09:10173 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl',
174 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip',
[email protected]f89ee432014-06-21 01:08:47175 'webapp_type': 'v2_pnacl',
176 'extra_files': [
sergeyua0f66622015-02-05 21:00:27177 'webapp/crd/remoting_client_pnacl.nmf.jinja2',
[email protected]f89ee432014-06-21 01:08:47178 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe',
179 ],
180 },
sergeyuac752bf2015-01-23 19:09:10181 'dependencies': [
182 'remoting_nacl.gyp:remoting_client_plugin_nacl',
183 ],
sergeyua0f66622015-02-05 21:00:27184 'conditions': [
185 ['buildtype == "Dev"', {
186 'variables': {
187 'extra_files': [
188 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug',
189 ],
190 },
191 }],
192 ],
sergeyuac752bf2015-01-23 19:09:10193 'includes': [ 'remoting_webapp.gypi', ],
194 }, # end of target 'remoting_webapp_v2_pnacl'
[email protected]f89ee432014-06-21 01:08:47195 ],
sergeyuac752bf2015-01-23 19:09:10196 }],
197 ],
[email protected]c5b34a812014-01-29 22:41:45198}