blob: e2aaebc10a6d5e1ee29861d00ee437bb12692c02 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright (c) 2012 Google Inc. 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.
4
5# Test that 'none' type targets can have .cc files in them.
6
7{
8 'targets': [
9 {
10 'target_name': 'none_with_sources',
11 'type': 'none',
12 'msvs_cygwin_shell': 0,
13 'sources': [
14 'foo.cc',
15 ],
16 'actions': [
17 {
18 'action_name': 'fake_cross',
19 'inputs': [
20 'fake_cross.py',
21 '<@(_sources)',
22 ],
23 'outputs': [
24 '<(PRODUCT_DIR)/fake.out',
25 ],
26 'action': [
27 'python', '<@(_inputs)', '<@(_outputs)',
28 ],
29 # Allows the test to run without hermetic cygwin on windows.
30 'msvs_cygwin_shell': 0,
31 }
32 ],
33 },
34 ],
35}