|
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. |
|
4 |
|
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 } |