2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +00: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/.
|
|
|
|
|
2014-07-10 03:16:00 +00:00
|
|
|
EXPORTS.google.protobuf += [
|
2013-06-26 18:51:06 +00: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 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2014-07-10 03:16:00 +00:00
|
|
|
EXPORTS.google.protobuf.stubs += [
|
2013-06-26 18:51:06 +00: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 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2014-07-10 03:16:00 +00:00
|
|
|
EXPORTS.google.protobuf.io += [
|
2013-06-26 18:51:06 +00: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 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-27 18:43:54 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-03 07:10:00 +00:00
|
|
|
'google/protobuf/extension_set.cc',
|
|
|
|
'google/protobuf/generated_message_util.cc',
|
2013-10-23 23:00:23 +00: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 07:10:00 +00:00
|
|
|
'google/protobuf/message_lite.cc',
|
|
|
|
'google/protobuf/repeated_field.cc',
|
2013-10-23 23:00:23 +00:00
|
|
|
'google/protobuf/stubs/common.cc',
|
|
|
|
'google/protobuf/stubs/once.cc',
|
2013-10-03 07:10:00 +00:00
|
|
|
'google/protobuf/wire_format_lite.cc',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-03-04 02:58:37 +00:00
|
|
|
|
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
2014-03-16 06:25:55 +00:00
|
|
|
|
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-null-conversion',
|
|
|
|
'-Wno-sign-compare',
|
|
|
|
]
|
2014-06-19 18:42:00 +00:00
|
|
|
elif CONFIG['_MSC_VER']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-wd4099', # mismatched class/struct tags
|
|
|
|
]
|