| 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 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ], | 261 ], |
| 262 'includes': [ | 262 'includes': [ |
| 263 '../build/android/cpufeatures.gypi', | 263 '../build/android/cpufeatures.gypi', |
| 264 ], | 264 ], |
| 265 }], | 265 }], |
| 266 [ 'target_arch == "arm" or target_arch == "mipsel"', { | 266 [ 'target_arch == "arm" or target_arch == "mipsel"', { |
| 267 'sources!': [ | 267 'sources!': [ |
| 268 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 268 '../third_party/skia/src/opts/opts_check_SSE2.cpp' |
| 269 ], | 269 ], |
| 270 }], | 270 }], |
| 271 [ 'use_glib == 1', { | 271 [ 'desktop_linux == 1 or chromeos == 1', { |
| 272 'dependencies': [ | 272 'dependencies': [ |
| 273 '../build/linux/system.gyp:fontconfig', | 273 '../build/linux/system.gyp:fontconfig', |
| 274 '../build/linux/system.gyp:freetype2', | 274 '../build/linux/system.gyp:freetype2', |
| 275 '../build/linux/system.gyp:pangocairo', | 275 '../build/linux/system.gyp:pangocairo', |
| 276 '../third_party/icu/icu.gyp:icuuc', | 276 '../third_party/icu/icu.gyp:icuuc', |
| 277 ], | 277 ], |
| 278 'cflags': [ | 278 'cflags': [ |
| 279 '-Wno-unused', | 279 '-Wno-unused', |
| 280 '-Wno-unused-function', | 280 '-Wno-unused-function', |
| 281 ], | 281 ], |
| 282 }], | 282 }], |
| 283 [ 'use_glib == 0', { | 283 [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
| 284 'sources!': [ | 284 'sources!': [ |
| 285 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 285 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
| 286 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', | 286 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
| 287 ], | 287 ], |
| 288 }], | 288 }], |
| 289 [ 'use_glib == 0 and OS != "android"', { | 289 [ 'OS=="win" or OS=="mac" or OS=="ios"', { |
| 290 'sources!': [ | 290 'sources!': [ |
| 291 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 291 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 292 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 292 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
| 293 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', | 293 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
| 294 | 294 |
| 295 ], | 295 ], |
| 296 }], | 296 }], |
| 297 [ 'OS == "android"', { | 297 [ 'OS == "android"', { |
| 298 'dependencies': [ | 298 'dependencies': [ |
| 299 '../third_party/expat/expat.gyp:expat', | 299 '../third_party/expat/expat.gyp:expat', |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 '../third_party/skia/include/pathops', | 460 '../third_party/skia/include/pathops', |
| 461 '../third_party/skia/include/pipe', | 461 '../third_party/skia/include/pipe', |
| 462 '../third_party/skia/include/ports', | 462 '../third_party/skia/include/ports', |
| 463 '../third_party/skia/include/utils', | 463 '../third_party/skia/include/utils', |
| 464 ], | 464 ], |
| 465 'defines': [ | 465 'defines': [ |
| 466 '<@(skia_export_defines)', | 466 '<@(skia_export_defines)', |
| 467 ], | 467 ], |
| 468 }, | 468 }, |
| 469 } | 469 } |
| OLD | NEW |