| 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', | |
| 13 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | 13 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', |
| 15 ], | 14 ], |
| 16 | 15 |
| 17 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
| 18 'include_dirs': [ | 17 'include_dirs': [ |
| 19 'ext', | 18 'ext', |
| 20 ], | 19 ], |
| 21 }, | 20 }, |
| 22 'variables': { | 21 'variables': { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 'ext/skia_utils_win.cc', | 77 'ext/skia_utils_win.cc', |
| 79 'ext/skia_utils_win.h', | 78 'ext/skia_utils_win.h', |
| 80 ], | 79 ], |
| 81 'conditions': [ | 80 'conditions': [ |
| 82 [ 'OS == "android" and ' | 81 [ 'OS == "android" and ' |
| 83 'enable_basic_printing==0 and enable_print_preview==0', { | 82 'enable_basic_printing==0 and enable_print_preview==0', { |
| 84 'sources!': [ | 83 'sources!': [ |
| 85 'ext/skia_utils_base.cc', | 84 'ext/skia_utils_base.cc', |
| 86 ], | 85 ], |
| 87 }], | 86 }], |
| 88 ['OS == "ios"', { | |
| 89 'dependencies!': [ | |
| 90 'skia_chrome_opts', | |
| 91 ], | |
| 92 }], | |
| 93 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { | 87 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { |
| 94 'sources!': [ | 88 'sources!': [ |
| 95 'ext/bitmap_platform_device_skia.cc', | 89 'ext/bitmap_platform_device_skia.cc', |
| 96 ], | 90 ], |
| 97 }], | 91 }], |
| 92 [ 'OS != "ios" and target_arch != "arm" and target_arch != "mipsel" and \ |
| 93 target_arch != "arm64" and target_arch != "mips64el"', { |
| 94 'sources': [ |
| 95 'ext/convolver_SSE2.cc', |
| 96 'ext/convolver_SSE2.h', |
| 97 ], |
| 98 }], |
| 99 [ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{ |
| 100 'sources': [ |
| 101 'ext/convolver_mips_dspr2.cc', |
| 102 'ext/convolver_mips_dspr2.h', |
| 103 ], |
| 104 }], |
| 98 ], | 105 ], |
| 99 | 106 |
| 100 'target_conditions': [ | 107 'target_conditions': [ |
| 101 # Pull in specific linux files for android (which have been filtered out | 108 # Pull in specific linux files for android (which have been filtered out |
| 102 # by file name rules). | 109 # by file name rules). |
| 103 [ 'OS == "android"', { | 110 [ 'OS == "android"', { |
| 104 'sources/': [ | 111 'sources/': [ |
| 105 ['include', 'ext/platform_device_linux\\.cc$'], | 112 ['include', 'ext/platform_device_linux\\.cc$'], |
| 106 ], | 113 ], |
| 107 }], | 114 }], |
| 108 ], | 115 ], |
| 109 } | 116 } |
| OLD | NEW |