summaryrefslogtreecommitdiff
path: root/deps/gyp/test/external-cross-compile/src/cross_compile.gypi
blob: 36e651903f5ade9cf5508889d9e2a0d3d1aee940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  'target_defaults': {
    'variables': {
      'cross%': 0,
    },
    'target_conditions': [
      ['cross==1', {
        'actions': [
          {
            'action_name': 'cross compile >(_target_name)',
            'inputs': ['^@(_sources)'],
            'outputs': ['<(SHARED_INTERMEDIATE_DIR)/>(_target_name).fake'],
            'action': [
              'python', 'fake_cross.py', '>@(_outputs)', '^@(_sources)',
            ],
            # Allows the test to run without hermetic cygwin on windows.
            'msvs_cygwin_shell': 0,
          },
        ],
      }],
    ],
  },
}