summaryrefslogtreecommitdiffstats
path: root/courgette/courgette.gyp
blob: 03de4627bdee2a6fbd5f2ff53f22f0c0e3630747 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Copyright (c) 2009 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.

{
  'variables': {
    'chromium_code': 1,
  },
  'includes': [
    '../build/common.gypi',
  ],
  'targets': [
    {
      'target_name': 'courgette_lib',
      'type': '<(library)',
      'dependencies': [
        '../base/base.gyp:base',
        #'../third_party/lzma_sdk/7z_C.vcproj',
      ],
      'msvs_guid': '9A72A362-E617-4205-B9F2-43C6FB280FA1',
      'sources': [
        'adjustment_method.cc',
        'adjustment_method.h',
        'assembly_program.cc',
        'assembly_program.h',
        'third_party/bsdiff.h',
        'third_party/bsdiff_apply.cc',
        'third_party/bsdiff_create.cc',
        'courgette.h',
        'crc.cc',
        'crc.h',
        'difference_estimator.cc',
        'difference_estimator.h',
        'disassembler.cc',
        'disassembler.h',
        'encoded_program.cc',
        'encoded_program.h',
        'ensemble.cc',
        'ensemble.h',
        'ensemble_apply.cc',
        'ensemble_create.cc',
        'image_info.cc',
        'image_info.h',
        'region.h',
        'simple_delta.cc',
        'simple_delta.h',
        'streams.cc',
        'streams.h',
        'win32_x86_generator.h',
        'win32_x86_patcher.h',
      ],
    },
   {
      'target_name': 'courgette',
      'type': 'executable',
      'msvs_guid': '4EA8CE12-9C6F-45E5-9D08-720383FE3685',
      'sources': [
        'courgette_tool.cc',
       ],
      'dependencies': [
        'courgette_lib',
        '../base/base.gyp:base',
      ],
    },
   {
      'target_name': 'courgette_minimal_tool',
      'type': 'executable',
      'msvs_guid': 'EB79415F-2F17-4BDC-AADD-4CA4C2D21B73',
      'sources': [
        'courgette_minimal_tool.cc',
       ],
      'dependencies': [
        'courgette_lib',
        '../base/base.gyp:base',
      ],
    },
    {
      'target_name': 'courgette_unittests',
      'type': 'executable',
      'msvs_guid': '24309F1A-4035-46F9-A3D8-F47DC4BCC2B8',
      'sources': [
        'adjustment_method_unittest.cc',
        'bsdiff_memory_unittest.cc',
        'difference_estimator_unittest.cc',
        'encoded_program_unittest.cc',
        'encode_decode_unittest.cc',
        'image_info_unittest.cc',
        'run_all_unittests.cc',
        'streams_unittest.cc',
       ],
      'dependencies': [
        'courgette_lib',
        '../base/base.gyp:base',
        '../testing/gtest.gyp:gtest',
      ],
    },
   {
      'target_name': 'courgette_fuzz',
      'type': 'executable',
      'msvs_guid': '57C27529-8CA9-4FC3-9C02-DA05B172F785',
      'sources': [
        'encoded_program_fuzz_unittest.cc',
       ],
      'dependencies': [
        'courgette_lib',
        '../base/base.gyp:base',
        '../testing/gtest.gyp:gtest',
      ],
    },
  ],
}