WebKit roll 135525:135551
[chromium-blink-merge.git] / ppapi / ppapi_ipc_untrusted.gyp
blob1f5c3c96bf69f41cbb132090dd9f00e9a6e1d524
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'includes': [
10     '../native_client/build/untrusted.gypi',
11     'ppapi_ipc.gypi',
12   ],
13   'conditions': [
14     ['disable_nacl==0 and disable_nacl_untrusted==0', {
15       'targets': [
16         {
17           'target_name': 'ppapi_ipc_untrusted',
18           'type': 'none',
19           'variables': {
20             'ppapi_ipc_target': 1,
21             'nacl_win64_target': 0,
22             'nacl_untrusted_build': 1,
23             'nlib_target': 'libppapi_ipc_untrusted.a',
24             'build_glibc': 0,
25             'build_newlib': 1,
26             'defines': [
27               'NACL_PPAPI_IPC_PROXY',
28               # Enable threading for the untrusted side of the proxy.
29               # TODO(bbudge) remove when this is the default.
30               'ENABLE_PEPPER_THREADING',
31             ],
32           },
33           'include_dirs': [
34             '..',
35           ],
36           'dependencies': [
37             '../native_client/tools.gyp:prep_toolchain',
38             '../base/base_untrusted.gyp:base_untrusted',
39             '../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted',
40             '../ipc/ipc_untrusted.gyp:ipc_untrusted',
41             '../ppapi/ppapi_shared_untrusted.gyp:ppapi_shared_untrusted',
42           ],
43         },
44       ],
45     }],
46   ],