summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/strip/subdirectory/subdirectory.gyp
blob: 5d0d190914e556f85f0437addc669ea7e7b15dcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'targets': [
    {
      'target_name': 'nested_strip_save',
      'type': 'shared_library',
      'sources': [ 'nested_file.c', ],
      'xcode_settings': {
        'DEPLOYMENT_POSTPROCESSING': 'YES',
        'STRIP_INSTALLED_PRODUCT': 'YES',
        'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
        'CHROMIUM_STRIP_SAVE_FILE': 'nested_strip.saves',
      },
    },
    {
      'target_name': 'nested_strip_save_postbuild',
      'type': 'shared_library',
      'sources': [ 'nested_file.c', ],
      'xcode_settings': {
        'DEPLOYMENT_POSTPROCESSING': 'YES',
        'STRIP_INSTALLED_PRODUCT': 'YES',
        'STRIPFLAGS': '-s $(CHROMIUM_STRIP_SAVE_FILE)',
        'CHROMIUM_STRIP_SAVE_FILE': 'nested_strip.saves',
      },
      'postbuilds': [
        {
          'postbuild_name': 'Action that reads CHROMIUM_STRIP_SAVE_FILE',
          'action': [
            './test_reading_save_file_from_postbuild.sh',
          ],
        },
      ],
    },
  ],
}