blob: 38d053ce09c60f50ea9007c4f476f222fb547929 [file] [log] [blame]
# Copyright (c) 2011 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',
],
'variables': {
'common_sources': [
'gio.c',
'gprintf.c',
],
},
'targets': [
{
'target_name': 'gio',
'type': 'static_library',
# tls_edit relies on gio which is always built for the host platform.
'toolsets': ['host', 'target'],
'sources': [
'<@(common_sources)',
],
},
{
'target_name': 'gio_lib',
'type': 'none',
'variables': {
'nlib_target': 'libgio.a',
'nso_target': 'libgio.so',
'build_glibc': 1,
'build_newlib': 1,
'build_pnacl_newlib': 1,
'build_irt': 1,
'build_nonsfi_helper': 1,
'sources': ['<@(common_sources)']
},
},
],
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'gio64',
'type': 'static_library',
'sources': [
'<@(common_sources)',
],
'variables': {
'win_target': 'x64',
},
}
],
}],
],
}