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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 "//third_party/icu", | 709 "//third_party/icu", |
710 "//ui/surface", | 710 "//ui/surface", |
711 #blink_target, TODO(GYP) | 711 #blink_target, TODO(GYP) |
712 ] | 712 ] |
713 | 713 |
714 if (is_win) { | 714 if (is_win) { |
715 cflags = [ "/wd4267" ] # size_t to int truncation. | 715 cflags = [ "/wd4267" ] # size_t to int truncation. |
716 } | 716 } |
717 } | 717 } |
718 | 718 |
| 719 component("ppapi_host") { |
| 720 sources = [ |
| 721 "host/dispatch_host_message.h", |
| 722 "host/error_conversion.cc", |
| 723 "host/error_conversion.h", |
| 724 "host/host_factory.h", |
| 725 "host/host_message_context.cc", |
| 726 "host/host_message_context.h", |
| 727 "host/instance_message_filter.cc", |
| 728 "host/instance_message_filter.h", |
| 729 "host/message_filter_host.cc", |
| 730 "host/message_filter_host.h", |
| 731 "host/ppapi_host.cc", |
| 732 "host/ppapi_host.h", |
| 733 "host/ppapi_host_export.h", |
| 734 "host/resource_host.cc", |
| 735 "host/resource_host.h", |
| 736 "host/resource_message_filter.cc", |
| 737 "host/resource_message_filter.h", |
| 738 "host/resource_message_handler.cc", |
| 739 "host/resource_message_handler.h", |
| 740 ] |
| 741 |
| 742 defines = [ "PPAPI_HOST_IMPLEMENTATION" ] |
| 743 |
| 744 deps = [ |
| 745 ":ppapi_c", |
| 746 ":ppapi_ipc", |
| 747 ":ppapi_proxy", |
| 748 ":ppapi_shared", |
| 749 "//base", |
| 750 "//ipc", |
| 751 "//ui/surface", |
| 752 "//url", |
| 753 #'../media/media.gyp:shared_memory_support', TODO(GYP) |
| 754 ] |
| 755 } |
| 756 |
719 # TODO(GYP) other targets from ppapi_tests.gyp | 757 # TODO(GYP) other targets from ppapi_tests.gyp |
OLD | NEW |