OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //remoting/client/plugin | 8 # GN version: //remoting/client/plugin |
9 'target_name': 'remoting_client_plugin', | 9 'target_name': 'remoting_client_plugin', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'remoting_protocol', | 42 'remoting_protocol', |
43 '../third_party/libyuv/libyuv.gyp:libyuv', | 43 '../third_party/libyuv/libyuv.gyp:libyuv', |
44 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 44 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
45 ], | 45 ], |
46 'sources': [ | 46 'sources': [ |
47 '<@(remoting_client_sources)', | 47 '<@(remoting_client_sources)', |
48 ], | 48 ], |
49 }, # end of target 'remoting_client' | 49 }, # end of target 'remoting_client' |
50 | 50 |
51 { | 51 { |
52 # GN version: //remoting/webapp:html | 52 # GN version: See remoting/webapp/build_template.gni |
53 'target_name': 'remoting_webapp_html', | 53 'target_name': 'remoting_webapp_html', |
54 'type': 'none', | 54 'type': 'none', |
55 'actions': [ | 55 'actions': [ |
56 { | 56 { |
57 # GN version: //remoting/webapp:main_html | |
58 'action_name': 'Build Remoting Webapp main.html', | 57 'action_name': 'Build Remoting Webapp main.html', |
59 'inputs': [ | 58 'inputs': [ |
60 'webapp/build-html.py', | 59 'webapp/build-html.py', |
61 '<(remoting_webapp_template_main)', | 60 '<(remoting_webapp_template_main)', |
62 '<@(remoting_webapp_template_files)', | 61 '<@(remoting_webapp_template_files)', |
63 ], | 62 ], |
64 'outputs': [ | 63 'outputs': [ |
65 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html', | 64 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html', |
66 ], | 65 ], |
67 'action': [ | 66 'action': [ |
68 'python', 'webapp/build-html.py', | 67 'python', 'webapp/build-html.py', |
69 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html', | 68 '<(SHARED_INTERMEDIATE_DIR)/remoting/main.html', |
70 '<(remoting_webapp_template_main)', | 69 '<(remoting_webapp_template_main)', |
71 '--template-dir', '<(DEPTH)/remoting', | 70 '--template-dir', '<(DEPTH)/remoting', |
72 '--templates', '<@(remoting_webapp_template_files)', | 71 '--templates', '<@(remoting_webapp_template_files)', |
73 '--js', | 72 '--js', |
74 '<@(remoting_webapp_crd_main_html_all_js_files)', | 73 '<@(remoting_webapp_crd_main_html_all_js_files)', |
75 ], | 74 ], |
76 }, | 75 }, |
77 { | 76 { |
78 # GN version: //remoting/webapp:wcs_sandbox_html | |
79 'action_name': 'Build Remoting Webapp wcs_sandbox.html', | 77 'action_name': 'Build Remoting Webapp wcs_sandbox.html', |
80 'inputs': [ | 78 'inputs': [ |
81 'webapp/build-html.py', | 79 'webapp/build-html.py', |
82 '<(remoting_webapp_template_wcs_sandbox)', | 80 '<(remoting_webapp_template_wcs_sandbox)', |
83 ], | 81 ], |
84 'outputs': [ | 82 'outputs': [ |
85 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html', | 83 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html', |
86 ], | 84 ], |
87 'action': [ | 85 'action': [ |
88 'python', 'webapp/build-html.py', | 86 'python', 'webapp/build-html.py', |
89 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html', | 87 '<(SHARED_INTERMEDIATE_DIR)/remoting/wcs_sandbox.html', |
90 '<(remoting_webapp_template_wcs_sandbox)', | 88 '<(remoting_webapp_template_wcs_sandbox)', |
91 '--js', '<@(remoting_webapp_wcs_sandbox_html_all_js_files)', | 89 '--js', '<@(remoting_webapp_wcs_sandbox_html_all_js_files)', |
92 ], | 90 ], |
93 }, | 91 }, |
94 { | 92 { |
95 # GN version: //remoting/webapp:background_html | |
96 'action_name': 'Build Remoting Webapp background.html', | 93 'action_name': 'Build Remoting Webapp background.html', |
97 'inputs': [ | 94 'inputs': [ |
98 'webapp/build-html.py', | 95 'webapp/build-html.py', |
99 '<(remoting_webapp_template_background)', | 96 '<(remoting_webapp_template_background)', |
100 ], | 97 ], |
101 'outputs': [ | 98 'outputs': [ |
102 '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html', | 99 '<(SHARED_INTERMEDIATE_DIR)/remoting/background.html', |
103 ], | 100 ], |
104 'action': [ | 101 'action': [ |
105 'python', 'webapp/build-html.py', | 102 'python', 'webapp/build-html.py', |
(...skipping 15 matching lines...) Expand all Loading... |
121 'python', 'webapp/build-html.py', | 118 'python', 'webapp/build-html.py', |
122 '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html', | 119 '<(SHARED_INTERMEDIATE_DIR)/remoting/message_window.html', |
123 '<(remoting_webapp_template_message_window)', | 120 '<(remoting_webapp_template_message_window)', |
124 '--js', '<@(remoting_webapp_message_window_html_all_js_files)', | 121 '--js', '<@(remoting_webapp_message_window_html_all_js_files)', |
125 ], | 122 ], |
126 }, | 123 }, |
127 ], # end of actions | 124 ], # end of actions |
128 }, # end of target 'remoting_webapp_html' | 125 }, # end of target 'remoting_webapp_html' |
129 | 126 |
130 { | 127 { |
| 128 # GN version: //remoting/webapp:webapp |
131 'target_name': 'remoting_webapp', | 129 'target_name': 'remoting_webapp', |
132 'type': 'none', | 130 'type': 'none', |
133 'dependencies': [ | 131 'dependencies': [ |
134 'remoting_webapp_v1', | 132 'remoting_webapp_v1', |
135 ], | 133 ], |
136 'conditions': [ | 134 'conditions': [ |
137 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 135 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
138 'dependencies': [ | 136 'dependencies': [ |
139 'remoting_webapp_v2', | 137 'remoting_webapp_v2', |
140 ], | 138 ], |
141 }] | 139 }] |
142 ], | 140 ], |
143 }, # end of target 'remoting_webapp' | 141 }, # end of target 'remoting_webapp' |
144 | 142 |
145 { | 143 { |
| 144 # GN version: //remoting/webapp:webapp_v1 |
146 'target_name': 'remoting_webapp_v1', | 145 'target_name': 'remoting_webapp_v1', |
147 'type': 'none', | 146 'type': 'none', |
148 'variables': { | 147 'variables': { |
149 'webapp_type': 'v1', | 148 'webapp_type': 'v1', |
150 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 149 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
151 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 150 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
152 }, | 151 }, |
153 'includes': [ 'remoting_webapp.gypi', ], | 152 'includes': [ 'remoting_webapp.gypi', ], |
154 }, # end of target 'remoting_webapp_v1' | 153 }, # end of target 'remoting_webapp_v1' |
155 ], # end of targets | 154 ], # end of targets |
156 | 155 |
157 'conditions': [ | 156 'conditions': [ |
158 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 157 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
159 'targets': [ | 158 'targets': [ |
160 { | 159 { |
| 160 # GN version: //remoting/webapp:webapp_v1 |
161 'target_name': 'remoting_webapp_v2', | 161 'target_name': 'remoting_webapp_v2', |
162 'type': 'none', | 162 'type': 'none', |
163 'variables': { | 163 'variables': { |
164 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | 164 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', |
165 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | 165 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', |
166 'webapp_type': 'v2_pnacl', | 166 'webapp_type': 'v2_pnacl', |
167 'extra_files': [ | 167 'extra_files': [ |
168 'webapp/crd/remoting_client_pnacl.nmf.jinja2', | 168 'webapp/crd/remoting_client_pnacl.nmf.jinja2', |
169 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 169 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
170 ], | 170 ], |
171 }, | 171 }, |
172 'dependencies': [ | 172 'dependencies': [ |
173 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 173 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
174 ], | 174 ], |
175 'conditions': [ | 175 'conditions': [ |
176 ['buildtype == "Dev"', { | 176 ['buildtype == "Dev"', { |
177 'variables': { | 177 'variables': { |
178 'extra_files': [ | 178 'extra_files': [ |
179 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', | 179 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', |
180 ], | 180 ], |
181 }, | 181 }, |
182 }], | 182 }], |
183 ], | 183 ], |
184 'includes': [ 'remoting_webapp.gypi', ], | 184 'includes': [ 'remoting_webapp.gypi', ], |
185 }, # end of target 'remoting_webapp_v2' | 185 }, # end of target 'remoting_webapp_v2' |
186 ], | 186 ], |
187 }], | 187 }], |
188 ], | 188 ], |
189 } | 189 } |
OLD | NEW |