1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 { 6 'includes': [ 7 '../../build/win_precompile.gypi', 8 ], 9 'targets': [ 10 { 11 'target_name': 'harfbuzz-ng', 12 'type': 'static_library', 13 'defines': [ 14 'HAVE_OT', 15 'HAVE_ICU', 16 'HB_NO_MT', 17 ], 18 'sources': [ 19 'src/hb-atomic-private.hh', 20 'src/hb-blob.cc', 21 'src/hb-blob.h', 22 'src/hb-buffer-deserialize-json.hh', 23 'src/hb-buffer-deserialize-text.hh', 24 'src/hb-buffer-private.hh', 25 'src/hb-buffer-serialize.cc', 26 'src/hb-buffer.cc', 27 'src/hb-buffer.h', 28 'src/hb-cache-private.hh', 29 'src/hb-common.cc', 30 'src/hb-common.h', 31 'src/hb-deprecated.h', 32 'src/hb-face-private.hh', 33 'src/hb-face.cc', 34 'src/hb-face.h', 35 'src/hb-fallback-shape.cc', 36 'src/hb-font-private.hh', 37 'src/hb-font.cc', 38 'src/hb-font.h', 39 'src/hb-icu.cc', 40 'src/hb-icu.h', 41 'src/hb-mutex-private.hh', 42 'src/hb-object-private.hh', 43 'src/hb-open-file-private.hh', 44 'src/hb-open-type-private.hh', 45 'src/hb-ot-head-table.hh', 46 'src/hb-ot-hhea-table.hh', 47 'src/hb-ot-hmtx-table.hh', 48 'src/hb-ot-layout-common-private.hh', 49 'src/hb-ot-layout-gdef-table.hh', 50 'src/hb-ot-layout-gpos-table.hh', 51 'src/hb-ot-layout-gsub-table.hh', 52 'src/hb-ot-layout-gsubgpos-private.hh', 53 'src/hb-ot-layout-private.hh', 54 'src/hb-ot-layout.cc', 55 'src/hb-ot-layout.h', 56 'src/hb-ot-map-private.hh', 57 'src/hb-ot-map.cc', 58 'src/hb-ot-maxp-table.hh', 59 'src/hb-ot-name-table.hh', 60 'src/hb-ot-shape-complex-arabic-fallback.hh', 61 'src/hb-ot-shape-complex-arabic-table.hh', 62 'src/hb-ot-shape-complex-arabic.cc', 63 'src/hb-ot-shape-complex-default.cc', 64 'src/hb-ot-shape-complex-indic-machine.hh', 65 'src/hb-ot-shape-complex-indic-private.hh', 66 'src/hb-ot-shape-complex-indic-table.cc', 67 'src/hb-ot-shape-complex-indic.cc', 68 'src/hb-ot-shape-complex-myanmar-machine.hh', 69 'src/hb-ot-shape-complex-myanmar.cc', 70 'src/hb-ot-shape-complex-private.hh', 71 'src/hb-ot-shape-complex-sea-machine.hh', 72 'src/hb-ot-shape-complex-sea.cc', 73 'src/hb-ot-shape-complex-thai.cc', 74 'src/hb-ot-shape-fallback-private.hh', 75 'src/hb-ot-shape-fallback.cc', 76 'src/hb-ot-shape-normalize-private.hh', 77 'src/hb-ot-shape-normalize.cc', 78 'src/hb-ot-shape-private.hh', 79 'src/hb-ot-shape.cc', 80 'src/hb-ot-tag.cc', 81 'src/hb-ot-tag.h', 82 'src/hb-ot.h', 83 'src/hb-private.hh', 84 'src/hb-set-private.hh', 85 'src/hb-set.cc', 86 'src/hb-set.h', 87 'src/hb-shape-plan-private.hh', 88 'src/hb-shape-plan.cc', 89 'src/hb-shape-plan.h', 90 'src/hb-shape.cc', 91 'src/hb-shape.h', 92 'src/hb-shaper-impl-private.hh', 93 'src/hb-shaper-list.hh', 94 'src/hb-shaper-private.hh', 95 'src/hb-shaper.cc', 96 'src/hb-tt-font.cc', 97 'src/hb-unicode-private.hh', 98 'src/hb-unicode.cc', 99 'src/hb-unicode.h', 100 'src/hb-utf-private.hh', 101 'src/hb-version.h', 102 'src/hb-warning.cc', 103 'src/hb.h', 104 ], 105 'include_dirs': [ 106 'src', 107 ], 108 'direct_dependent_settings': { 109 'include_dirs': [ 110 'src', 111 ], 112 }, 113 'dependencies': [ 114 '../../third_party/icu/icu.gyp:icuuc', 115 ], 116 'conditions': [ 117 ['clang==1', { 118 'xcode_settings': { 119 'WARNING_CFLAGS': [ 120 '-Wno-unused-value', 121 ], 122 }, 123 'cflags': [ 124 '-Wno-unused-value', 125 ] 126 }], 127 ['OS=="win"', { 128 # TODO(eae): C4267 on amd64. size_t -> int, size_t -> unsigned int 129 'msvs_disabled_warnings': [4267, 4334], 130 }], 131 ], 132 }, 133 ], 134 } 135