Fixup a unit test with USE_BLOB_UUIDS
[chromium-blink-merge.git] / sdch / sdch.gyp
blobd84be582ed7f9dba0b326e61b428ecd4ed3e0b8b
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'sdch',
12       'type': 'static_library',
13       'dependencies': [
14         '../third_party/zlib/zlib.gyp:zlib',
15       ],
16       'sources': [
17         'open-vcdiff/src/addrcache.cc',
18         'open-vcdiff/src/blockhash.cc',
19         'open-vcdiff/src/blockhash.h',
20         'open-vcdiff/src/checksum.h',
21         'open-vcdiff/src/codetable.cc',
22         'open-vcdiff/src/codetable.h',
23         'open-vcdiff/src/compile_assert.h',
24         'open-vcdiff/src/decodetable.cc',
25         'open-vcdiff/src/decodetable.h',
26         'open-vcdiff/src/encodetable.cc',
27         'open-vcdiff/src/encodetable.h',
28         'open-vcdiff/src/google/output_string.h',
29         'open-vcdiff/src/google/vcdecoder.h',
30         'open-vcdiff/src/headerparser.cc',
31         'open-vcdiff/src/headerparser.h',
32         'open-vcdiff/src/instruction_map.cc',
33         'open-vcdiff/src/instruction_map.h',
34         'open-vcdiff/src/logging.cc',
35         'open-vcdiff/src/logging.h',
36         'open-vcdiff/src/rolling_hash.h',
37         'open-vcdiff/src/testing.h',
38         'open-vcdiff/src/varint_bigendian.cc',
39         'open-vcdiff/src/varint_bigendian.h',
40         'open-vcdiff/src/vcdecoder.cc',
41         'open-vcdiff/src/vcdiff_defs.h',
42         'open-vcdiff/src/vcdiffengine.cc',
43         'open-vcdiff/src/vcdiffengine.h',
44         'open-vcdiff/vsprojects/config.h',
45         'open-vcdiff/vsprojects/stdint.h',
46       ],
47       'include_dirs': [
48         'open-vcdiff/src',
49       ],
50       'direct_dependent_settings': {
51         'include_dirs': [
52           'open-vcdiff/src',
53         ],
54       },
55       'conditions': [
56         [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ],
57         [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ],
58         [ 'OS == "ios"', { 'include_dirs': [ 'ios' ] } ],
59         [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ],
60         [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ],
61       ],
62     },
63   ],