| 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 'qcms.gyp:qcms', | |
| 16 ], | 15 ], |
| 17 'export_dependent_settings': [ 'qcms.gyp:qcms', ], | |
| 18 'include_dirs': [ | 16 'include_dirs': [ |
| 19 '../include/effects', | 17 '../include/effects', |
| 20 '../include/client/android', | 18 '../include/client/android', |
| 21 '../include/images', | 19 '../include/images', |
| 22 '../include/ports', | 20 '../include/ports', |
| 23 '../include/private', | 21 '../include/private', |
| 24 '../include/utils', | 22 '../include/utils', |
| 25 '../include/utils/win', | 23 '../include/utils/win', |
| 26 '../src/core', | 24 '../src/core', |
| 27 '../src/image', | 25 '../src/image', |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 '../include/ports/SkFontMgr_android.h', | 67 '../include/ports/SkFontMgr_android.h', |
| 70 '../include/ports/SkFontMgr_custom.h', | 68 '../include/ports/SkFontMgr_custom.h', |
| 71 '../include/ports/SkFontMgr_fontconfig.h', | 69 '../include/ports/SkFontMgr_fontconfig.h', |
| 72 '../include/ports/SkFontMgr_indirect.h', | 70 '../include/ports/SkFontMgr_indirect.h', |
| 73 '../include/ports/SkRemotableFontMgr.h', | 71 '../include/ports/SkRemotableFontMgr.h', |
| 74 ], | 72 ], |
| 75 'sources/': [ | 73 'sources/': [ |
| 76 ['exclude', 'SkFontMgr_.+_factory\\.cpp$'], | 74 ['exclude', 'SkFontMgr_.+_factory\\.cpp$'], |
| 77 ], | 75 ], |
| 78 'conditions': [ | 76 'conditions': [ |
| 77 [ 'skia_android_framework == 0', { |
| 78 'dependencies': [ 'qcms.gyp:qcms', ], |
| 79 'export_dependent_settings': [ 'qcms.gyp:qcms', ], |
| 80 }], |
| 79 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', { | 81 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
| 80 'sources': [ | 82 'sources': [ |
| 81 '../src/ports/SkFontHost_FreeType.cpp', | 83 '../src/ports/SkFontHost_FreeType.cpp', |
| 82 '../src/ports/SkFontHost_FreeType_common.cpp', | 84 '../src/ports/SkFontHost_FreeType_common.cpp', |
| 83 '../src/ports/SkFontMgr_android.cpp', | 85 '../src/ports/SkFontMgr_android.cpp', |
| 84 '../src/ports/SkFontMgr_android_parser.cpp', | 86 '../src/ports/SkFontMgr_android_parser.cpp', |
| 85 '../src/ports/SkFontMgr_custom.cpp', | 87 '../src/ports/SkFontMgr_custom.cpp', |
| 86 ], | 88 ], |
| 87 'dependencies': [ | 89 'dependencies': [ |
| 88 'freetype.gyp:freetype', | 90 'freetype.gyp:freetype', |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 }], | 217 }], |
| 216 ], | 218 ], |
| 217 'direct_dependent_settings': { | 219 'direct_dependent_settings': { |
| 218 'include_dirs': [ | 220 'include_dirs': [ |
| 219 '../include/ports', | 221 '../include/ports', |
| 220 ], | 222 ], |
| 221 }, | 223 }, |
| 222 }, | 224 }, |
| 223 ], | 225 ], |
| 224 } | 226 } |
| OLD | NEW |