| OLD | NEW |
| 1 { | 1 { |
| 2 'targets': [ | 2 'targets': [ |
| 3 { | 3 { |
| 4 'target_name': 'freetype', | 4 'target_name': 'freetype', |
| 5 'type': 'none', | 5 'type': 'none', |
| 6 'conditions': [ | 6 'conditions': [ |
| 7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 7 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 8 'direct_dependent_settings': { | 8 'direct_dependent_settings': { |
| 9 'include_dirs' : [ | 9 'include_dirs' : [ |
| 10 '/usr/include/freetype2', | 10 '/usr/include/freetype2', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 'freetype_static' | 29 'freetype_static' |
| 30 ], | 30 ], |
| 31 'direct_dependent_settings': { | 31 'direct_dependent_settings': { |
| 32 'defines': [ | 32 'defines': [ |
| 33 # Both Android and NaCl provide at least FreeType 2.4.0 | 33 # Both Android and NaCl provide at least FreeType 2.4.0 |
| 34 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', | 34 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', |
| 35 'SK_CAN_USE_DLOPEN=0', | 35 'SK_CAN_USE_DLOPEN=0', |
| 36 ], | 36 ], |
| 37 }, | 37 }, |
| 38 }], | 38 }], |
| 39 [ 'skia_android_framework', { |
| 40 'include_dirs': [ |
| 41 'external/expat/lib', |
| 42 'external/freetype/include', |
| 43 ], |
| 44 'libraries': [ |
| 45 '-lft2', |
| 46 ], |
| 47 # Remove these, and use the system's freetype instead. |
| 48 'dependencies!': [ |
| 49 'freetype_static', |
| 50 ], |
| 51 'export_dependent_settings!': [ |
| 52 'freetype_static', |
| 53 ] |
| 54 }], |
| 39 ], | 55 ], |
| 40 }, | 56 }, |
| 41 { | 57 { |
| 42 'target_name': 'freetype_static', | 58 'target_name': 'freetype_static', |
| 43 'type': 'static_library', | 59 'type': 'static_library', |
| 44 'standalone_static_library': 1, | 60 'standalone_static_library': 1, |
| 45 'dependencies': [ | 61 'dependencies': [ |
| 46 # we are dependent upon PNG for color emoji glyphs | 62 # we are dependent upon PNG for color emoji glyphs |
| 47 'images.gyp:images' | 63 'images.gyp:images' |
| 48 ], | 64 ], |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 '../third_party/externals/freetype/src/type1/type1.c', | 111 '../third_party/externals/freetype/src/type1/type1.c', |
| 96 '../third_party/externals/freetype/src/type42/type42.c', | 112 '../third_party/externals/freetype/src/type42/type42.c', |
| 97 '../third_party/externals/freetype/src/winfonts/winfnt.c', | 113 '../third_party/externals/freetype/src/winfonts/winfnt.c', |
| 98 | 114 |
| 99 '../third_party/externals/freetype/src/gzip/ftgzip.c', | 115 '../third_party/externals/freetype/src/gzip/ftgzip.c', |
| 100 '../third_party/externals/freetype/src/lzw/ftlzw.c', | 116 '../third_party/externals/freetype/src/lzw/ftlzw.c', |
| 101 ], | 117 ], |
| 102 }, | 118 }, |
| 103 ], | 119 ], |
| 104 } | 120 } |
| OLD | NEW |