| 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 # Target for building freetype. | 5 # Target for building freetype. |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'freetype', | 9 'target_name': 'freetype', |
| 10 'type': 'none', | 10 'type': 'none', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', | 26 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', |
| 27 'SK_CAN_USE_DLOPEN=0', | 27 'SK_CAN_USE_DLOPEN=0', |
| 28 ], | 28 ], |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 ] | 31 ] |
| 32 ], | 32 ], |
| 33 }, { # (not skia_freetype_static) | 33 }, { # (not skia_freetype_static) |
| 34 # dynamic linking depends on the OS: | 34 # dynamic linking depends on the OS: |
| 35 'conditions': [ | 35 'conditions': [ |
| 36 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos
"]', | 36 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', |
| 37 { | 37 { |
| 38 'direct_dependent_settings': { | 38 'direct_dependent_settings': { |
| 39 'include_dirs' : [ | 39 'include_dirs' : [ |
| 40 '/usr/include/freetype2', | 40 '/usr/include/freetype2', |
| 41 ], | 41 ], |
| 42 'link_settings': { | 42 'link_settings': { |
| 43 'libraries': [ | 43 'libraries': [ |
| 44 '-lfreetype', | 44 '-lfreetype', |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 }], | 104 }], |
| 105 [ 'skia_clang_build == 1', { | 105 [ 'skia_clang_build == 1', { |
| 106 'cflags':[ | 106 'cflags':[ |
| 107 '-w', | 107 '-w', |
| 108 ], | 108 ], |
| 109 }], | 109 }], |
| 110 ], | 110 ], |
| 111 }, | 111 }, |
| 112 ], | 112 ], |
| 113 } | 113 } |
| OLD | NEW |