OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'sdch', | 11 'target_name': 'sdch', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'dependencies': [ | |
14 '../third_party/zlib/zlib.gyp:zlib', | |
15 ], | |
13 'sources': [ | 16 'sources': [ |
14 'open-vcdiff/src/addrcache.cc', | 17 'open-vcdiff/src/addrcache.cc', |
15 'open-vcdiff/src/adler32.c', | 18 # We use third_party/zlib instead. |
Mark Mentovai
2012/03/01 19:46:34
1. Don’t use “we” in comments.
2. I’d group the t
Xianzhu
2012/03/01 21:28:55
Done.
| |
19 # 'open-vcdiff/src/adler32.c', | |
16 'open-vcdiff/src/blockhash.cc', | 20 'open-vcdiff/src/blockhash.cc', |
17 'open-vcdiff/src/blockhash.h', | 21 'open-vcdiff/src/blockhash.h', |
18 'open-vcdiff/src/checksum.h', | 22 'open-vcdiff/src/checksum.h', |
Mark Mentovai
2012/03/01 19:46:34
This file says
#include "zlib.h"
How are you sur
Xianzhu
2012/03/01 21:28:55
Yes, it will include the one in sdch/open-vcdiff/s
| |
19 'open-vcdiff/src/codetable.cc', | 23 'open-vcdiff/src/codetable.cc', |
20 'open-vcdiff/src/codetable.h', | 24 'open-vcdiff/src/codetable.h', |
21 'open-vcdiff/src/compile_assert.h', | 25 'open-vcdiff/src/compile_assert.h', |
22 'open-vcdiff/src/decodetable.cc', | 26 'open-vcdiff/src/decodetable.cc', |
23 'open-vcdiff/src/decodetable.h', | 27 'open-vcdiff/src/decodetable.h', |
24 'open-vcdiff/src/encodetable.cc', | 28 'open-vcdiff/src/encodetable.cc', |
25 'open-vcdiff/src/encodetable.h', | 29 'open-vcdiff/src/encodetable.h', |
26 'open-vcdiff/src/google/output_string.h', | 30 'open-vcdiff/src/google/output_string.h', |
27 'open-vcdiff/src/google/vcdecoder.h', | 31 'open-vcdiff/src/google/vcdecoder.h', |
28 'open-vcdiff/src/headerparser.cc', | 32 'open-vcdiff/src/headerparser.cc', |
29 'open-vcdiff/src/headerparser.h', | 33 'open-vcdiff/src/headerparser.h', |
30 'open-vcdiff/src/instruction_map.cc', | 34 'open-vcdiff/src/instruction_map.cc', |
31 'open-vcdiff/src/instruction_map.h', | 35 'open-vcdiff/src/instruction_map.h', |
32 'open-vcdiff/src/logging.cc', | 36 'open-vcdiff/src/logging.cc', |
33 'open-vcdiff/src/logging.h', | 37 'open-vcdiff/src/logging.h', |
34 'open-vcdiff/src/rolling_hash.h', | 38 'open-vcdiff/src/rolling_hash.h', |
35 'open-vcdiff/src/testing.h', | 39 'open-vcdiff/src/testing.h', |
36 'open-vcdiff/src/varint_bigendian.cc', | 40 'open-vcdiff/src/varint_bigendian.cc', |
37 'open-vcdiff/src/varint_bigendian.h', | 41 'open-vcdiff/src/varint_bigendian.h', |
38 'open-vcdiff/src/vcdecoder.cc', | 42 'open-vcdiff/src/vcdecoder.cc', |
39 'open-vcdiff/src/vcdiff_defs.h', | 43 'open-vcdiff/src/vcdiff_defs.h', |
40 'open-vcdiff/src/vcdiffengine.cc', | 44 'open-vcdiff/src/vcdiffengine.cc', |
41 'open-vcdiff/src/vcdiffengine.h', | 45 'open-vcdiff/src/vcdiffengine.h', |
42 'open-vcdiff/src/zconf.h', | 46 # We use third_party/zlib instead. |
43 'open-vcdiff/src/zlib.h', | 47 # 'open-vcdiff/src/zconf.h', |
48 # 'open-vcdiff/src/zlib.h', | |
44 'open-vcdiff/vsprojects/config.h', | 49 'open-vcdiff/vsprojects/config.h', |
45 'open-vcdiff/vsprojects/stdint.h', | 50 'open-vcdiff/vsprojects/stdint.h', |
46 ], | 51 ], |
47 'include_dirs': [ | 52 'include_dirs': [ |
48 'open-vcdiff/src', | 53 'open-vcdiff/src', |
49 ], | 54 ], |
50 'direct_dependent_settings': { | 55 'direct_dependent_settings': { |
51 'include_dirs': [ | 56 'include_dirs': [ |
52 'open-vcdiff/src', | 57 'open-vcdiff/src', |
53 ], | 58 ], |
54 }, | 59 }, |
55 'conditions': [ | 60 'conditions': [ |
56 [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ], | 61 [ 'OS == "linux" or OS == "android"', { 'include_dirs': [ 'linux' ] } ], |
57 [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ], | 62 [ 'os_bsd==1 or OS=="solaris"', { 'include_dirs': [ 'bsd' ] } ], |
58 [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ], | 63 [ 'OS == "mac"', { 'include_dirs': [ 'mac' ] } ], |
59 [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ], | 64 [ 'OS == "win"', { 'include_dirs': [ 'open-vcdiff/vsprojects' ] } ], |
60 ], | 65 ], |
61 }, | 66 }, |
62 ], | 67 ], |
63 } | 68 } |
OLD | NEW |