1# Copyright (c) 2012 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6   'targets': [
7    {
8      # GN version: //ppapi:ppapi_host
9      'target_name': 'ppapi_host',
10      'type': '<(component)',
11      'dependencies': [
12        '../base/base.gyp:base',
13        '../ipc/ipc.gyp:ipc',
14        '../media/media.gyp:shared_memory_support',
15        '../ui/surface/surface.gyp:surface',
16        '../url/url.gyp:url_lib',
17        'ppapi.gyp:ppapi_c',
18        'ppapi_internal.gyp:ppapi_ipc',
19        'ppapi_internal.gyp:ppapi_proxy',
20        'ppapi_internal.gyp:ppapi_shared',
21      ],
22      'defines': [
23        'PPAPI_HOST_IMPLEMENTATION',
24      ],
25      'sources': [
26        # Note: sources list duplicated in GN build.
27        'host/dispatch_host_message.h',
28        'host/error_conversion.cc',
29        'host/error_conversion.h',
30        'host/host_factory.h',
31        'host/host_message_context.cc',
32        'host/host_message_context.h',
33        'host/instance_message_filter.cc',
34        'host/instance_message_filter.h',
35        'host/message_filter_host.cc',
36        'host/message_filter_host.h',
37        'host/ppapi_host.cc',
38        'host/ppapi_host.h',
39        'host/ppapi_host_export.h',
40        'host/resource_host.cc',
41        'host/resource_host.h',
42        'host/resource_message_filter.cc',
43        'host/resource_message_filter.h',
44        'host/resource_message_handler.cc',
45        'host/resource_message_handler.h',
46      ],
47    },
48  ],
49}
50