Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | EXPORTS.protobuf.google.protobuf += [ |
michael@0 | 8 | 'google/protobuf/extension_set.h', |
michael@0 | 9 | 'google/protobuf/generated_message_util.h', |
michael@0 | 10 | 'google/protobuf/message_lite.h', |
michael@0 | 11 | 'google/protobuf/repeated_field.h', |
michael@0 | 12 | 'google/protobuf/wire_format_lite.h', |
michael@0 | 13 | 'google/protobuf/wire_format_lite_inl.h', |
michael@0 | 14 | ] |
michael@0 | 15 | |
michael@0 | 16 | EXPORTS.protobuf.google.protobuf.stubs += [ |
michael@0 | 17 | 'google/protobuf/stubs/common.h', |
michael@0 | 18 | 'google/protobuf/stubs/hash.h', |
michael@0 | 19 | 'google/protobuf/stubs/map-util.h', |
michael@0 | 20 | 'google/protobuf/stubs/once.h', |
michael@0 | 21 | 'google/protobuf/stubs/stl_util-inl.h', |
michael@0 | 22 | ] |
michael@0 | 23 | |
michael@0 | 24 | EXPORTS.protobuf.google.protobuf.io += [ |
michael@0 | 25 | 'google/protobuf/io/coded_stream.h', |
michael@0 | 26 | 'google/protobuf/io/coded_stream_inl.h', |
michael@0 | 27 | 'google/protobuf/io/zero_copy_stream.h', |
michael@0 | 28 | 'google/protobuf/io/zero_copy_stream_impl.h', |
michael@0 | 29 | 'google/protobuf/io/zero_copy_stream_impl_lite.h', |
michael@0 | 30 | 'google/protobuf/package_info.h', |
michael@0 | 31 | ] |
michael@0 | 32 | |
michael@0 | 33 | UNIFIED_SOURCES += [ |
michael@0 | 34 | 'google/protobuf/extension_set.cc', |
michael@0 | 35 | 'google/protobuf/generated_message_util.cc', |
michael@0 | 36 | 'google/protobuf/io/coded_stream.cc', |
michael@0 | 37 | 'google/protobuf/io/zero_copy_stream.cc', |
michael@0 | 38 | 'google/protobuf/io/zero_copy_stream_impl_lite.cc', |
michael@0 | 39 | 'google/protobuf/message_lite.cc', |
michael@0 | 40 | 'google/protobuf/repeated_field.cc', |
michael@0 | 41 | 'google/protobuf/stubs/common.cc', |
michael@0 | 42 | 'google/protobuf/stubs/once.cc', |
michael@0 | 43 | 'google/protobuf/wire_format_lite.cc', |
michael@0 | 44 | ] |
michael@0 | 45 | |
michael@0 | 46 | FINAL_LIBRARY = 'toolkitcomps' |
michael@0 | 47 | |
michael@0 | 48 | DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True |
michael@0 | 49 | |
michael@0 | 50 | # Suppress warnings in third-party code. |
michael@0 | 51 | if CONFIG['GNU_CXX']: |
michael@0 | 52 | CXXFLAGS += [ |
michael@0 | 53 | '-Wno-null-conversion', |
michael@0 | 54 | '-Wno-sign-compare', |
michael@0 | 55 | ] |