OLD | NEW |
| (Empty) |
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. | |
4 | |
5 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6 # for details. All rights reserved. Use of this source code is governed by a | |
7 # BSD-style license that can be found in the LICENSE file. | |
8 | |
9 # This file is a modified copy of | |
10 # https://chromium.googlesource.com/chromium/src/third_party/zlib/zlib.gyp | |
11 # at revision c3d0a6190f2f8c924a05ab6cc97b8f975bddd33f. | |
12 { | |
13 # Added by Dart. All Dart comments refer to the following block or line. | |
14 'includes': [ | |
15 '../tools/gyp/runtime-configurations.gypi', | |
16 '../tools/gyp/nss_configurations.gypi', | |
17 ], | |
18 'variables': { | |
19 # Added by Dart. | |
20 'zlib_path': '../../third_party/zlib', | |
21 }, | |
22 # Added by Dart. We do not indent, so diffs with the original are clearer. | |
23 'targets': [ | |
24 { | |
25 'target_name': 'zlib_dart', # Added by Dart (the _dart postfix) | |
26 'type': 'static_library', | |
27 # Added by Dart (the original only has this on android). | |
28 'toolsets':['host','target'], | |
29 # Changed by Dart: '<(zlib_directory)/' added to all paths. | |
30 'sources': [ | |
31 '<(zlib_path)/adler32.c', | |
32 '<(zlib_path)/compress.c', | |
33 '<(zlib_path)/crc32.c', | |
34 '<(zlib_path)/crc32.h', | |
35 '<(zlib_path)/deflate.c', | |
36 '<(zlib_path)/deflate.h', | |
37 '<(zlib_path)/gzclose.c', | |
38 '<(zlib_path)/gzguts.h', | |
39 '<(zlib_path)/gzlib.c', | |
40 '<(zlib_path)/gzread.c', | |
41 '<(zlib_path)/gzwrite.c', | |
42 '<(zlib_path)/infback.c', | |
43 '<(zlib_path)/inffast.c', | |
44 '<(zlib_path)/inffast.h', | |
45 '<(zlib_path)/inffixed.h', | |
46 '<(zlib_path)/inflate.c', | |
47 '<(zlib_path)/inflate.h', | |
48 '<(zlib_path)/inftrees.c', | |
49 '<(zlib_path)/inftrees.h', | |
50 '<(zlib_path)/mozzconf.h', | |
51 '<(zlib_path)/trees.c', | |
52 '<(zlib_path)/trees.h', | |
53 '<(zlib_path)/uncompr.c', | |
54 '<(zlib_path)/zconf.h', | |
55 '<(zlib_path)/zlib.h', | |
56 '<(zlib_path)/zutil.c', | |
57 '<(zlib_path)/zutil.h', | |
58 ], | |
59 'include_dirs': [ | |
60 '<(zlib_path)/.', | |
61 ], | |
62 'direct_dependent_settings': { | |
63 'include_dirs': [ | |
64 '<(zlib_path)/.', | |
65 ], | |
66 }, | |
67 }, | |
68 ], | |
69 } | |
OLD | NEW |