OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 config("proxy_implementation") { | 5 config("proxy_implementation") { |
6 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] | 6 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] |
7 } | 7 } |
8 | 8 |
9 component("proxy") { | 9 component("proxy") { |
10 output_name = "ppapi_proxy" | 10 output_name = "ppapi_proxy" |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 "udp_socket_resource_base.h", | 177 "udp_socket_resource_base.h", |
178 "uma_private_resource.cc", | 178 "uma_private_resource.cc", |
179 "uma_private_resource.h", | 179 "uma_private_resource.h", |
180 "url_loader_resource.cc", | 180 "url_loader_resource.cc", |
181 "url_loader_resource.h", | 181 "url_loader_resource.h", |
182 "url_request_info_resource.cc", | 182 "url_request_info_resource.cc", |
183 "url_request_info_resource.h", | 183 "url_request_info_resource.h", |
184 "url_response_info_resource.cc", | 184 "url_response_info_resource.cc", |
185 "url_response_info_resource.h", | 185 "url_response_info_resource.h", |
186 "var_serialization_rules.h", | 186 "var_serialization_rules.h", |
| 187 "video_decoder_resource.cc", |
| 188 "video_decoder_resource.h", |
187 "video_destination_resource.cc", | 189 "video_destination_resource.cc", |
188 "video_destination_resource.h", | 190 "video_destination_resource.h", |
| 191 "video_encoder_resource.cc", |
| 192 "video_encoder_resource.h", |
189 "video_frame_resource.cc", | 193 "video_frame_resource.cc", |
190 "video_frame_resource.h", | 194 "video_frame_resource.h", |
191 "video_source_resource.cc", | 195 "video_source_resource.cc", |
192 "video_source_resource.h", | 196 "video_source_resource.h", |
193 "websocket_resource.cc", | 197 "websocket_resource.cc", |
194 "websocket_resource.h", | 198 "websocket_resource.h", |
195 ] | 199 ] |
196 | 200 |
197 if (is_nacl) { | 201 if (is_nacl) { |
198 sources += [ | 202 sources += [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 "ppp_content_decryptor_private_proxy.cc", | 255 "ppp_content_decryptor_private_proxy.cc", |
252 "ppp_content_decryptor_private_proxy.h", | 256 "ppp_content_decryptor_private_proxy.h", |
253 "ppp_instance_private_proxy.cc", | 257 "ppp_instance_private_proxy.cc", |
254 "ppp_instance_private_proxy.h", | 258 "ppp_instance_private_proxy.h", |
255 "ppp_video_decoder_proxy.cc", | 259 "ppp_video_decoder_proxy.cc", |
256 "ppp_video_decoder_proxy.h", | 260 "ppp_video_decoder_proxy.h", |
257 "talk_resource.cc", | 261 "talk_resource.cc", |
258 "talk_resource.h", | 262 "talk_resource.h", |
259 "video_capture_resource.cc", | 263 "video_capture_resource.cc", |
260 "video_capture_resource.h", | 264 "video_capture_resource.h", |
261 "video_decoder_resource.cc", | |
262 "video_decoder_resource.h", | |
263 "video_encoder_resource.cc", | |
264 "video_encoder_resource.h", | |
265 ] | 265 ] |
266 } | 266 } |
267 | 267 |
268 configs += [ ":proxy_implementation" ] | 268 configs += [ ":proxy_implementation" ] |
269 | 269 |
270 deps = [ | 270 deps = [ |
271 "//base", | 271 "//base", |
272 "//base/third_party/dynamic_annotations", | |
273 "//gin", | |
274 "//gpu/command_buffer/client:gles2_implementation", | 272 "//gpu/command_buffer/client:gles2_implementation", |
275 "//gpu/ipc", | 273 "//gpu/ipc", |
276 "//ipc", | 274 "//ipc", |
277 "//media:shared_memory_support", | 275 "//media:shared_memory_support", |
278 "//ppapi/c", | 276 "//ppapi/c", |
279 "//ppapi/proxy:ipc", | 277 "//ppapi/proxy:ipc", |
280 "//ppapi/shared_impl", | 278 "//ppapi/shared_impl", |
281 "//skia", | |
282 "//third_party/icu", | 279 "//third_party/icu", |
283 "//ui/events:events_base", | |
284 "//ui/surface", | |
285 ] | 280 ] |
286 | 281 |
287 # TODO(GYP) support chrome_multiple_dll | 282 if (is_nacl) { |
288 #if (chrome_multiple_dll) { | 283 deps += [ |
289 # deps += [ "//third_party/WebKit/public:blink_minimal" ] | 284 "//ui/events:latency_info", |
290 #} else { | 285 "//mojo/nacl:mojo", |
291 deps += [ "//third_party/WebKit/public:blink" ] | 286 ] |
292 | 287 } else { |
293 #} | 288 deps += [ |
| 289 "//base/third_party/dynamic_annotations", |
| 290 "//gin", |
| 291 "//skia", |
| 292 "//ui/events:events_base", |
| 293 "//ui/surface", |
| 294 ] |
| 295 } |
294 } | 296 } |
295 | 297 |
296 source_set("ipc") { | 298 source_set("ipc") { |
297 sources = [ | 299 sources = [ |
298 "nacl_message_scanner.cc", | 300 "nacl_message_scanner.cc", |
299 "nacl_message_scanner.h", | 301 "nacl_message_scanner.h", |
300 "ppapi_messages.cc", | 302 "ppapi_messages.cc", |
301 "ppapi_messages.h", | 303 "ppapi_messages.h", |
302 "ppapi_param_traits.cc", | 304 "ppapi_param_traits.cc", |
303 "ppapi_param_traits.h", | 305 "ppapi_param_traits.h", |
(...skipping 16 matching lines...) Expand all Loading... |
320 } | 322 } |
321 | 323 |
322 configs += [ ":proxy_implementation" ] | 324 configs += [ ":proxy_implementation" ] |
323 | 325 |
324 deps = [ | 326 deps = [ |
325 "//base", | 327 "//base", |
326 "//gpu/ipc", | 328 "//gpu/ipc", |
327 "//ipc", | 329 "//ipc", |
328 "//ppapi/c", | 330 "//ppapi/c", |
329 "//ppapi/shared_impl", | 331 "//ppapi/shared_impl", |
330 "//skia", | |
331 "//ui/events/ipc", | |
332 ] | 332 ] |
| 333 if (!is_nacl) { |
| 334 deps += [ |
| 335 "//skia", |
| 336 "//ui/events/ipc", |
| 337 ] |
| 338 } |
333 } | 339 } |
334 | 340 |
335 source_set("test_support") { | 341 source_set("test_support") { |
336 testonly = true | 342 testonly = true |
337 | 343 |
338 sources = [ | 344 sources = [ |
339 "ppapi_proxy_test.cc", | 345 "ppapi_proxy_test.cc", |
340 "ppapi_proxy_test.h", | 346 "ppapi_proxy_test.h", |
341 "resource_message_test_sink.cc", | 347 "resource_message_test_sink.cc", |
342 "resource_message_test_sink.h", | 348 "resource_message_test_sink.h", |
343 ] | 349 ] |
344 | 350 |
345 deps = [ | 351 deps = [ |
346 "//base/test:test_support", | 352 "//base/test:test_support", |
347 "//ipc", | 353 "//ipc", |
348 "//ipc:test_support", | 354 "//ipc:test_support", |
349 "//ppapi/proxy", | 355 "//ppapi/proxy", |
350 "//ppapi/shared_impl", | 356 "//ppapi/shared_impl", |
351 "//testing/gmock", | 357 "//testing/gmock", |
352 "//testing/gtest", | 358 "//testing/gtest", |
353 ] | 359 ] |
354 } | 360 } |
OLD | NEW |