| 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 import("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
| 6 | 6 |
| 7 config("proxy_implementation") { | 7 config("proxy_implementation") { |
| 8 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] | 8 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 "video_capture_resource.h", | 267 "video_capture_resource.h", |
| 268 ] | 268 ] |
| 269 } | 269 } |
| 270 | 270 |
| 271 configs += [ | 271 configs += [ |
| 272 ":proxy_implementation", | 272 ":proxy_implementation", |
| 273 "//build/config:precompiled_headers", | 273 "//build/config:precompiled_headers", |
| 274 ] | 274 ] |
| 275 | 275 |
| 276 public_deps = [ | 276 public_deps = [ |
| 277 "//ipc", |
| 277 "//ppapi/proxy:ipc_sources", | 278 "//ppapi/proxy:ipc_sources", |
| 278 ] | 279 ] |
| 279 | 280 |
| 280 deps = [ | 281 deps = [ |
| 281 ":common", | 282 ":common", |
| 282 "//base", | 283 "//base", |
| 283 "//gpu/command_buffer/client:gles2_implementation", | 284 "//gpu/command_buffer/client:gles2_implementation", |
| 284 "//gpu/ipc/common:command_buffer_traits", | 285 "//gpu/ipc/common:command_buffer_traits", |
| 285 "//ipc", | |
| 286 "//media:shared_memory_support", | 286 "//media:shared_memory_support", |
| 287 "//mojo/edk/system", | 287 "//mojo/edk/system", |
| 288 "//ppapi/c", | 288 "//ppapi/c", |
| 289 "//ppapi/shared_impl", | 289 "//ppapi/shared_impl", |
| 290 "//ui/gfx/geometry", | 290 "//ui/gfx/geometry", |
| 291 "//ui/gfx/ipc/geometry", | 291 "//ui/gfx/ipc/geometry", |
| 292 ] | 292 ] |
| 293 | 293 |
| 294 if (!is_nacl) { | 294 if (!is_nacl) { |
| 295 deps += [ | 295 deps += [ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 ] | 350 ] |
| 351 if (is_nacl) { | 351 if (is_nacl) { |
| 352 sources -= [ "serialized_flash_menu.cc" ] | 352 sources -= [ "serialized_flash_menu.cc" ] |
| 353 } | 353 } |
| 354 | 354 |
| 355 configs += [ ":proxy_implementation" ] | 355 configs += [ ":proxy_implementation" ] |
| 356 | 356 |
| 357 deps = [ | 357 deps = [ |
| 358 "//base", | 358 "//base", |
| 359 "//gpu/ipc/common:command_buffer_traits", | 359 "//gpu/ipc/common:command_buffer_traits", |
| 360 "//ipc", | |
| 361 "//ppapi/c", | 360 "//ppapi/c", |
| 362 "//ppapi/shared_impl", | 361 "//ppapi/shared_impl", |
| 363 ] | 362 ] |
| 363 |
| 364 public_deps = [ |
| 365 "//ipc", |
| 366 ] |
| 367 |
| 364 if (!is_nacl) { | 368 if (!is_nacl) { |
| 365 deps += [ "//skia" ] | 369 deps += [ "//skia" ] |
| 366 } | 370 } |
| 367 } | 371 } |
| 368 | 372 |
| 369 static_library("test_support") { | 373 static_library("test_support") { |
| 370 testonly = true | 374 testonly = true |
| 371 | 375 |
| 372 sources = [ | 376 sources = [ |
| 373 "ppapi_proxy_test.cc", | 377 "ppapi_proxy_test.cc", |
| 374 "ppapi_proxy_test.h", | 378 "ppapi_proxy_test.h", |
| 375 "resource_message_test_sink.cc", | 379 "resource_message_test_sink.cc", |
| 376 "resource_message_test_sink.h", | 380 "resource_message_test_sink.h", |
| 377 ] | 381 ] |
| 378 | 382 |
| 379 public_deps = [ | 383 public_deps = [ |
| 380 ":proxy", | 384 ":proxy", |
| 381 ] | 385 ] |
| 382 deps = [ | 386 deps = [ |
| 383 "//base/test:test_support", | 387 "//base/test:test_support", |
| 384 "//ipc", | 388 "//ipc", |
| 385 "//ipc:test_support", | 389 "//ipc:test_support", |
| 386 "//ppapi/proxy", | 390 "//ppapi/proxy", |
| 387 "//ppapi/shared_impl", | 391 "//ppapi/shared_impl", |
| 388 "//testing/gmock", | 392 "//testing/gmock", |
| 389 "//testing/gtest", | 393 "//testing/gtest", |
| 390 ] | 394 ] |
| 391 } | 395 } |
| OLD | NEW |