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': 'test_app',
8      'product_name': 'Test App',
9      'type': 'executable',
10      'mac_bundle': 1,
11      'sources': [
12        'main.c',
13      ],
14      'xcode_settings': {
15        'INFOPLIST_FILE': 'TestApp-Info.plist',
16      },
17    },
18    {
19      'target_name': 'test_app_postbuilds',
20      'product_name': 'Test App 2',
21      'type': 'executable',
22      'mac_bundle': 1,
23      'sources': [
24        'main.c',
25      ],
26      'xcode_settings': {
27        'INFOPLIST_FILE': 'TestApp-Info.plist',
28      },
29      'postbuilds': [
30        {
31          'postbuild_name': 'Postbuild that touches the app binary',
32          'action': [
33            './delay-touch.sh', '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
34          ],
35        },
36      ],
37    },
38    {
39      'target_name': 'test_framework_postbuilds',
40      'product_name': 'Test Framework',
41      'type': 'shared_library',
42      'mac_bundle': 1,
43      'sources': [
44        'empty.c',
45      ],
46      'postbuilds': [
47        {
48          'postbuild_name': 'Postbuild that touches the framework binary',
49          'action': [
50            './delay-touch.sh', '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
51          ],
52        },
53      ],
54    },
55  ],
56}
57