Arquivos
chromium/third_party/harfbuzz/harfbuzz.gyp
T
sgk@google.com 0cde7e2694 Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:
parameterize the 'type' setting of the various library targets, with a
default of 'static_library'.
(Hat tip to Craig Schlenter.)
Review URL: http://codereview.chromium.org/62127

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13345 0039d316-1c4b-4281-b951-d872f2087c98
2009-04-08 12:55:49 +00:00

70 linhas
1.6 KiB
Python

# Copyright (c) 2009 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.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../../build/common.gypi',
],
'targets': [
{
'target_name': 'harfbuzz',
'type': '<(library)',
'sources': [
'src/harfbuzz-buffer.c',
'src/harfbuzz-stream.c',
'src/harfbuzz-dump.c',
'src/harfbuzz-gdef.c',
'src/harfbuzz-gpos.c',
'src/harfbuzz-gsub.c',
'src/harfbuzz-impl.c',
'src/harfbuzz-open.c',
'src/harfbuzz-shaper.cpp',
'src/harfbuzz-tibetan.c',
'src/harfbuzz-khmer.c',
'src/harfbuzz-indic.cpp',
'src/harfbuzz-hebrew.c',
'src/harfbuzz-arabic.c',
'src/harfbuzz-hangul.c',
'src/harfbuzz-myanmar.c',
'src/harfbuzz-thai.c',
],
'include_dirs': [
'src',
],
'direct_dependent_settings': {
'include_dirs': [
'src',
],
},
'dependencies': [
'../../build/linux/system.gyp:freetype2',
],
},
{
'target_name': 'harfbuzz_interface',
'type': '<(library)',
'sources': [
'contrib/harfbuzz-freetype.c',
'contrib/harfbuzz-unicode.c',
'contrib/harfbuzz-unicode-tables.c',
],
'include_dirs': [
'src',
'contrib',
],
'direct_dependent_settings': {
'include_dirs': [
'contrib',
],
},
'dependencies': [
'../../build/linux/system.gyp:freetype2',
],
},
],
}