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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 ], | 122 ], |
123 }, | 123 }, |
124 ], # end of actions | 124 ], # end of actions |
125 }, # end of target 'remoting_webapp_html' | 125 }, # end of target 'remoting_webapp_html' |
126 | 126 |
127 { | 127 { |
128 'target_name': 'remoting_webapp', | 128 'target_name': 'remoting_webapp', |
129 'type': 'none', | 129 'type': 'none', |
130 'dependencies': [ | 130 'dependencies': [ |
131 'remoting_webapp_v1', | 131 'remoting_webapp_v1', |
132 'remoting_webapp_v2', | |
133 ], | 132 ], |
134 'conditions': [ | 133 'conditions': [ |
135 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 134 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
136 'dependencies': [ | 135 'dependencies': [ |
137 'remoting_webapp_v2_pnacl', | 136 'remoting_webapp_v2', |
138 ], | 137 ], |
139 }] | 138 }] |
140 ], | 139 ], |
141 }, # end of target 'remoting_webapp' | 140 }, # end of target 'remoting_webapp' |
142 | 141 |
143 { | 142 { |
144 'target_name': 'remoting_webapp_v1', | 143 'target_name': 'remoting_webapp_v1', |
145 'type': 'none', | 144 'type': 'none', |
146 'variables': { | 145 'variables': { |
147 'webapp_type': 'v1', | 146 'webapp_type': 'v1', |
148 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', | 147 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', |
149 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', | 148 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', |
150 }, | 149 }, |
151 'includes': [ 'remoting_webapp.gypi', ], | 150 'includes': [ 'remoting_webapp.gypi', ], |
152 }, # end of target 'remoting_webapp_v1' | 151 }, # end of target 'remoting_webapp_v1' |
153 | |
154 { | |
155 'target_name': 'remoting_webapp_v2', | |
156 'type': 'none', | |
157 'variables': { | |
158 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2', | |
159 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip', | |
160 'webapp_type': 'v2', | |
161 }, | |
162 'includes': [ 'remoting_webapp.gypi', ], | |
163 }, # end of target 'remoting_webapp_v2' | |
164 ], # end of targets | 152 ], # end of targets |
165 | 153 |
166 'conditions': [ | 154 'conditions': [ |
167 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 155 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
168 'targets': [ | 156 'targets': [ |
169 { | 157 { |
170 'target_name': 'remoting_webapp_v2_pnacl', | 158 'target_name': 'remoting_webapp_v2', |
171 'type': 'none', | 159 'type': 'none', |
172 'variables': { | 160 'variables': { |
173 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl', | 161 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp.v2_pnacl', |
174 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip', | 162 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2_pnacl.zip', |
175 'webapp_type': 'v2_pnacl', | 163 'webapp_type': 'v2_pnacl', |
176 'extra_files': [ | 164 'extra_files': [ |
177 'webapp/crd/remoting_client_pnacl.nmf.jinja2', | 165 'webapp/crd/remoting_client_pnacl.nmf.jinja2', |
178 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', | 166 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe', |
179 ], | 167 ], |
180 }, | 168 }, |
181 'dependencies': [ | 169 'dependencies': [ |
182 'remoting_nacl.gyp:remoting_client_plugin_nacl', | 170 'remoting_nacl.gyp:remoting_client_plugin_nacl', |
183 ], | 171 ], |
184 'conditions': [ | 172 'conditions': [ |
185 ['buildtype == "Dev"', { | 173 ['buildtype == "Dev"', { |
186 'variables': { | 174 'variables': { |
187 'extra_files': [ | 175 'extra_files': [ |
188 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', | 176 '<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe.debug', |
189 ], | 177 ], |
190 }, | 178 }, |
191 }], | 179 }], |
192 ], | 180 ], |
193 'includes': [ 'remoting_webapp.gypi', ], | 181 'includes': [ 'remoting_webapp.gypi', ], |
194 }, # end of target 'remoting_webapp_v2_pnacl' | 182 }, # end of target 'remoting_webapp_v2' |
195 ], | 183 ], |
196 }], | 184 }], |
197 ], | 185 ], |
198 } | 186 } |
OLD | NEW |