| 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 all the Chrome-specific enhancements to Skia. | 6 # This gypi file contains all the Chrome-specific enhancements to Skia. |
| 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 Skia files but in all other cases it is a separate library. | 8 # the Skia files but in all other cases it is a separate library. |
| 9 { | 9 { |
| 10 'dependencies': [ | 10 'dependencies': [ |
| 11 'skia_library', | 11 'skia_library', |
| 12 'skia_chrome_opts', | 12 'skia_chrome_opts', |
| 13 '../base/base.gyp:base', | 13 '../base/base.gyp:base', |
| 14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | 14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', |
| 15 ], | 15 ], |
| 16 | 16 |
| 17 'direct_dependent_settings': { | 17 'direct_dependent_settings': { |
| 18 'include_dirs': [ | 18 'include_dirs': [ |
| 19 'ext', | 19 'ext', |
| 20 ], | 20 ], |
| 21 }, | 21 }, |
| 22 | 22 |
| 23 'sources': [ | 23 'sources': [ |
| 24 'ext/analysis_canvas.cc', | 24 'ext/analysis_canvas.cc', |
| 25 'ext/analysis_canvas.h', | 25 'ext/analysis_canvas.h', |
| 26 'ext/benchmarking_canvas.cc', | 26 'ext/benchmarking_canvas.cc', |
| 27 'ext/benchmarking_canvas.h', | 27 'ext/benchmarking_canvas.h', |
| 28 'ext/bitmap_platform_device.h', | 28 'ext/bitmap_platform_device.h', |
| 29 'ext/bitmap_platform_device_android.cc', | 29 'ext/bitmap_platform_device_cairo.cc', |
| 30 'ext/bitmap_platform_device_android.h', | 30 'ext/bitmap_platform_device_cairo.h', |
| 31 'ext/bitmap_platform_device_data.h', | 31 'ext/bitmap_platform_device_data.h', |
| 32 'ext/bitmap_platform_device_linux.cc', | |
| 33 'ext/bitmap_platform_device_linux.h', | |
| 34 'ext/bitmap_platform_device_mac.cc', | 32 'ext/bitmap_platform_device_mac.cc', |
| 35 'ext/bitmap_platform_device_mac.h', | 33 'ext/bitmap_platform_device_mac.h', |
| 34 'ext/bitmap_platform_device_skia.cc', |
| 35 'ext/bitmap_platform_device_skia.h', |
| 36 'ext/bitmap_platform_device_win.cc', | 36 'ext/bitmap_platform_device_win.cc', |
| 37 'ext/bitmap_platform_device_win.h', | 37 'ext/bitmap_platform_device_win.h', |
| 38 'ext/convolver.cc', | 38 'ext/convolver.cc', |
| 39 'ext/convolver.h', | 39 'ext/convolver.h', |
| 40 'ext/google_logging.cc', | 40 'ext/google_logging.cc', |
| 41 'ext/image_operations.cc', | 41 'ext/image_operations.cc', |
| 42 'ext/image_operations.h', | 42 'ext/image_operations.h', |
| 43 'ext/lazy_pixel_ref.cc', | 43 'ext/lazy_pixel_ref.cc', |
| 44 'ext/lazy_pixel_ref.h', | 44 'ext/lazy_pixel_ref.h', |
| 45 'ext/lazy_pixel_ref_utils.cc', | 45 'ext/lazy_pixel_ref_utils.cc', |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'xcode_settings': { | 97 'xcode_settings': { |
| 98 'WARNING_CFLAGS!': [ | 98 'WARNING_CFLAGS!': [ |
| 99 # Don't warn about string->bool used in asserts. | 99 # Don't warn about string->bool used in asserts. |
| 100 '-Wstring-conversion', | 100 '-Wstring-conversion', |
| 101 ], | 101 ], |
| 102 }, | 102 }, |
| 103 'cflags!': [ | 103 'cflags!': [ |
| 104 '-Wstring-conversion', | 104 '-Wstring-conversion', |
| 105 ], | 105 ], |
| 106 }], | 106 }], |
| 107 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { |
| 108 'sources!': [ |
| 109 'ext/bitmap_platform_device_skia.cc', |
| 110 ], |
| 111 }], |
| 107 ], | 112 ], |
| 108 | 113 |
| 109 'target_conditions': [ | 114 'target_conditions': [ |
| 110 # Pull in specific linux files for android (which have been filtered out | 115 # Pull in specific linux files for android (which have been filtered out |
| 111 # by file name rules). | 116 # by file name rules). |
| 112 [ 'OS == "android"', { | 117 [ 'OS == "android"', { |
| 113 'sources/': [ | 118 'sources/': [ |
| 114 ['include', 'ext/platform_device_linux\\.cc$'], | 119 ['include', 'ext/platform_device_linux\\.cc$'], |
| 115 ], | 120 ], |
| 116 }], | 121 }], |
| 117 ], | 122 ], |
| 118 } | 123 } |
| OLD | NEW |