• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2011 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': 'nonbundle',
8      'type': 'static_library',
9      'sources': [ 'file.c', ],
10      'postbuilds': [
11        {
12          'postbuild_name': 'Postbuild Fail',
13          'action': [ './postbuild-fail.sh', ],
14        },
15        {
16          'postbuild_name': 'Runs after failing postbuild',
17          'action': [ './touch-static.sh', ],
18        },
19      ],
20    },
21    {
22      'target_name': 'bundle',
23      'type': 'shared_library',
24      'mac_bundle': 1,
25      'sources': [ 'file.c', ],
26      'postbuilds': [
27        {
28          'postbuild_name': 'Postbuild Fail',
29          'action': [ './postbuild-fail.sh', ],
30        },
31        {
32          'postbuild_name': 'Runs after failing postbuild',
33          'action': [ './touch-dynamic.sh', ],
34        },
35      ],
36    },
37  ],
38}
39