• 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': 'nest_el',
8      'type': 'static_library',
9      'sources': [ '../file_g.c', ],
10      'postbuilds': [
11        {
12          'postbuild_name': 'Static library postbuild',
13          'variables': {
14            'some_regex': 'a|b',
15          },
16          'action': [
17            '../script/static_library_postbuild.sh',
18            '<(some_regex)',
19            'arg with spaces',
20          ],
21        },
22      ],
23    },
24    {
25      'target_name': 'nest_dyna',
26      'type': 'shared_library',
27      'mac_bundle': 1,
28      'sources': [ '../file_h.c', ],
29      'postbuilds': [
30        {
31          'postbuild_name': 'Dynamic library postbuild',
32          'variables': {
33            'some_regex': 'a|b',
34          },
35          'action': [
36            '../script/shared_library_postbuild.sh',
37            '<(some_regex)',
38            'arg with spaces',
39          ],
40        },
41        {
42          'postbuild_name': 'Test paths relative to gyp file',
43          'action': [
44            '../copy.sh',
45            './copied_file.txt',
46            '${BUILT_PRODUCTS_DIR}/copied_file_2.txt',
47          ],
48        },
49      ],
50    },
51  ],
52}
53
54