summaryrefslogtreecommitdiffstats
path: root/o3d/import/archive.gyp
blob: 8214cfc0315fb234d10bf9d389675a33ef3b0054 (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
# 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',
  ],
  'target_defaults': {
    'include_dirs': [
      '..',
      '../..',
      '../../<(cgdir)/include',
      '../../<(gtestdir)',
    ],
  },
  'targets': [
    {
      'target_name': 'o3dArchive',
      'type': 'static_library',
      'dependencies': [
        '../../<(zlibdir)/zlib.gyp:zlib',
      ],
      'sources': [
        'cross/archive_processor.cc',
        'cross/archive_processor.h',
        'cross/archive_request.cc',
        'cross/archive_request.h',
        'cross/gz_compressor.cc',
        'cross/gz_compressor.h',
        'cross/gz_decompressor.cc',
        'cross/gz_decompressor.h',
        'cross/iarchive_generator.h',
        'cross/memory_buffer.h',
        'cross/memory_stream.cc',
        'cross/memory_stream.h',
        'cross/raw_data.cc',
        'cross/raw_data.h',
        'cross/tar_processor.cc',
        'cross/tar_processor.h',
        'cross/targz_generator.h',
        'cross/targz_processor.cc',
        'cross/targz_processor.h',
      ],
    },
    {
      'target_name': 'o3dArchiveTest',
      'type': 'none',
      'dependencies': [
        'o3dArchive',
      ],
      'direct_dependent_settings': {
        'sources': [
          'cross/gz_compressor_test.cc',
          'cross/gz_decompressor_test.cc',
          'cross/memory_buffer_test.cc',
          'cross/memory_stream_test.cc',
          'cross/raw_data_test.cc',
          'cross/tar_processor_test.cc',
          'cross/targz_processor_test.cc',
        ],
      },
    },
  ],
}