blob: b546106986e19d3b295e117e4712ca16cc35513f [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright (c) 2013 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 'targets': [
6 {
7 'target_name': 'shared',
8 'type': 'shared_library',
9 'sources': [ 'file.c' ],
10 },
11 {
12 'target_name': 'shared_no_so_suffix',
13 'product_extension': 'so.0.1',
14 'type': 'shared_library',
15 'sources': [ 'file.c' ],
16 },
17 {
18 'target_name': 'static',
19 'type': 'static_library',
20 'sources': [ 'file.c' ],
21 },
22 {
23 'target_name': 'shared_executable',
24 'type': 'executable',
25 'sources': [ 'main.c' ],
26 'dependencies': [
27 'shared',
28 ]
29 },
30 {
31 'target_name': 'shared_executable_no_so_suffix',
32 'type': 'executable',
33 'sources': [ 'main.c' ],
34 'dependencies': [
35 'shared_no_so_suffix',
36 ]
37 },
38 {
39 'target_name': 'static_executable',
40 'type': 'executable',
41 'sources': [ 'main.c' ],
42 'dependencies': [
43 'static',
44 ]
45 },
46 ],
47}