| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ], | 89 ], |
| 90 'conditions': [ | 90 'conditions': [ |
| 91 [ 'skia_os == "android"', { | 91 [ 'skia_android_framework', { |
| 92 'dependencies': [ | 92 'link_settings': { 'libraries': [ '-lexpat' ] }, |
| 93 'android_deps.gyp:expat', | |
| 94 ], | |
| 95 }, { | 93 }, { |
| 96 'link_settings': { | 94 'link_settings': { 'libraries': [ '-ldl' ] }, |
| 97 'libraries': [ | 95 'dependencies': [ 'expat.gyp:expat' ], |
| 98 '-ldl', | |
| 99 '-lexpat', | |
| 100 ], | |
| 101 }, | |
| 102 }], | 96 }], |
| 103 [ 'skia_embedded_fonts', { | 97 [ 'skia_embedded_fonts', { |
| 104 'variables': { | 98 'variables': { |
| 105 'embedded_font_data_identifier': 'sk_fonts', | 99 'embedded_font_data_identifier': 'sk_fonts', |
| 106 'fonts_to_include': [ | 100 'fonts_to_include': [ |
| 107 '../resources/fonts/Funkster.ttf', | 101 '../resources/fonts/Funkster.ttf', |
| 108 ], | 102 ], |
| 109 }, | 103 }, |
| 110 'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_f
actory.cpp']], | 104 'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_f
actory.cpp']], |
| 111 'actions': [{ | 105 'actions': [{ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 }], | 208 }], |
| 215 ], | 209 ], |
| 216 'direct_dependent_settings': { | 210 'direct_dependent_settings': { |
| 217 'include_dirs': [ | 211 'include_dirs': [ |
| 218 '../include/ports', | 212 '../include/ports', |
| 219 ], | 213 ], |
| 220 }, | 214 }, |
| 221 }, | 215 }, |
| 222 ], | 216 ], |
| 223 } | 217 } |
| OLD | NEW |