OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # This gypi file contains the Skia library. | 6 # This gypi file contains the Skia library. |
7 # In component mode (shared_lib) it is folded into a single shared library with | 7 # In component mode (shared_lib) it is folded into a single shared library with |
8 # the Chrome-specific enhancements but in all other cases it is a separate lib. | 8 # the Chrome-specific enhancements but in all other cases it is a separate lib. |
9 | 9 |
10 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 10 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 '../third_party/skia/src/core/SkUtilsArm.cpp', | 155 '../third_party/skia/src/core/SkUtilsArm.cpp', |
156 ], | 156 ], |
157 'dependencies': [ | 157 'dependencies': [ |
158 '../build/android/ndk.gyp:cpu_features', | 158 '../build/android/ndk.gyp:cpu_features', |
159 ], | 159 ], |
160 }], | 160 }], |
161 [ 'desktop_linux == 1 or chromeos == 1', { | 161 [ 'desktop_linux == 1 or chromeos == 1', { |
162 'dependencies': [ | 162 'dependencies': [ |
163 '../build/linux/system.gyp:fontconfig', | 163 '../build/linux/system.gyp:fontconfig', |
164 '../build/linux/system.gyp:freetype2', | 164 '../build/linux/system.gyp:freetype2', |
| 165 '../third_party/expat/expat.gyp:expat', |
165 '../third_party/icu/icu.gyp:icuuc', | 166 '../third_party/icu/icu.gyp:icuuc', |
166 ], | 167 ], |
167 'cflags': [ | 168 'cflags': [ |
168 '-Wno-unused', | 169 '-Wno-unused', |
169 '-Wno-unused-function', | 170 '-Wno-unused-function', |
170 ], | 171 ], |
171 }], | 172 }], |
172 [ 'use_cairo == 1 and use_pango == 1', { | 173 [ 'use_cairo == 1 and use_pango == 1', { |
173 'dependencies': [ | 174 'dependencies': [ |
174 '../build/linux/system.gyp:pangocairo', | 175 '../build/linux/system.gyp:pangocairo', |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 ['include', 'SkCreateCGImageRef\\.cpp$',], | 288 ['include', 'SkCreateCGImageRef\\.cpp$',], |
288 ], | 289 ], |
289 'xcode_settings' : { | 290 'xcode_settings' : { |
290 'WARNING_CFLAGS': [ | 291 'WARNING_CFLAGS': [ |
291 # SkFontHost_mac.cpp uses API deprecated in iOS 7. | 292 # SkFontHost_mac.cpp uses API deprecated in iOS 7. |
292 # crbug.com/408571 | 293 # crbug.com/408571 |
293 '-Wno-deprecated-declarations', | 294 '-Wno-deprecated-declarations', |
294 ], | 295 ], |
295 }, | 296 }, |
296 }], | 297 }], |
| 298 # Add the files for the SkFontMgr_Android. This is used to emulate android |
| 299 # fonts on linux. See content/zygote/zygote_main_linux.cc |
| 300 [ 'OS == "linux"', { |
| 301 'sources/': [ |
| 302 ['include', 'SkFontMgr_android\\.cpp$',], |
| 303 ['include', 'SkFontMgr_android_parser\\.cpp$',], |
| 304 ], |
| 305 }], |
297 ], | 306 ], |
298 | 307 |
299 'direct_dependent_settings': { | 308 'direct_dependent_settings': { |
300 'include_dirs': [ | 309 'include_dirs': [ |
301 '../third_party/skia/include/core', | 310 '../third_party/skia/include/core', |
302 '../third_party/skia/include/effects', | 311 '../third_party/skia/include/effects', |
303 '../third_party/skia/include/pdf', | 312 '../third_party/skia/include/pdf', |
304 '../third_party/skia/include/gpu', | 313 '../third_party/skia/include/gpu', |
305 '../third_party/skia/include/lazy', | 314 '../third_party/skia/include/lazy', |
306 '../third_party/skia/include/pathops', | 315 '../third_party/skia/include/pathops', |
307 '../third_party/skia/include/pipe', | 316 '../third_party/skia/include/pipe', |
308 '../third_party/skia/include/ports', | 317 '../third_party/skia/include/ports', |
309 '../third_party/skia/include/utils', | 318 '../third_party/skia/include/utils', |
310 ], | 319 ], |
311 }, | 320 }, |
312 } | 321 } |
OLD | NEW |