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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 ], | 353 ], |
354 'target_conditions': [ | 354 'target_conditions': [ |
355 # Pull in specific Mac files for iOS (which have been filtered out | 355 # Pull in specific Mac files for iOS (which have been filtered out |
356 # by file name rules). | 356 # by file name rules). |
357 [ 'OS == "ios"', { | 357 [ 'OS == "ios"', { |
358 'sources/': [ | 358 'sources/': [ |
359 ['include', 'SkFontHost_mac\\.cpp$',], | 359 ['include', 'SkFontHost_mac\\.cpp$',], |
360 ['include', 'SkStream_mac\\.cpp$',], | 360 ['include', 'SkStream_mac\\.cpp$',], |
361 ['include', 'SkCreateCGImageRef\\.cpp$',], | 361 ['include', 'SkCreateCGImageRef\\.cpp$',], |
362 ], | 362 ], |
| 363 'xcode_settings' : { |
| 364 'WARNING_CFLAGS': [ |
| 365 # SkFontHost_mac.cpp uses API deprecated in iOS 7. |
| 366 # crbug.com/408571 |
| 367 '-Wno-deprecated-declarations', |
| 368 ], |
| 369 }, |
363 }], | 370 }], |
364 ], | 371 ], |
365 | 372 |
366 'direct_dependent_settings': { | 373 'direct_dependent_settings': { |
367 'include_dirs': [ | 374 'include_dirs': [ |
368 #temporary until we can hide SkFontHost | 375 #temporary until we can hide SkFontHost |
369 '../third_party/skia/src/core', | 376 '../third_party/skia/src/core', |
370 | 377 |
371 '../third_party/skia/include/core', | 378 '../third_party/skia/include/core', |
372 '../third_party/skia/include/effects', | 379 '../third_party/skia/include/effects', |
373 '../third_party/skia/include/pdf', | 380 '../third_party/skia/include/pdf', |
374 '../third_party/skia/include/gpu', | 381 '../third_party/skia/include/gpu', |
375 '../third_party/skia/include/lazy', | 382 '../third_party/skia/include/lazy', |
376 '../third_party/skia/include/pathops', | 383 '../third_party/skia/include/pathops', |
377 '../third_party/skia/include/pipe', | 384 '../third_party/skia/include/pipe', |
378 '../third_party/skia/include/ports', | 385 '../third_party/skia/include/ports', |
379 '../third_party/skia/include/utils', | 386 '../third_party/skia/include/utils', |
380 ], | 387 ], |
381 }, | 388 }, |
382 } | 389 } |
OLD | NEW |