x11: Use scoped_ptr<> for X11 objects where it makes sense.
[chromium-blink-merge.git] / ui / events / latency_info_nacl.gyp
blobc44e4999fc0226632e05d8a602f7bf6ac487f17d
2   'variables': {
3     'chromium_code': 1,
4   },
5   'includes': [
6    '../../build/common_untrusted.gypi',
7   ],
8   'conditions': [
9     ['disable_nacl==0 and disable_nacl_untrusted==0', {
10       'targets': [
11         {
12           'target_name': 'latency_info_nacl',
13           'type': 'none',
14           'defines': [
15             'EVENTS_BASE_IMPLEMENTATION',
16             'EVENTS_IMPLEMENTATION',
17           ],
18           'include_dirs': [
19             '../..',
20           ],
21           'dependencies': [
22             '../../base/base_nacl.gyp:base_nacl',
23             '../../base/base_nacl.gyp:base_nacl_nonsfi',
24             '../../ipc/ipc_nacl.gyp:ipc_nacl',
25             '../../ipc/ipc_nacl.gyp:ipc_nacl_nonsfi',
26             '../../native_client/tools.gyp:prep_toolchain'
27           ],
28           'variables': {
29             'nacl_untrusted_build': 1,
30             'nlib_target': 'liblatency_info_nacl.a',
31             'build_glibc': 0,
32             'build_newlib': 0,
33             'build_irt': 1,
34             'build_pnacl_newlib': 0,
35             'build_nonsfi_helper': 1,
36           },
37           'sources': [
38             'ipc/latency_info_param_traits.cc',
39             'ipc/latency_info_param_traits.h',
40             'latency_info.cc',
41             'latency_info.h',
42           ],
43         },
44       ],
45     }],
46     ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', {
47       'targets': [
48         {
49           'target_name': 'latency_info_nacl_win64',
50           'type' : '<(component)',
51           'variables': {
52             'nacl_win64_target': 1,
53           },
54           'dependencies': [
55             '../../base/base.gyp:base_win64',
56             '../../ipc/ipc.gyp:ipc_win64',
57           ],
58           'defines': [
59             'EVENTS_BASE_IMPLEMENTATION',
60             'EVENTS_IMPLEMENTATION',
61             '<@(nacl_win64_defines)',
62           ],
63           'include_dirs': [
64             '../..',
65           ],
66           'sources': [
67             'ipc/latency_info_param_traits.cc',
68             'ipc/latency_info_param_traits.h',
69             'latency_info.cc',
70             'latency_info.h',
71           ],
72           'configurations': {
73             'Common_Base': {
74               'msvs_target_platform': 'x64',
75             },
76           },
77         },
78       ],
79     }],
80   ],