Chromium Code Reviews| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 173 "udp_socket_resource_base.h", | 173 "udp_socket_resource_base.h", |
| 174 "uma_private_resource.cc", | 174 "uma_private_resource.cc", |
| 175 "uma_private_resource.h", | 175 "uma_private_resource.h", |
| 176 "url_loader_resource.cc", | 176 "url_loader_resource.cc", |
| 177 "url_loader_resource.h", | 177 "url_loader_resource.h", |
| 178 "url_request_info_resource.cc", | 178 "url_request_info_resource.cc", |
| 179 "url_request_info_resource.h", | 179 "url_request_info_resource.h", |
| 180 "url_response_info_resource.cc", | 180 "url_response_info_resource.cc", |
| 181 "url_response_info_resource.h", | 181 "url_response_info_resource.h", |
| 182 "var_serialization_rules.h", | 182 "var_serialization_rules.h", |
| 183 "video_decoder_resource.cc", | |
| 184 "video_decoder_resource.h", | |
| 183 "video_destination_resource.cc", | 185 "video_destination_resource.cc", |
| 184 "video_destination_resource.h", | 186 "video_destination_resource.h", |
| 187 "video_encoder_resource.cc", | |
| 188 "video_encoder_resource.h", | |
| 185 "video_frame_resource.cc", | 189 "video_frame_resource.cc", |
| 186 "video_frame_resource.h", | 190 "video_frame_resource.h", |
| 187 "video_source_resource.cc", | 191 "video_source_resource.cc", |
| 188 "video_source_resource.h", | 192 "video_source_resource.h", |
| 189 "websocket_resource.cc", | 193 "websocket_resource.cc", |
| 190 "websocket_resource.h", | 194 "websocket_resource.h", |
| 191 ] | 195 ] |
| 192 | 196 |
| 193 if (is_nacl) { | 197 if (is_nacl) { |
| 194 sources += [ | 198 sources += [ |
| (...skipping 56 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 |
| 282 if (is_nacl) { | |
| 283 # TODO(dpranke) replace w/ a config to pick up the mojo/nacl gen dir. | |
| 284 include_dirs = [ | |
| 285 "$root_build_dir/gen", | |
| 286 "//third_party/mojo/src", | |
| 287 ] | |
|
Dirk Pranke
2015/02/25 21:08:46
or this ...
brettw
2015/02/25 21:27:30
The gen dir should already be implicit, the mojo o
Dirk Pranke
2015/02/25 21:37:41
Hence the TODO, I'll make sure it's TODO(GYP), als
| |
| 288 deps += [ | |
| 289 "//ui/events:latency_info", | |
| 290 "//mojo/nacl:mojo", | |
| 291 ] | |
| 292 } else { | |
| 293 deps += [ | |
| 294 "//base/third_party/dynamic_annotations", | |
| 295 "//gin", | |
| 296 "//skia", | |
| 297 "//ui/events:events_base", | |
| 298 "//ui/surface", | |
| 299 ] | |
| 300 } | |
| 301 | |
| 287 # TODO(GYP) support chrome_multiple_dll | 302 # TODO(GYP) support chrome_multiple_dll |
| 288 #if (chrome_multiple_dll) { | 303 #if (chrome_multiple_dll) { |
| 289 # deps += [ "//third_party/WebKit/public:blink_minimal" ] | 304 # deps += [ "//third_party/WebKit/public:blink_minimal" ] |
| 290 #} else { | 305 #} else { |
| 291 deps += [ "//third_party/WebKit/public:blink" ] | 306 if (!is_nacl) { |
| 307 deps += [ "//third_party/WebKit/public:blink" ] | |
| 308 } | |
| 292 | 309 |
| 293 #} | 310 #} |
| 294 } | 311 } |
| 295 | 312 |
| 296 source_set("ipc") { | 313 source_set("ipc") { |
| 297 sources = [ | 314 sources = [ |
| 298 "nacl_message_scanner.cc", | 315 "nacl_message_scanner.cc", |
| 299 "nacl_message_scanner.h", | 316 "nacl_message_scanner.h", |
| 300 "ppapi_messages.cc", | 317 "ppapi_messages.cc", |
| 301 "ppapi_messages.h", | 318 "ppapi_messages.h", |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 320 } | 337 } |
| 321 | 338 |
| 322 configs += [ ":proxy_implementation" ] | 339 configs += [ ":proxy_implementation" ] |
| 323 | 340 |
| 324 deps = [ | 341 deps = [ |
| 325 "//base", | 342 "//base", |
| 326 "//gpu/ipc", | 343 "//gpu/ipc", |
| 327 "//ipc", | 344 "//ipc", |
| 328 "//ppapi/c", | 345 "//ppapi/c", |
| 329 "//ppapi/shared_impl", | 346 "//ppapi/shared_impl", |
| 330 "//skia", | |
| 331 "//ui/events/ipc", | |
| 332 ] | 347 ] |
| 348 if (!is_nacl) { | |
| 349 deps += [ | |
| 350 "//skia", | |
| 351 "//ui/events/ipc", | |
| 352 ] | |
| 353 } | |
| 333 } | 354 } |
| 334 | 355 |
| 335 source_set("test_support") { | 356 source_set("test_support") { |
| 336 testonly = true | 357 testonly = true |
| 337 | 358 |
| 338 sources = [ | 359 sources = [ |
| 339 "ppapi_proxy_test.cc", | 360 "ppapi_proxy_test.cc", |
| 340 "ppapi_proxy_test.h", | 361 "ppapi_proxy_test.h", |
| 341 "resource_message_test_sink.cc", | 362 "resource_message_test_sink.cc", |
| 342 "resource_message_test_sink.h", | 363 "resource_message_test_sink.h", |
| 343 ] | 364 ] |
| 344 | 365 |
| 345 deps = [ | 366 deps = [ |
| 346 "//base/test:test_support", | 367 "//base/test:test_support", |
| 347 "//ipc", | 368 "//ipc", |
| 348 "//ipc:test_support", | 369 "//ipc:test_support", |
| 349 "//ppapi/proxy", | 370 "//ppapi/proxy", |
| 350 "//ppapi/shared_impl", | 371 "//ppapi/shared_impl", |
| 351 "//testing/gmock", | 372 "//testing/gmock", |
| 352 "//testing/gtest", | 373 "//testing/gtest", |
| 353 ] | 374 ] |
| 354 } | 375 } |
| OLD | NEW |