summaryrefslogtreecommitdiff
path: root/chromium/components/nacl/renderer/plugin/plugin.gyp
blob: 6fb305d4eb932893232d7f0c25b177500df8cca7 (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
# -*- python -*-
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,  # Use higher warning level.
  },
  'targets': [
    {
      'target_name': 'nacl_trusted_plugin',
      'type': 'static_library',
      'sources': [
        'module_ppapi.cc',
        'nacl_subprocess.cc',
        'plugin.cc',
        'pnacl_coordinator.cc',
        'pnacl_resources.cc',
        'pnacl_translate_thread.cc',
        'ppapi_entrypoints.cc',
        'service_runtime.cc',
      ],
      'dependencies': [
        '<(DEPTH)/media/media.gyp:shared_memory_support',
        '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp_objects',
        '<(DEPTH)/ppapi/ppapi.gyp:ppapi_internal_module',
      ],
      # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
      'msvs_disabled_warnings': [4267, ],
    },
  ],
}