summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_host.gypi
blob: 3113ddf5c22a0cb165b2e158da0077638dbdbb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
   'targets': [
    {
      # GN version: //ppapi/host
      'target_name': 'ppapi_host',
      'type': '<(component)',
      'dependencies': [
        '../base/base.gyp:base',
        '../ipc/ipc.gyp:ipc',
        '../media/media.gyp:shared_memory_support',
        '../ui/surface/surface.gyp:surface',
        '../url/url.gyp:url_lib',
        'ppapi.gyp:ppapi_c',
        'ppapi_internal.gyp:ppapi_ipc',
        'ppapi_internal.gyp:ppapi_proxy',
        'ppapi_internal.gyp:ppapi_shared',
      ],
      'defines': [
        'PPAPI_HOST_IMPLEMENTATION',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'host/dispatch_host_message.h',
        'host/error_conversion.cc',
        'host/error_conversion.h',
        'host/host_factory.h',
        'host/host_message_context.cc',
        'host/host_message_context.h',
        'host/instance_message_filter.cc',
        'host/instance_message_filter.h',
        'host/message_filter_host.cc',
        'host/message_filter_host.h',
        'host/ppapi_host.cc',
        'host/ppapi_host.h',
        'host/ppapi_host_export.h',
        'host/resource_host.cc',
        'host/resource_host.h',
        'host/resource_message_filter.cc',
        'host/resource_message_filter.h',
        'host/resource_message_handler.cc',
        'host/resource_message_handler.h',
      ],
    },
  ],
}