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
|
# 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)',
],
'conditions': [
['OS=="linux"',
{
'include_dirs': [
'/usr/include/cairo',
'/usr/include/glib-2.0',
'/usr/include/gtk-2.0',
'/usr/include/pango-1.0',
'/usr/lib/glib-2.0/include',
'/usr/lib/gtk-2.0/include',
'/usr/include/atk-1.0',
],
},
],
],
},
'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/main_thread_archive_callback_client.cc',
'cross/main_thread_archive_callback_client.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',
'cross/threaded_stream_processor.cc',
'cross/threaded_stream_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',
'cross/threaded_stream_processor_test.cc',
],
},
'copies': [
{
'destination': '<(PRODUCT_DIR)/archive_files',
'files': [
"../tests/archive_files/BumpReflect.fx",
"../tests/archive_files/bogus.tar.gz",
"../tests/archive_files/keyboard.jpg",
"../tests/archive_files/keyboard.jpg.gz",
"../tests/archive_files/perc.aif",
"../tests/archive_files/test1.tar",
"../tests/archive_files/test1.tar.gz",
"../tests/archive_files/test2.tar.gz",
],
},
],
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
|