OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'images', | 4 'target_name': 'images', |
5 'product_name': 'skia_images', | 5 'product_name': 'skia_images', |
6 'type': 'static_library', | 6 'type': 'static_library', |
7 'standalone_static_library': 1, | 7 'standalone_static_library': 1, |
8 'dependencies': [ | 8 'dependencies': [ |
9 'libjpeg.gyp:*', | 9 'libjpeg.gyp:*', |
10 'utils.gyp:utils', | 10 'utils.gyp:utils', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 # libpng stuff: | 99 # libpng stuff: |
100 # Any targets that depend on this target should link in libpng and | 100 # Any targets that depend on this target should link in libpng and |
101 # our code that calls it. | 101 # our code that calls it. |
102 # See http://code.google.com/p/gyp/wiki/InputFormatReference#Dependent
_Settings | 102 # See http://code.google.com/p/gyp/wiki/InputFormatReference#Dependent
_Settings |
103 'link_settings': { | 103 'link_settings': { |
104 'sources': [ | 104 'sources': [ |
105 '../src/images/SkImageDecoder_libpng.cpp', | 105 '../src/images/SkImageDecoder_libpng.cpp', |
106 ], | 106 ], |
107 'libraries': [ | 107 'libraries': [ |
108 '-lpng', | 108 '-lpng', |
| 109 '-lz', |
109 ], | 110 ], |
110 }, | 111 }, |
111 # end libpng stuff | 112 # end libpng stuff |
112 }], | 113 }], |
113 [ 'skia_os == "android"', { | 114 [ 'skia_os == "android"', { |
114 'include_dirs': [ | 115 'include_dirs': [ |
115 '../src/utils', | 116 '../src/utils', |
116 ], | 117 ], |
117 'dependencies': [ | 118 'dependencies': [ |
118 'android_deps.gyp:gif', | 119 'android_deps.gyp:gif', |
(...skipping 22 matching lines...) Expand all Loading... |
141 }, | 142 }, |
142 }, | 143 }, |
143 ], | 144 ], |
144 } | 145 } |
145 | 146 |
146 # Local Variables: | 147 # Local Variables: |
147 # tab-width:2 | 148 # tab-width:2 |
148 # indent-tabs-mode:nil | 149 # indent-tabs-mode:nil |
149 # End: | 150 # End: |
150 # vim: set expandtab tabstop=2 shiftwidth=2: | 151 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |