# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ '../../build/win_precompile.gypi', ], 'variables': { 'conditions': [ ['OS=="linux" and (buildtype!="Official" or chromeos==1) and embedded==0', { # Since version 1.31.0, pangoft2 which we depend on pulls in harfbuzz # anyways. However, we want to have control of the version of harfbuzz # we use, so don't use system harfbuzz for official builds, unless we # are building for chrome os, where we have the system harfbuzz under # control as well. 'use_system_harfbuzz%': ' int, size_t -> unsigned int 'msvs_disabled_warnings': [4267, 4334], }], ['OS=="mac"', { 'defines': [ 'HAVE_CORETEXT', ], 'sources': [ 'src/hb-coretext.cc', 'src/hb-coretext.h', ], }], ], }, ], }, { # use_system_harfbuzz==1 'targets': [ { 'target_name': 'harfbuzz-ng', 'type': 'none', 'cflags': [ '