summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp
blob: 80467006b02949b0088965025e1a299f7b9e3800 (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
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'target_defaults': {
    'type': 'executable',
    'link_settings': {
      'libraries': [
        '$(SDKROOT)/usr/lib/libbz2.dylib',
        '$(SDKROOT)/usr/lib/libz.dylib',
        '$(SDKROOT)/usr/lib/libcrypto.dylib',
      ],
    },
  },
  'targets': [
    {
      'target_name': 'goobsdiff',
      'dependencies': [
        '../xz/xz.gyp:lzma',
      ],
      'sources': [
        'goobsdiff.c',
      ],
    },
    {
      'target_name': 'goobspatch',
      'dependencies': [
        '../xz/xz.gyp:lzma_decompress',
      ],
      'sources': [
        'goobspatch.c',
      ],
      'configurations': {
        'Release': {
          'xcode_settings': {
            # Use -Os to minimize the size of the installer tools.
            'GCC_OPTIMIZATION_LEVEL': 's',
          },
        },
      },
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: