2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:19:09 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.protobuf.google.protobuf += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'google/protobuf/extension_set.h',
|
|
|
|
'google/protobuf/generated_message_util.h',
|
|
|
|
'google/protobuf/message_lite.h',
|
|
|
|
'google/protobuf/repeated_field.h',
|
|
|
|
'google/protobuf/wire_format_lite.h',
|
|
|
|
'google/protobuf/wire_format_lite_inl.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.protobuf.google.protobuf.stubs += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'google/protobuf/stubs/common.h',
|
|
|
|
'google/protobuf/stubs/hash.h',
|
|
|
|
'google/protobuf/stubs/map-util.h',
|
|
|
|
'google/protobuf/stubs/once.h',
|
|
|
|
'google/protobuf/stubs/stl_util-inl.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.protobuf.google.protobuf.io += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'google/protobuf/io/coded_stream.h',
|
|
|
|
'google/protobuf/io/coded_stream_inl.h',
|
|
|
|
'google/protobuf/io/zero_copy_stream.h',
|
|
|
|
'google/protobuf/io/zero_copy_stream_impl.h',
|
|
|
|
'google/protobuf/io/zero_copy_stream_impl_lite.h',
|
|
|
|
'google/protobuf/package_info.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-27 22:43:54 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-03 11:10:00 +04:00
|
|
|
'google/protobuf/extension_set.cc',
|
|
|
|
'google/protobuf/generated_message_util.cc',
|
2013-10-24 03:00:23 +04:00
|
|
|
'google/protobuf/io/coded_stream.cc',
|
|
|
|
'google/protobuf/io/zero_copy_stream.cc',
|
|
|
|
'google/protobuf/io/zero_copy_stream_impl_lite.cc',
|
2013-10-03 11:10:00 +04:00
|
|
|
'google/protobuf/message_lite.cc',
|
|
|
|
'google/protobuf/repeated_field.cc',
|
2013-10-24 03:00:23 +04:00
|
|
|
'google/protobuf/stubs/common.cc',
|
|
|
|
'google/protobuf/stubs/once.cc',
|
2013-10-03 11:10:00 +04:00
|
|
|
'google/protobuf/wire_format_lite.cc',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'toolkitcomps'
|
2014-03-04 06:58:37 +04:00
|
|
|
|
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
2014-03-16 10:25:55 +04:00
|
|
|
|
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-null-conversion',
|
|
|
|
'-Wno-sign-compare',
|
|
|
|
]
|
2014-06-19 22:42:00 +04:00
|
|
|
elif CONFIG['_MSC_VER']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-wd4099', # mismatched class/struct tags
|
|
|
|
]
|