| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 '../third_party/skia/src/ports/SkImageDecoder_empty.cpp', | 30 '../third_party/skia/src/ports/SkImageDecoder_empty.cpp', |
| 31 '../third_party/skia/src/images/SkScaledBitmapSampler.cpp', | 31 '../third_party/skia/src/images/SkScaledBitmapSampler.cpp', |
| 32 | 32 |
| 33 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 33 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
| 34 '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp', | 34 '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp', |
| 35 | 35 |
| 36 '../third_party/skia/src/ports/SkDiscardableMemory_none.cpp', | 36 '../third_party/skia/src/ports/SkDiscardableMemory_none.cpp', |
| 37 | 37 |
| 38 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', | 38 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', |
| 39 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | |
| 40 | |
| 41 '../third_party/skia/src/ports/SkFontMgr_empty_factory.cpp', | |
| 42 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', | |
| 43 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', | 39 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', |
| 44 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', | 40 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', |
| 45 | 41 |
| 46 '../third_party/skia/src/ports/SkImageGenerator_none.cpp', | 42 '../third_party/skia/src/ports/SkImageGenerator_none.cpp', |
| 47 | 43 |
| 48 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 44 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 49 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 45 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
| 50 '../third_party/skia/src/ports/SkFontHost_mac.cpp', | 46 '../third_party/skia/src/ports/SkFontHost_mac.cpp', |
| 51 '../third_party/skia/src/ports/SkFontHost_win.cpp', | 47 '../third_party/skia/src/ports/SkFontHost_win.cpp', |
| 52 "../third_party/skia/src/ports/SkFontMgr_android.cpp", | 48 "../third_party/skia/src/ports/SkFontMgr_android.cpp", |
| 53 "../third_party/skia/src/ports/SkFontMgr_android_factory.cpp", | 49 "../third_party/skia/src/ports/SkFontMgr_android_factory.cpp", |
| 54 '../third_party/skia/src/ports/SkFontMgr_android_parser.cpp', | 50 '../third_party/skia/src/ports/SkFontMgr_android_parser.cpp', |
| 55 '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', | 51 '../third_party/skia/src/ports/SkFontMgr_custom.cpp', |
| 52 '../third_party/skia/src/ports/SkFontMgr_custom_empty_factory.cpp', |
| 53 |
| 56 '../third_party/skia/src/ports/SkGlobalInitialization_default.cpp', | 54 '../third_party/skia/src/ports/SkGlobalInitialization_default.cpp', |
| 57 '../third_party/skia/src/ports/SkMemory_malloc.cpp', | 55 '../third_party/skia/src/ports/SkMemory_malloc.cpp', |
| 58 '../third_party/skia/src/ports/SkOSFile_posix.cpp', | 56 '../third_party/skia/src/ports/SkOSFile_posix.cpp', |
| 59 '../third_party/skia/src/ports/SkOSFile_stdio.cpp', | 57 '../third_party/skia/src/ports/SkOSFile_stdio.cpp', |
| 60 '../third_party/skia/src/ports/SkOSFile_win.cpp', | 58 '../third_party/skia/src/ports/SkOSFile_win.cpp', |
| 61 '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', | 59 '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', |
| 62 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 60 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
| 63 '../third_party/skia/src/ports/SkTLS_pthread.cpp', | 61 '../third_party/skia/src/ports/SkTLS_pthread.cpp', |
| 64 '../third_party/skia/src/ports/SkTLS_win.cpp', | 62 '../third_party/skia/src/ports/SkTLS_win.cpp', |
| 65 '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', | 63 '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', |
| 66 | 64 |
| 67 '../third_party/skia/src/sfnt/SkOTTable_name.cpp', | 65 '../third_party/skia/src/sfnt/SkOTTable_name.cpp', |
| 68 '../third_party/skia/src/sfnt/SkOTUtils.cpp', | 66 '../third_party/skia/src/sfnt/SkOTUtils.cpp', |
| 69 ], | 67 ], |
| 70 | 68 |
| 71 # Exclude all unused files in skia utils.gypi file | 69 # Exclude all unused files in skia utils.gypi file |
| 72 'sources!': [ | 70 'sources!': [ |
| 73 '../third_party/skia/src/utils/SkBoundaryPatch.cpp', | 71 '../third_party/skia/src/utils/SkBoundaryPatch.cpp', |
| 74 '../third_party/skia/src/utils/SkFrontBufferedStream.cpp', | 72 '../third_party/skia/src/utils/SkFrontBufferedStream.cpp', |
| 75 '../third_party/skia/src/utils/SkCamera.cpp', | 73 '../third_party/skia/src/utils/SkCamera.cpp', |
| 76 '../third_party/skia/src/utils/SkDumpCanvas.cpp', | 74 '../third_party/skia/src/utils/SkDumpCanvas.cpp', |
| 77 '../third_party/skia/src/utils/SkInterpolator.cpp', | 75 '../third_party/skia/src/utils/SkInterpolator.cpp', |
| 78 '../third_party/skia/src/utils/SkLayer.cpp', | 76 '../third_party/skia/src/utils/SkLayer.cpp', |
| 79 '../third_party/skia/src/utils/SkMD5.cpp', | 77 '../third_party/skia/src/utils/SkMD5.cpp', |
| 80 '../third_party/skia/src/utils/SkMeshUtils.cpp', | 78 '../third_party/skia/src/utils/SkMeshUtils.cpp', |
| 81 '../third_party/skia/src/utils/SkNinePatch.cpp', | 79 '../third_party/skia/src/utils/SkNinePatch.cpp', |
| 82 '../third_party/skia/src/utils/SkOSFile.cpp', | |
| 83 '../third_party/skia/src/utils/SkParsePath.cpp', | 80 '../third_party/skia/src/utils/SkParsePath.cpp', |
| 84 | 81 |
| 85 #windows | 82 #windows |
| 86 '../third_party/skia/src/utils/win/SkAutoCoInitialize.cpp', | 83 '../third_party/skia/src/utils/win/SkAutoCoInitialize.cpp', |
| 87 '../third_party/skia/src/utils/win/SkIStream.cpp', | 84 '../third_party/skia/src/utils/win/SkIStream.cpp', |
| 88 '../third_party/skia/src/utils/win/SkWGL_win.cpp', | 85 '../third_party/skia/src/utils/win/SkWGL_win.cpp', |
| 89 | 86 |
| 90 #testing | 87 #testing |
| 91 '../third_party/skia/src/fonts/SkGScalerContext.cpp', | 88 '../third_party/skia/src/fonts/SkGScalerContext.cpp', |
| 92 ], | 89 ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 105 '../third_party/skia/include/private', | 102 '../third_party/skia/include/private', |
| 106 '../third_party/skia/include/utils', | 103 '../third_party/skia/include/utils', |
| 107 '../third_party/skia/src/core', | 104 '../third_party/skia/src/core', |
| 108 '../third_party/skia/src/opts', | 105 '../third_party/skia/src/opts', |
| 109 '../third_party/skia/src/image', | 106 '../third_party/skia/src/image', |
| 110 '../third_party/skia/src/pdf', | 107 '../third_party/skia/src/pdf', |
| 111 '../third_party/skia/src/ports', | 108 '../third_party/skia/src/ports', |
| 112 '../third_party/skia/src/sfnt', | 109 '../third_party/skia/src/sfnt', |
| 113 '../third_party/skia/src/utils', | 110 '../third_party/skia/src/utils', |
| 114 '../third_party/skia/src/lazy', | 111 '../third_party/skia/src/lazy', |
| 112 # TODO(dsinclair): Right way to use third_party.gyp:fx_freetype? |
| 113 '../third_party/freetype/include', |
| 115 ], | 114 ], |
| 116 'conditions': [ | 115 'conditions': [ |
| 117 ['skia_support_gpu != 0', { | 116 ['skia_support_gpu != 0', { |
| 118 'includes': [ | 117 'includes': [ |
| 119 '../third_party/skia/gyp/gpu.gypi', | 118 '../third_party/skia/gyp/gpu.gypi', |
| 120 ], | 119 ], |
| 121 'sources': [ | 120 'sources': [ |
| 122 '<@(skgpu_null_gl_sources)', | 121 '<@(skgpu_null_gl_sources)', |
| 123 '<@(skgpu_sources)', | 122 '<@(skgpu_sources)', |
| 124 ], | 123 ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 137 'dependencies': [ | 136 'dependencies': [ |
| 138 '../third_party/sfntly/sfntly.gyp:sfntly', | 137 '../third_party/sfntly/sfntly.gyp:sfntly', |
| 139 ], | 138 ], |
| 140 }], | 139 }], |
| 141 | 140 |
| 142 [ 'OS == "win"', { | 141 [ 'OS == "win"', { |
| 143 'sources!': [ | 142 'sources!': [ |
| 144 # Keeping _win.cpp | 143 # Keeping _win.cpp |
| 145 "../third_party/skia/src/utils/SkThreadUtils_pthread.cpp", | 144 "../third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 146 ], | 145 ], |
| 146 'dependencies': [ |
| 147 '../third_party/third_party.gyp:fx_freetype' |
| 148 ], |
| 147 },{ | 149 },{ |
| 148 'sources!': [ | 150 'sources!': [ |
| 149 # Keeping _pthread.cpp | 151 # Keeping _pthread.cpp |
| 150 "../third_party/skia/src/utils/SkThreadUtils_win.cpp", | 152 "../third_party/skia/src/utils/SkThreadUtils_win.cpp", |
| 151 ], | 153 ], |
| 152 }], | 154 }], |
| 153 | 155 |
| 154 [ 'OS != "mac"', { | 156 [ 'OS != "mac"', { |
| 155 'sources/': [ | 157 'sources/': [ |
| 156 ['exclude', '/mac/'] | 158 ['exclude', '/mac/'] |
| 157 ], | 159 ], |
| 158 }], | 160 }], |
| 159 [ 'OS == "android" and target_arch == "arm"', { | 161 [ 'OS == "android" and target_arch == "arm"', { |
| 160 'sources': [ | 162 'sources': [ |
| 161 '../third_party/skia/src/core/SkUtilsArm.cpp', | 163 '../third_party/skia/src/core/SkUtilsArm.cpp', |
| 162 ], | 164 ], |
| 163 }], | 165 }], |
| 164 [ 'OS=="linux"', { | 166 [ 'OS=="linux"', { |
| 165 'dependencies': [ | 167 'dependencies': [ |
| 166 '../third_party/third_party.gyp:fx_freetype' | 168 '../third_party/third_party.gyp:fx_freetype' |
| 167 ], | 169 ], |
| 168 'cflags': [ | 170 'cflags': [ |
| 169 '-Wno-unused', | 171 '-Wno-unused', |
| 170 '-Wno-unused-function', | 172 '-Wno-unused-function', |
| 171 ], | 173 ], |
| 172 # TODO(dsinclair): Right way to use third_party.gyp:fx_freetype? | |
| 173 'include_dirs': [ | |
| 174 '../third_party/freetype/include', | |
| 175 ], | |
| 176 }], | 174 }], |
| 177 [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { | 175 [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
| 178 'sources!': [ | 176 'sources!': [ |
| 179 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 177 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
| 180 '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp'
, | 178 '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp'
, |
| 181 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', | 179 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
| 182 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', | 180 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
| 183 ], | 181 ], |
| 184 }], | 182 }], |
| 185 [ 'OS=="win" or OS=="mac" or OS=="ios"', { | 183 [ 'OS=="mac" or OS=="ios"', { |
| 186 'sources!': [ | 184 'sources!': [ |
| 187 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 185 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 188 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 186 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
| 189 | 187 |
| 190 ], | 188 ], |
| 191 }], | 189 }], |
| 192 [ 'OS == "android"', { | 190 [ 'OS == "android"', { |
| 193 'dependencies': [ | 191 'dependencies': [ |
| 194 '../third_party/expat/expat.gyp:expat', | 192 '../third_party/expat/expat.gyp:expat', |
| 195 '../third_party/freetype-android/freetype.gyp:ft2', | 193 '../third_party/freetype-android/freetype.gyp:ft2', |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 '../third_party/skia/include/pdf', | 301 '../third_party/skia/include/pdf', |
| 304 '../third_party/skia/include/gpu', | 302 '../third_party/skia/include/gpu', |
| 305 '../third_party/skia/include/lazy', | 303 '../third_party/skia/include/lazy', |
| 306 '../third_party/skia/include/pathops', | 304 '../third_party/skia/include/pathops', |
| 307 '../third_party/skia/include/pipe', | 305 '../third_party/skia/include/pipe', |
| 308 '../third_party/skia/include/ports', | 306 '../third_party/skia/include/ports', |
| 309 '../third_party/skia/include/utils', | 307 '../third_party/skia/include/utils', |
| 310 ], | 308 ], |
| 311 }, | 309 }, |
| 312 } | 310 } |
| OLD | NEW |