1# Copyright (c) 2012 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': 'nested_strip_save',
8      'type': 'shared_library',
9      'sources': [ 'nested_file.c', ],
10      'xcode_settings': {
11        'DEPLOYMENT_POSTPROCESSING': 'YES',
12        'STRIP_INSTALLED_PRODUCT': 'YES',
13        'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
14        'CHROMIUM_STRIP_SAVE_FILE': 'nested_strip.saves',
15      },
16    },
17    {
18      'target_name': 'nested_strip_save_postbuild',
19      'type': 'shared_library',
20      'sources': [ 'nested_file.c', ],
21      'xcode_settings': {
22        'DEPLOYMENT_POSTPROCESSING': 'YES',
23        'STRIP_INSTALLED_PRODUCT': 'YES',
24        'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
25        'CHROMIUM_STRIP_SAVE_FILE': 'nested_strip.saves',
26      },
27      'postbuilds': [
28        {
29          'postbuild_name': 'Action that reads CHROMIUM_STRIP_SAVE_FILE',
30          'action': [
31            './test_reading_save_file_from_postbuild.sh',
32          ],
33        },
34      ],
35    },
36  ],
37}
38
39