Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 # Copyright (c) 2009 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.
5 {
6 'targets': [
7 {
8 'target_name': 'link-objects',
9 'type': 'executable',
10 'actions': [
11 {
12 'action_name': 'build extra object',
13 'inputs': ['extra.c'],
14 'outputs': ['extra.o'],
15 'action': ['gcc', '-o', 'extra.o', '-c', 'extra.c'],
16 'process_outputs_as_sources': 1,
17 },
18 ],
19 'sources': [
20 'base.c',
21 ],
22 },
23 ],
24 }