| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # Port-specific Skia library code. | 5 # Port-specific Skia library code. |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'ports', | 9 'target_name': 'ports', |
| 10 'product_name': 'skia_ports', | 10 'product_name': 'skia_ports', |
| 11 'type': 'static_library', | 11 'type': 'static_library', |
| 12 'standalone_static_library': 1, | 12 'standalone_static_library': 1, |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 'core.gyp:*', | 14 'core.gyp:*', |
| 15 ], | 15 ], |
| 16 'include_dirs': [ | 16 'include_dirs': [ |
| 17 '../include/effects', | 17 '../include/effects', |
| 18 '../include/images', | 18 '../include/images', |
| 19 '../include/ports', | 19 '../include/ports', |
| 20 '../include/utils', | 20 '../include/utils', |
| 21 '../include/utils/win', | 21 '../include/utils/win', |
| 22 '../src/core', | 22 '../src/core', |
| 23 '../src/lazy', | 23 '../src/lazy', |
| 24 '../src/ports', | 24 '../src/ports', |
| 25 '../src/sfnt', | 25 '../src/sfnt', |
| 26 '../src/utils', | 26 '../src/utils', |
| 27 ], | 27 ], |
| 28 'sources': [ | 28 'sources': [ |
| 29 '../src/ports/SkDebug_nacl.cpp', | |
| 30 '../src/ports/SkDebug_stdio.cpp', | 29 '../src/ports/SkDebug_stdio.cpp', |
| 31 '../src/ports/SkDebug_win.cpp', | 30 '../src/ports/SkDebug_win.cpp', |
| 32 | 31 |
| 33 '../src/fonts/SkFontMgr_indirect.cpp', | 32 '../src/fonts/SkFontMgr_indirect.cpp', |
| 34 '../src/fonts/SkRemotableFontMgr.cpp', | 33 '../src/fonts/SkRemotableFontMgr.cpp', |
| 35 '../src/ports/SkFontHost_win.cpp', | 34 '../src/ports/SkFontHost_win.cpp', |
| 36 '../src/ports/SkFontMgr_default_gdi.cpp', | 35 '../src/ports/SkFontMgr_default_gdi.cpp', |
| 37 '../src/ports/SkFontMgr_default_dw.cpp', | 36 '../src/ports/SkFontMgr_default_dw.cpp', |
| 38 '../src/ports/SkFontMgr_win_dw.cpp', | 37 '../src/ports/SkFontMgr_win_dw.cpp', |
| 39 '../src/ports/SkRemotableFontMgr_win_dw.cpp', | 38 '../src/ports/SkRemotableFontMgr_win_dw.cpp', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 52 '../src/ports/SkTime_win.cpp', | 51 '../src/ports/SkTime_win.cpp', |
| 53 '../src/ports/SkTLS_pthread.cpp', | 52 '../src/ports/SkTLS_pthread.cpp', |
| 54 '../src/ports/SkTLS_win.cpp', | 53 '../src/ports/SkTLS_win.cpp', |
| 55 | 54 |
| 56 '../include/ports/SkFontConfigInterface.h', | 55 '../include/ports/SkFontConfigInterface.h', |
| 57 '../include/ports/SkFontMgr.h', | 56 '../include/ports/SkFontMgr.h', |
| 58 '../include/ports/SkFontMgr_indirect.h', | 57 '../include/ports/SkFontMgr_indirect.h', |
| 59 '../include/ports/SkRemotableFontMgr.h', | 58 '../include/ports/SkRemotableFontMgr.h', |
| 60 ], | 59 ], |
| 61 'conditions': [ | 60 'conditions': [ |
| 62 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "na
cl", "android"]', { | 61 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { |
| 63 'sources': [ | 62 'sources': [ |
| 64 '../src/ports/SkFontHost_FreeType.cpp', | 63 '../src/ports/SkFontHost_FreeType.cpp', |
| 65 '../src/ports/SkFontHost_FreeType_common.cpp', | 64 '../src/ports/SkFontHost_FreeType_common.cpp', |
| 66 ], | 65 ], |
| 67 'dependencies': [ | 66 'dependencies': [ |
| 68 'freetype.gyp:freetype', | 67 'freetype.gyp:freetype', |
| 69 ], | 68 ], |
| 70 }], | 69 }], |
| 71 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 70 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 72 'conditions': [ | 71 'conditions': [ |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 ], | 122 ], |
| 124 }, | 123 }, |
| 125 'sources': [ | 124 'sources': [ |
| 126 '../src/ports/SkFontMgr_fontconfig.cpp', | 125 '../src/ports/SkFontMgr_fontconfig.cpp', |
| 127 '../src/ports/SkFontHost_fontconfig.cpp', | 126 '../src/ports/SkFontHost_fontconfig.cpp', |
| 128 '../src/ports/SkFontConfigInterface_direct.cpp', | 127 '../src/ports/SkFontConfigInterface_direct.cpp', |
| 129 ], | 128 ], |
| 130 }] | 129 }] |
| 131 ], | 130 ], |
| 132 }], | 131 }], |
| 133 [ 'skia_os == "nacl"', { | |
| 134 'sources': [ | |
| 135 '../src/ports/SkFontHost_linux.cpp', | |
| 136 ], | |
| 137 'sources!': [ | |
| 138 '../src/ports/SkDebug_stdio.cpp', | |
| 139 ], | |
| 140 }, { | |
| 141 'sources!': [ | |
| 142 '../src/ports/SkDebug_nacl.cpp', | |
| 143 ], | |
| 144 }], | |
| 145 [ 'skia_os == "mac"', { | 132 [ 'skia_os == "mac"', { |
| 146 'include_dirs': [ | 133 'include_dirs': [ |
| 147 '../include/utils/mac', | 134 '../include/utils/mac', |
| 148 ], | 135 ], |
| 149 'sources': [ | 136 'sources': [ |
| 150 '../src/ports/SkFontHost_mac.cpp', | 137 '../src/ports/SkFontHost_mac.cpp', |
| 151 '../src/utils/mac/SkStream_mac.cpp', | 138 '../src/utils/mac/SkStream_mac.cpp', |
| 152 ], | 139 ], |
| 153 'sources!': [ | 140 'sources!': [ |
| 154 '../src/ports/SkFontHost_tables.cpp', | 141 '../src/ports/SkFontHost_tables.cpp', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 }], | 209 }], |
| 223 ], | 210 ], |
| 224 'direct_dependent_settings': { | 211 'direct_dependent_settings': { |
| 225 'include_dirs': [ | 212 'include_dirs': [ |
| 226 '../include/ports', | 213 '../include/ports', |
| 227 ], | 214 ], |
| 228 }, | 215 }, |
| 229 }, | 216 }, |
| 230 ], | 217 ], |
| 231 } | 218 } |
| OLD | NEW |