Arquivos
chromium/chrome/third_party/hunspell/hunspell.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

68 linhas
1.8 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.
{
'includes': [
'../../../build/common.gypi',
],
'targets': [
{
'target_name': 'hunspell',
'type': '<(library)',
'dependencies': [
'../../../base/base.gyp:base',
'../../../third_party/icu38/icu38.gyp:icuuc',
],
'defines': [
'HUNSPELL_CHROME_CLIENT',
'OPENOFFICEORG',
],
'sources': [
'google/bdict.h',
'google/bdict_reader.cc',
'google/bdict_reader.h',
'google/bdict_writer.cc',
'google/bdict_writer.h',
'src/hunspell/affentry.cxx',
'src/hunspell/affentry.hxx',
'src/hunspell/affixmgr.cxx',
'src/hunspell/affixmgr.hxx',
'src/hunspell/atypes.hxx',
'src/hunspell/baseaffix.hxx',
'src/hunspell/csutil.cxx',
'src/hunspell/csutil.hxx',
'src/hunspell/dictmgr.cxx',
'src/hunspell/dictmgr.hxx',
'src/hunspell/hashmgr.cxx',
'src/hunspell/hashmgr.hxx',
'src/hunspell/htypes.hxx',
'src/hunspell/hunspell.cxx',
'src/hunspell/hunspell.h',
'src/hunspell/hunspell.hxx',
'src/hunspell/langnum.hxx',
'src/hunspell/suggestmgr.cxx',
'src/hunspell/suggestmgr.hxx',
'src/hunspell/utf_info.hxx',
'src/parsers/textparser.cxx',
'src/parsers/textparser.hxx',
],
'direct_dependent_settings': {
'defines': [
'HUNSPELL_CHROME_CLIENT',
'USE_HUNSPELL',
],
},
'conditions': [
['OS=="linux"', {
'cflags': [
'-Wno-unused-value',
'-Wno-unused-variable',
'-Wno-write-strings',
],
}],
],
},
],
}