2013-12-03 18:48:33 +00:00
|
|
|
# Copyright (c) 2013 Google Inc. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'happyhttp_lib',
|
|
|
|
'type': 'static_library',
|
|
|
|
'sources': [
|
|
|
|
'src/happyhttp.cpp',
|
|
|
|
'src/happyhttp.h',
|
|
|
|
],
|
2013-12-16 17:13:29 +00:00
|
|
|
'cflags!': [ '-fno-exceptions' ],
|
|
|
|
'cflags_cc!': [ '-fno-exceptions' ],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
],
|
2013-12-03 18:48:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'happyhttp_lib_test',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'src/test.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'happyhttp_lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|