summaryrefslogtreecommitdiffstats
path: root/ui/events/latency_info_nacl.gyp
blob: f8a5e1e93d45bee9d748ac68596d20355c89f775 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
  'variables': {
    'chromium_code': 1,
  },
  'includes': [
   '../../build/common_untrusted.gypi',
  ],
  'conditions': [
    ['disable_nacl==0 and disable_nacl_untrusted==0', {
      'targets': [
        {
          'target_name': 'latency_info_nacl',
          'type': 'none',
          'defines': [
            'EVENTS_BASE_IMPLEMENTATION',
            'EVENTS_IMPLEMENTATION',
          ],
          'include_dirs': [
            '../..',
          ],
          'dependencies': [
            '../../base/base_nacl.gyp:base_nacl',
            '../../base/base_nacl.gyp:base_nacl_nonsfi',
            '../../ipc/ipc_nacl.gyp:ipc_nacl',
            '../../ipc/ipc_nacl.gyp:ipc_nacl_nonsfi',
            '../../native_client/tools.gyp:prep_toolchain'
          ],
          'variables': {
            'nacl_untrusted_build': 1,
            'nlib_target': 'liblatency_info_nacl.a',
            'build_glibc': 0,
            'build_newlib': 0,
            'build_irt': 1,
            'build_pnacl_newlib': 0,
            'build_nonsfi_helper': 1,
          },
          'sources': [
            'latency_info.cc',
            'latency_info.h',
            'ipc/latency_info_param_traits.cc',
            'ipc/latency_info_param_traits.h',
          ],
        },
      ],
    }],
    ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', {
      'targets': [
        {
          'target_name': 'latency_info_nacl_win64',
          'type' : '<(component)',
          'variables': {
            'nacl_win64_target': 1,
          },
          'dependencies': [
            '../../base/base.gyp:base_win64',
            '../../ipc/ipc.gyp:ipc_win64',
          ],
          'defines': [
            'EVENTS_BASE_IMPLEMENTATION',
            'EVENTS_IMPLEMENTATION',
            '<@(nacl_win64_defines)',
          ],
          'include_dirs': [
            '../..',
          ],
          'sources': [
            'latency_info.cc',
            'latency_info.h',
            'ipc/latency_info_param_traits.cc',
            'ipc/latency_info_param_traits.h',
          ],
          'configurations': {
            'Common_Base': {
              'msvs_target_platform': 'x64',
            },
          },
        },
      ],
    }],
  ],
}