| 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', |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', { | 79 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
| 80 'sources': [ | 80 'sources': [ |
| 81 '../src/ports/SkFontHost_FreeType.cpp', | 81 '../src/ports/SkFontHost_FreeType.cpp', |
| 82 '../src/ports/SkFontHost_FreeType_common.cpp', | 82 '../src/ports/SkFontHost_FreeType_common.cpp', |
| 83 '../src/ports/SkFontMgr_android.cpp', | 83 '../src/ports/SkFontMgr_android.cpp', |
| 84 '../src/ports/SkFontMgr_android_parser.cpp', | 84 '../src/ports/SkFontMgr_android_parser.cpp', |
| 85 '../src/ports/SkFontMgr_custom.cpp', | 85 '../src/ports/SkFontMgr_custom.cpp', |
| 86 ], | 86 ], |
| 87 'dependencies': [ | 87 'dependencies': [ |
| 88 'freetype.gyp:freetype', | 88 'freetype.gyp:freetype', |
| 89 'expat.gyp:expat', |
| 89 ], | 90 ], |
| 90 'conditions': [ | 91 'conditions': [ |
| 91 [ 'skia_android_framework', { | 92 [ 'skia_android_framework == 0', { |
| 92 'link_settings': { 'libraries': [ '-lexpat' ] }, | |
| 93 }, { | |
| 94 'link_settings': { 'libraries': [ '-ldl' ] }, | 93 'link_settings': { 'libraries': [ '-ldl' ] }, |
| 95 'dependencies': [ 'expat.gyp:expat' ], | |
| 96 }], | 94 }], |
| 97 [ 'skia_embedded_fonts', { | 95 [ 'skia_embedded_fonts', { |
| 98 'variables': { | 96 'variables': { |
| 99 'embedded_font_data_identifier': 'sk_fonts', | 97 'embedded_font_data_identifier': 'sk_fonts', |
| 100 'fonts_to_include': [ | 98 'fonts_to_include': [ |
| 101 '../resources/fonts/Funkster.ttf', | 99 '../resources/fonts/Funkster.ttf', |
| 102 ], | 100 ], |
| 103 }, | 101 }, |
| 104 'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_f
actory.cpp']], | 102 'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_f
actory.cpp']], |
| 105 'actions': [{ | 103 'actions': [{ |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 }], | 215 }], |
| 218 ], | 216 ], |
| 219 'direct_dependent_settings': { | 217 'direct_dependent_settings': { |
| 220 'include_dirs': [ | 218 'include_dirs': [ |
| 221 '../include/ports', | 219 '../include/ports', |
| 222 ], | 220 ], |
| 223 }, | 221 }, |
| 224 }, | 222 }, |
| 225 ], | 223 ], |
| 226 } | 224 } |
| OLD | NEW |