summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_ipc.gypi
blob: f8334722f6005445209454ca704858a70336f0fe (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
# 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.

{
  'target_defaults': {
    'variables': {
      'nacl_win64_target': 0,
      'ppapi_ipc_target': 0,
    },
    'target_conditions': [
      # This part is shared between the targets defined below.
      ['ppapi_ipc_target==1', {
        'sources': [
          'proxy/handle_converter.cc',
          'proxy/handle_converter.h',
          'proxy/ppapi_messages.cc',
          'proxy/ppapi_messages.h',
          'proxy/ppapi_param_traits.cc',
          'proxy/ppapi_param_traits.h',
          'proxy/raw_var_data.cc',
          'proxy/raw_var_data.h',
          'proxy/resource_message_params.cc',
          'proxy/resource_message_params.h',
          'proxy/serialized_flash_menu.cc',
          'proxy/serialized_flash_menu.h',
          'proxy/serialized_handle.cc',
          'proxy/serialized_handle.h',
          'proxy/serialized_structs.cc',
          'proxy/serialized_structs.h',
          'proxy/serialized_var.cc',
          'proxy/serialized_var.h',
          'proxy/var_serialization_rules.h',
        ],
        'include_dirs': [
          '..',
        ],
        'target_conditions': [
          ['>(nacl_untrusted_build)==1 or >(nacl_win64_target)==1', {
            'sources!': [
              'proxy/serialized_flash_menu.cc',
            ],
          }],
        ],
      }],
    ],
  },
}