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 gypi_values = exec_script( | 5 gypi_values = exec_script( |
6 "//build/gypi_to_gn.py", | 6 "//build/gypi_to_gn.py", |
7 [ rebase_path("ppapi_sources.gypi") ], | 7 [ rebase_path("ppapi_sources.gypi") ], |
8 "scope", | 8 "scope", |
9 [ "ppapi_sources.gypi" ]) | 9 [ "ppapi_sources.gypi" ]) |
10 | 10 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 "thunk/ppb_udp_socket_private_thunk.cc", | 401 "thunk/ppb_udp_socket_private_thunk.cc", |
402 "thunk/ppb_x509_certificate_private_thunk.cc", | 402 "thunk/ppb_x509_certificate_private_thunk.cc", |
403 ] | 403 ] |
404 } | 404 } |
405 | 405 |
406 defines = [ | 406 defines = [ |
407 "PPAPI_SHARED_IMPLEMENTATION", | 407 "PPAPI_SHARED_IMPLEMENTATION", |
408 "PPAPI_THUNK_IMPLEMENTATION", | 408 "PPAPI_THUNK_IMPLEMENTATION", |
409 ] | 409 ] |
410 | 410 |
| 411 public_deps = [ |
| 412 blink_target, |
| 413 ] |
411 deps = [ | 414 deps = [ |
412 ":ppapi_c", | 415 ":ppapi_c", |
413 "//base", | 416 "//base", |
414 "//base:i18n", | 417 "//base:i18n", |
415 "//base/third_party/dynamic_annotations", | 418 "//base/third_party/dynamic_annotations", |
416 "//gpu/command_buffer/client", | 419 "//gpu/command_buffer/client", |
417 "//gpu/command_buffer/client:gles2_implementation", | 420 "//gpu/command_buffer/client:gles2_implementation", |
418 "//gpu/command_buffer/common", | 421 "//gpu/command_buffer/common", |
419 "//ipc", | 422 "//ipc", |
420 "//media:shared_memory_support", | 423 "//media:shared_memory_support", |
421 "//skia", | 424 "//skia", |
422 "//third_party/icu:icuuc", | 425 "//third_party/icu:icuuc", |
423 "//ui/surface", | 426 "//ui/surface", |
424 "//url", | 427 "//url", |
425 ] | 428 ] |
426 | 429 |
427 if (is_mac) { | 430 if (is_mac) { |
428 libs = [ "QuartzCore.framework" ] | 431 libs = [ "QuartzCore.framework" ] |
429 } else if (is_win) { | 432 } else if (is_win) { |
430 cflags = [ "/wd4267" ] # size_t to int truncation. | 433 cflags = [ "/wd4267" ] # size_t to int truncation. |
431 } | 434 } |
432 | |
433 deps += [ blink_target ] | |
434 forward_dependent_configs_from = [ blink_target ] | |
435 } | 435 } |
436 | 436 |
437 source_set("ppapi_ipc") { | 437 source_set("ppapi_ipc") { |
438 sources = [ | 438 sources = [ |
439 "proxy/nacl_message_scanner.cc", | 439 "proxy/nacl_message_scanner.cc", |
440 "proxy/nacl_message_scanner.h", | 440 "proxy/nacl_message_scanner.h", |
441 "proxy/ppapi_messages.cc", | 441 "proxy/ppapi_messages.cc", |
442 "proxy/ppapi_messages.h", | 442 "proxy/ppapi_messages.h", |
443 "proxy/ppapi_param_traits.cc", | 443 "proxy/ppapi_param_traits.cc", |
444 "proxy/ppapi_param_traits.h", | 444 "proxy/ppapi_param_traits.h", |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 ":ppapi_shared", | 805 ":ppapi_shared", |
806 "//base/test:test_support", | 806 "//base/test:test_support", |
807 "//ipc", | 807 "//ipc", |
808 "//ipc:test_support", | 808 "//ipc:test_support", |
809 "//testing/gmock", | 809 "//testing/gmock", |
810 "//testing/gtest", | 810 "//testing/gtest", |
811 ] | 811 ] |
812 } | 812 } |
813 | 813 |
814 # TODO(GYP) other targets from ppapi_tests.gyp | 814 # TODO(GYP) other targets from ppapi_tests.gyp |
OLD | NEW |